Bug 842844 - gdm refuses to start after F15->F17 upgrade
Summary: gdm refuses to start after F15->F17 upgrade
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 17
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-24 17:46 UTC by Michal Jaegermann
Modified: 2012-08-02 17:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-31 00:45:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2012-07-24 17:46:10 UTC
Description of problem:

After upgrade of a working installation of Fedora 15 to Fedora 17 gdm attempts to start six times blinking a screen and gives up.  Log files in /var/log/gdm all look in principle the same. In :N-greeter.log one finds something like this:

gnome-session[1384]: ERROR: Unable to open '/etc/dconf/db/gdm', specified in dconf profile

aborting...

In :N-slave.log

gdm-welcome][1380]: pam_unix(gdm-welcome:session): session opened for user gdm by (uid=0)
gdm-welcome][1380]: pam_unix(gdm-welcome:session): session closed for user gdm
gdm-simple-slave[1359]: WARNING: Child process 1384 was already dead.

and :N.log shows that X server starts and is immediately shut down by gdm
with a log file terminated by:

Server terminated successfully (0). Closing log file.

Mysterious "/etc/dconf/db/gdm" indeed does not exist although gdm supplies
/etc/dconf/db/gdm.d directory. Probably /etc/dconf/profile/gdm is that "dconf profile" which is causing ERROR above and it contains:

user
gdm

lines - whatever that may mean.

Forcing selinux relabelling does not change anything.  It is possible to start X server by itself with 'startx' and after a looong struggle this brings up some kind of a very slow desktop for root.  Now what???

Version-Release number of selected component (if applicable):
gdm-3.4.1-3.fc17.x86_64

Comment 1 Michal Jaegermann 2012-07-31 00:45:15 UTC
Here what was the problem.  Anaconda bailed out on me in the middle of an upgrade because of an error in a "preun" scriptlet in an emacs package just about to be replaced.  That left me with a massive cleanup job on a system which was already too far gone from the original but not enough to work somehow as an upgrade (in particular 'package-cleanup --cleandupes' was failing due to broken/breaking dependencies and required a gueswork and a "manual help").  As a result after a recovery "posttrans" were NOT run and in particular 'dconf update' from gdm package scripts was skipped.  That one happens to create that missing
/etc/dconf/db/gdm binary file.

Still it would be nice in a response to my original bug report to get a hint that possibly 'dconf update' was not executed instead of leaving me to my own devices.

Regardless - in my opinion this is buggy and getting buggier as this whole heap becomes more and more complicated and fragile.  A misguided push to binary configuration files with mysterious functionality just repeats very old errors.

Comment 2 Ray Strode [halfline] 2012-08-02 17:34:09 UTC
sorry, didn't see the original message go by until now.

Comment 3 Ray Strode [halfline] 2012-08-02 17:40:17 UTC
FWIW, the author of dconf doesn't like that we're using dconf for lockdown either.  He'd rather each component in a GDM session notice it's running in a locked down session and do the appropriate lock down on its own.


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