Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72416 - Patch to fix - Gnome sessions cannot access gconf settings after setting locale
Summary: Patch to fix - Gnome sessions cannot access gconf settings after setting locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 71507 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-24 20:49 UTC by Matt MacLeod
Modified: 2004-11-29 07:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes the offending if statement (markup-tree-patch,1.20 KB, patch)
2004-11-24 20:51 UTC, Matt MacLeod
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt MacLeod 2004-11-24 20:49:18 UTC
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 Matt MacLeod 2004-11-24 20:51:49 UTC
Created attachment 44693 [details, diff]
Fixes the offending if statement
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-11-28 23:17:30 UTC
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 foser (RETIRED) gentoo-dev 2004-11-29 07:00:43 UTC
*** Bug 71507 has been marked as a duplicate of this bug. ***