Bug 771973 - Using gnome-control-center's feature to set the locale and keyboard layout systemwide breaks the boot / xorg
Summary: Using gnome-control-center's feature to set the locale and keyboard layout sy...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 16
Hardware: i386
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 14:53 UTC by Jean-François Fortin Tam
Modified: 2013-01-26 05:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-26 05:44:01 UTC
Type: ---


Attachments (Terms of Use)
xorg log (27.91 KB, text/x-log)
2012-01-05 14:53 UTC, Jean-François Fortin Tam
no flags Details
faulty xorg conf file (248 bytes, text/plain)
2012-01-05 14:55 UTC, Jean-François Fortin Tam
no flags Details
screenshot (38.42 KB, image/png)
2012-01-05 14:56 UTC, Jean-François Fortin Tam
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.