Bug 156445 - gnome-session does not logout when yast is running
Summary: gnome-session does not logout when yast is running
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 7
Hardware: i386 Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Hans Petter Jansson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 13:18 UTC by Holger Hetterich
Modified: 2006-03-20 23:44 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hetterich 2006-03-09 13:18:27 UTC
How to reproduce:
login to gnome, run graphical yast control-center.
logout - gnome-session stops until I manually close the yast-control-center

Tell me if you need any gnome-session logs, and which one.
Comment 1 JP Rosevear 2006-03-09 20:37:29 UTC
HPJ, I thought you fixed this.
Comment 2 Hans Petter Jansson 2006-03-09 23:37:28 UTC
Yes. That was bug 112999. From gnome-session's changelog:

* Fri Jan 27 2006 - hpj@suse.de
- Set the ICEAUTHORITY env var so programs running as root can
  get to the cookies. Eliminates hangs on logout.

It still works for me on Beta 5 with the newest gnome-session package I could get from Hazard.

1) What's your ICEAUTHORITY set to after you log in?
2) What's it set to after su'ing to root?
3) Does yast2 print anything on the command line if launched from the shell, as root?
4) Does a GNOME app, e.g. gnome-control-center, print anything on the command line if launched from the shell, as root?
Comment 3 Mark Gordon 2006-03-13 20:24:10 UTC
I'm seeing the two-minute delay in SLED10 Beta7 iff I run YaST2 from a menu (which invokes it through gnomesu).  If I run YaST2 from a root prompt in a terminal, having used su, I log out right away.
Comment 4 Holger Hetterich 2006-03-14 10:39:03 UTC
on comment #2:
1) /home/holger/.ICEauthority
2) the same as above
3) no it does not
4) no

on comment #3:
that's right, I can reproduce that the hang only happens when I start yast from gnomesu. If launched in terminal, I can log out just normal.
Comment 5 Hans Petter Jansson 2006-03-20 23:44:38 UTC
The problem was that gnomesu did not spin the main loop while waiting for the child to exit - thus not processing session events. Fixed in a patch just submitted to autobuild.