Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68581 - Gnome does not kill X on halt
Summary: Gnome does not kill X on halt
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-22 12:13 UTC by Kaiting Chen
Modified: 2004-10-23 15:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaiting Chen 2004-10-22 12:13:55 UTC
I have allowed users of the "halt" group to halt the system. I did this by changing /sbin/halt and /sbin/shutdown to the halt group, setting is SUID root, removing the executable bit from "others", and then adding my user to the "halt" group. In short:

groupadd [some options] halt
useradd [some options to add user to "halt" group] myuser
cd /sbin
chgrp halt halt shutdown
chmod o-x halt shutdown
chmod g+x halt shutdown
chmod u+s halt shutdown

I can shut down from the GDM system menu. However, if I try to shut down from within Gnome, using the logout menu, gnome-session or gdm will not kill the X. I will shut down the computer, but I do not see verbose messages. My mouse continues to work until my system shuts down.

I am running gnome-session 2.8.0 and gdm 2.6.0.4-r1.
I am nut currently on Gentoo, so I can't provide my emerge info. However, gnome-session is compiled with "-debug +ipv6" and gdm with "-debug -selinux +tcpd -xinerama". My CFLAGS are "-Os -march=pentium3 -fomit-frame-pointer -pipe". I have ACCEPT_KEYWORDS="~x86".

Reproducible: Always
Steps to Reproduce:
1. Set halt permissions as show above.
2. Try to shutdown or reboot from within Gnome.

Actual Results:  
Shut down or reboot computer, but does not show verbose messages, and most 
likely does not kill X or gdm.

Expected Results:  
Kill gdm, X, and show verbose messages.
Comment 1 foser (RETIRED) gentoo-dev 2004-10-23 15:01:11 UTC
I'm not sure what you want us to do here ? obviously this is an area you are on your own, we do not support is as such.

If you find a solution please do share, but given our current workload with the stuff we do support this is a no-go for the devs.