[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
I had issue also gconf-sanity-check-2 exited with status 256 problem was wrong /tmp directory permissions (for some reason wasn't drwxrwxrwxt and owner wasn't root.root) -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
I also still have this issue. here's my setup: m...@hobbes:~$ ls -l /etc/gconf/ total 20 drwxr-xr-x 2 root root 4096 2009-07-19 14:38 2 drwxr-xr-x 2 root root 4096 2009-04-23 18:15 gconf.xml.defaults drwxr-xr-x 2 root root 4096 2006-10-25 15:31 gconf.xml.mandatory drwxr-xr-x 2 root root 4096 2008-09-11 14:38 gconf.xml.system drwxr-xr-x 2 root root 4096 2009-04-18 10:28 schemas m...@hobbes:~$ dpkg -l gconf* Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements |/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: majuscule=mauvais) ||/ NomVersionDescription +++-==-==- ii gconf-defaults-service 2.26.2-1ubuntu1GNOME configuration database system (system defaults service ii gconf-editor 2.26.0-1ubuntu1An editor for the GConf configuration system ii gconf2 2.26.2-1ubuntu1GNOME configuration database system (support tools) ii gconf2-common 2.26.2-1ubuntu1GNOME configuration database system (common files) -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
Able to reproduce the in Karmic Alpha 2 (gconftool-2:6270): GConf-WARNING **: Failed to load source xml:readonly:/etc/gconf/gconf.xml.system: Failed: Could not make directory `/etc/gconf/gconf.xml.system': Permission denied -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
This bug was fixed in the package gconf - 2.26.2-0ubuntu2 --- gconf (2.26.2-0ubuntu2) karmic; urgency=low * Fix LP: #383461 by correcting references to gconf.xml.system: * debian/gconf2-common.dirs: - Add /etc/gconf/gconf.xml.system. Since we reference it in default.path, we ought to create it * debian/gconf2-common.postinst: - Fix the permissions on gconf.xml.system for anyone that upgraded to a buggy version of gconf * debian/patches/02_gconf2-pk-default-path.patch: - Change another instance of gconf.xml.system to gconf.xml.defaults -- Michael Terry michael.te...@canonical.com Fri, 12 Jun 2009 10:00:38 -0400 ** Changed in: gconf (Ubuntu) Status: Confirmed = Fix Released -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
This is because a line in gconfd still references that directory. Whenever it receives a org.gnome.GConf.Default.SystemSet signal, it notifies listeners of that directory that it changed. But when it does so, if the directory is missing, it creates it with 0700 permissions (i.e. drwx--). So two things are wrong there: (1) It should be referencing gconf.xml.defaults not .system and (2) it *seems* like it should be creating the directory with 0755 permissions. But issue (2) is moot if we fix (1). Still might be worth an upstream bug though. Additionally, we should probably now add a line to the packaging fixing this issue for people that upgraded to Karmic by fixing the permissions on that directory. Also, the package should own/create that directory, since gconf-sanity-check doesn't like the directory to be missing if we're going to add it to our default path (as we do). ** Changed in: gconf (Ubuntu) Status: Confirmed = In Progress ** Changed in: gconf (Ubuntu) Assignee: (unassigned) = Michael Terry (mterry) -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
Here's a patch that does 3 things: 1) Fixes the directory permissions for anyone upgrading from the broken version 2) Creates the directory if it doesn't exist 3) Fix the reference in code from xml.system to xml.defaults ** Branch linked: lp:~mterry/gconf/fix-xml-system-383461 ** Attachment added: gconf-fix-xml-system.debdiff http://launchpadlibrarian.net/27823176/gconf-fix-xml-system.debdiff -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
Oh, and there's also a bzr branch for the fix. ** Changed in: gconf (Ubuntu) Status: In Progress = Confirmed ** Changed in: gconf (Ubuntu) Assignee: Michael Terry (mterry) = (unassigned) -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
Thank you for your work there ** Changed in: gconf (Ubuntu) Importance: Undecided = Low ** Changed in: gconf (Ubuntu) Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
** Description changed: Binary package hint: libgconf2-4 This is against Karmic Alpha 1. After upgrading and rebooting, when Xorg started (via gdm), I got an error dialog /usr/lib/libgconf2-4/gconf-sanity-check-2 exited with code 256 to which I clicked the Close button. Display manager failed to start (compiz), with some wierd error. Running gconf-sanity-check-2 from a terminal complained that the configuration was in use, but I - continued and it gave a error permission denied: - /etc/gconf/gconf.xml.system... ah hah. + continued and it gave an error permission denied: + /etc/gconf/gconf.xml.system... aha... $ l -d /etc/gconf/* drwxr-xr-x 2 root root 4096 Mar 25 2006 /etc/gconf/gconf.xml.mandatory drwxr-xr-x 2 root root 4096 Apr 25 11:14 /etc/gconf/gconf.xml.defaults drwxr-xr-x 2 root root 4096 Jun 3 21:27 /etc/gconf/2 drwxr-xr-x 2 root root 4096 Jun 3 21:27 /etc/gconf/schemas drwx-- 2 root root 4096 Jun 3 23:06 /etc/gconf/gconf.xml.system Doing this fixed it. $ sudo chmod go+rx /etc/gconf/gconf.xml.system Stopping and starting gdm and then logging in, everything seems fine. So, I'm guessing there is a packaging issue with wrong permissions on that directory when libgconf2-4 is installed/upgraded. -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
I get the same error dialog during start. But when I run gconf-sanity- check-2 from a terminal I get no output and it exits with code 0. -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
@Michael: I got the same when trying that after I was logged in. Try it when you're on the gdm screen and change into a tty (Ctrl+Alt+F1 for example) and rund the sanity check there. My guess for the exit code 0 is that the sanity check doesn't work anymore after gconf is loaded on login. -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 383461] Re: gconf-sanity-check-2 exits with code 256 on Xorg start
I had the same problem after upgrading from jaunty to karmic alpha 1 and added a comment on bug 380234 for this. But I'm not sure if the issues described there are exactly the same as the issue described here so I won't mark it as a duplicate. Instead I marked bug 383434 as a duplicate of this bug since this bug contains more information about the issue. ** Changed in: gconf (Ubuntu) Status: New = Confirmed -- gconf-sanity-check-2 exits with code 256 on Xorg start https://bugs.launchpad.net/bugs/383461 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gconf in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs