Bug 757668

Summary: X crashing when I attempt to "sudo -s"
Product: [openSUSE] openSUSE 12.2 Reporter: Jeff Mahoney <jeffm>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: aj, badshah400, lchiquitto, vuntz
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: .xsession-errors.old

Description Jeff Mahoney 2012-04-18 04:03:53 UTC
Created attachment 486564 [details]
.xsession-errors.old

After fixing my gnome-shell systemd session crash issue reported in bnc#757666, I found that X is still crashing. I've attached my .xsession-errors. There's nothing out of the ordinary in /var/log/Xorg.0.log.old.

I also see this in /var/log/messages:

Apr 17 23:49:46 jetfire sudo: The gnome keyring socket is not owned with the same credentials as the user login: /run/user/jeffm/keyring-JxbzPn/control
Apr 17 23:49:46 jetfire sudo: gkr-pam: couldn't unlock the login keyring.
Apr 17 23:49:46 jetfire sudo:    jeffm : TTY=pts/0 ; PWD=/home/jeffm ; USER=root ; COMMAND=/bin/bash
Apr 17 23:49:46 jetfire systemd-logind[605]: Removed session 7.
Apr 17 23:49:46 jetfire gdm-simple-slave[3474]: WARNING: Freeing conversation 'gdm' with active job
Apr 17 23:49:46 jetfire console-kit-daemon[891]: rmdir: failed to remove `/var/run/dbus/at_console/jeffm': Directory not empty
Apr 17 23:49:46 jetfire gnome-session[3776]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Apr 17 23:49:46 jetfire polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name :1.192, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Comment 1 Vincent Untz 2012-04-18 07:02:01 UTC
I think that's a glibc bug, AJ knows.
Comment 2 Andreas Jaeger 2012-04-18 08:10:21 UTC
Vincent, the problems with crashing sudo vi was with my testing glibc that never hit Factory.

This looks more like systemd-logind killing it.
Comment 3 Michael Andres 2012-05-09 06:59:55 UTC
*** Bug 757206 has been marked as a duplicate of this bug. ***
Comment 4 Frederic Crozat 2012-06-05 09:48:54 UTC
bug fixed in Factory for some time now (xdm-np pam config was incorrect).