Bug 771973

Summary: Using gnome-control-center's feature to set the locale and keyboard layout systemwide breaks the boot / xorg
Product: [Fedora] Fedora Reporter: Jean-François Fortin Tam <nekohayo>
Component: gnome-settings-daemonAssignee: Bastien Nocera <bnocera>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: bnocera, duffy, mkasik, rstrode, tiagomatos, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-26 05:44:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
xorg log
none
faulty xorg conf file
none
screenshot none

Description Jean-François Fortin Tam 2012-01-05 14:53:55 UTC
Created attachment 550934 [details]
xorg log

Yesterday my Fedora 16 machine would seemingly not boot: the boot would start with plymouth and then sit there on a black screen. Turns out that gdm couldn't start anymore. Manually running "startx" as my normal user, I would be in the fallback gnome3 session instead of a normal session.

Turns out that Xorg was broken. The attached log gives a hint as to why: it was choking on trying to parse the keyboard layout (although the log kinda made it seem like the error was non-fatal).

I will also attach the faulty keyboard layout file that was found in the xorg.conf.d directory.

The cause of all this is the "Copy settings..." button in gnome-control-center's "Region and Language" preferences. I am using the "Canada (French)" locale with the "French (Canada, Dvorak)" keyboard layout, but I also have two other keyboard layouts alongside it for other people to be able to use my computer when debugging at hackfests.

It seems that gnome-control-center generates invalid xorg conf files, causing the whole graphical experience to break down.

Comment 1 Jean-François Fortin Tam 2012-01-05 14:55:44 UTC
Created attachment 550935 [details]
faulty xorg conf file

Comment 2 Jean-François Fortin Tam 2012-01-05 14:56:08 UTC
Created attachment 550936 [details]
screenshot

Comment 3 Vratislav Podzimek 2012-06-06 08:04:15 UTC
(In reply to comment #1)
> Created attachment 550935 [details]
> faulty xorg conf file
The problem with this xorg conf file is, that XkbLayouts and XkbVariants has to be specified separately in the lists with matching positions. See http://vpodzime.fedorapeople.org/01-anaconda-keyboard.conf for the example ('us' and 'cz (qwerty)' layouts are specified there.

Comment 4 Fedora End Of Life 2013-01-16 12:10:28 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Rui Matos 2013-01-25 17:34:46 UTC
This should be fixed in F18, FWIW.

Comment 6 Jean-François Fortin Tam 2013-01-26 05:44:01 UTC
Ah yes, forgot to close this.