Bug 72416 - Patch to fix - Gnome sessions cannot access gconf settings after setting locale
Bug#: 72416 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: critical Priority: P1
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: mmacleod@ieee.org
Component: GNOME
URL: 
Summary: Patch to fix - Gnome sessions cannot access gconf settings after setting locale
Keywords:  
Status Whiteboard: 
Opened: 2004-11-24 20:49 0000
Description:   Opened: 2004-11-24 20:49 0000
See <a href="http://bugzilla.gnome.org/show_bug.cgi?id=152175>Gnome Bug
152175</a>:

"When current locale is before the C one in the schema file, defaults are not
read. This is because the new change to store defaults only in the C locale.
The Markup code stop reading the scehma file if a matching locale has been
found. Normally C locale is on the top of the file, but some intltools are
creating this file in alphabetical order."



Reproducible: Didn't try
Steps to Reproduce:
1. Export LANG as documented in <a
href="http://www.gentoo.org/doc/en/guide-localization.xml">Gentoo Linux
Localization Guide</a>
2. Try to load a Gnome session


Actual Results:  
Produces several errors regarding inability to open the gconf database. Happens
with both root and normal user (existing and new) accounts, but not with the
Gnome failsafe session.

Expected Results:  
Gnome should load normally.

A patch for this problem is provided at the link above, and I will attach it as
well. I manually installed the ebuild, applying the patch before the build
stage, and it works perfectly. It's already committed to Gnome CVS, but this
can
cause pretty major bustage for localized users and it would be nice to get it
fixed soon, rather than wait for the next Gnome update.

------- Comment #1 From Matt MacLeod 2004-11-24 20:51:49 0000 -------
Created an attachment (id=44693) [details]
Fixes the offending if statement

------- Comment #2 From Mike Gardiner (RETIRED) 2004-11-28 23:17:30 0000 -------
Thanks very much Matt, I've applied this to the 2.8.1-r1 ebuild, which we'll
aim to get stable as soon as possible.

------- Comment #3 From foser (RETIRED) 2004-11-29 07:00:43 0000 -------
*** Bug 71507 has been marked as a duplicate of this bug. ***