Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2183 - GDM rc-script shutdown issu

Attached to Project: Arch Linux
Opened by Viktor Peters (Mythoz) - Friday, 11 February 2005, 13:53 GMT
Last edited by Dale Blount (dale) - Friday, 11 February 2005, 14:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

I added gdm to the DAEMONS list in rc.conf, thus it startups at boot. For shutting down the system, I'm using the GDM built-in menu regularly.

And here commes the issu: The gdm rc-script shutdown part looks like this:

stat_busy "Stopping GDM"
/opt/gnome/sbin/gdm-stop
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon gdm
stat_done
fi

In my situation the else-branch is never hit because GDM terminates itself, when i choose "shutdown" or "reboot" from menu. Thus gdm-stop fails and prints a message something like this:
"pidfile doesn't exist, perhaps GDM isn't running"

In addition 'rm_daemon gdm' statement is never exceuted and the gdm entry stays in /var/run/daemons. Because of this when rc.shutdown tries to shutdown all leftover daemons, it runs 'gdm stop' and the message appears again.

Not really a bug but something annoying.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 01 October 2005, 15:11 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pure cosmetical, it doesn't change the way the system works.
Comment by Jan de Groot (JGC) - Friday, 11 February 2005, 16:06 GMT
Ah, noticed this already. Will look at it for the next gdm release or rebuild, since it's not a critical bug.

Loading...