Bug 19761

Summary: Xorg fails to start unless /etc/X11/xorg.conf.d/00-keyboard.conf is moved away.
Product: Mageia Reporter: Otto Leipälä <ottoleipala1>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: mageia, makowski.mageia, marja11, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakx-kbd-mouse-x11 CVE:
Status comment:
Attachments: Keyboard config file
Xorg.0.log
Mageia 5 keyboard file

Description Otto Leipälä 2016-11-11 21:41:42 CET
Try boot system xorg/display manager refuse to start cause is /etc/X11/xorg.conf.d/00-keyboard.conf moving it to .bak it start to work again.
Comment 1 Otto Leipälä 2016-11-11 21:42:56 CET
Created attachment 8647 [details]
Keyboard config file
Comment 2 Otto Leipälä 2016-11-11 21:48:39 CET
Created attachment 8648 [details]
Xorg.0.log
Comment 3 Otto Leipälä 2016-11-12 09:18:36 CET
Created attachment 8653 [details]
Mageia 5 keyboard file

Here is Mageia 5 kde live dvd keyboard file it have totally different syntax there is no \n  character seems to be the problem.
Comment 4 Marja Van Waes 2016-11-12 10:22:18 CET
(In reply to Otto Leipälä from comment #0)
> Try boot system xorg/display manager refuse to start cause is
> /etc/X11/xorg.conf.d/00-keyboard.conf moving it to .bak it start to work
> again.

(In reply to Otto Leipälä from comment #3)
> Created attachment 8653 [details]
> Mageia 5 keyboard file
> 
> Here is Mageia 5 kde live dvd keyboard file it have totally different syntax
> there is no \n  character seems to be the problem.

/etc/X11/xorg.conf.d/00-keyboard.conf comes from systemd.

I have an \n at the end of /etc/X11/xorg.conf.d/00-keyboard.conf, too, here. That doesn't give a problem, but maybe that's because I removed /etc/X11/xorg.conf.

CC: (none) => mageia, marja11, thierry.vignaud, tmb
Assignee: bugsquad => mageia
Summary: Xorg fails to start => Xorg fails to start unless /etc/X11/xorg.conf.d/00-keyboard.conf is moved away.
Source RPM: (none) => systemd

Comment 5 Otto Leipälä 2016-11-12 11:35:08 CET
Did you do it only in Mga5 as this my problem is only in Cauldron. Some update broked it few days ago.
Comment 6 Otto Leipälä 2016-11-12 12:43:57 CET
(In reply to Marja van Waes from comment #4)
> (In reply to Otto Leipälä from comment #0)
> > Try boot system xorg/display manager refuse to start cause is
> > /etc/X11/xorg.conf.d/00-keyboard.conf moving it to .bak it start to work
> > again.
> 
> (In reply to Otto Leipälä from comment #3)
> > Created attachment 8653 [details]
> > Mageia 5 keyboard file
> > 
> > Here is Mageia 5 kde live dvd keyboard file it have totally different syntax
> > there is no \n  character seems to be the problem.
> 
> /etc/X11/xorg.conf.d/00-keyboard.conf comes from systemd.
> 
> I have an \n at the end of /etc/X11/xorg.conf.d/00-keyboard.conf, too, here.
> That doesn't give a problem, but maybe that's because I removed
> /etc/X11/xorg.conf.

Marja this look that xorg.0.log from my Cauldron log it have this error.

"\n" is not a valid keyword in this section.
Comment 7 Marja Van Waes 2016-11-12 13:08:50 CET
Sorry, I hadn't looked well at the attachment.

"\n" should be invisible.... now it has both some invisible "\n"s (where a newline is started) and weird visible "\n"s

I don't have that here, neither in the cauldron where I had removed xorg.conf, nor in a cauldron where I hadn't

What is the timestamp of /etc/X11/xorg.conf.d/00-keyboard.conf.bak ? (I think it kept its original time stamp)
Comment 8 Otto Leipälä 2016-11-12 15:11:15 CET
Here it is it may be bit wrongly as i made some test and moved it back and to .bak again.

12.11.2016 10:51
Thierry Vignaud 2016-11-12 21:30:04 CET

Assignee: mageia => thierry.vignaud
Source RPM: systemd => drakx-kbd-mouse-x11

Comment 9 Mageia Robot 2016-11-12 21:36:28 CET
commit 08ec125f51beb355f761c35ddafdd068570c259c
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sat Nov 12 21:31:41 2016 +0100

    fix generating 00-keyboard.conf (mga#19761)
    
    newlines in /etc/X11/xorg.conf.d/00-keyboard.conf were garbled since
    commit f959a5b33a4da88c0965c5955af7eef3d059737d
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx-kbd-mouse-x11/commit/?id=08ec125f51beb355f761c35ddafdd068570c259c
Comment 10 Thierry Vignaud 2016-11-12 21:38:13 CET
Fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 11 Otto Leipälä 2016-11-12 21:57:43 CET
Thanks thierry nice to get it so fast fixed.
Comment 12 Marja Van Waes 2016-11-12 22:46:17 CET
*** Bug 19767 has been marked as a duplicate of this bug. ***

CC: (none) => makowski.mageia