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!
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!
FS#18369 - [kdebase-workspace] Wrong pid file for kdm
Attached to Project:
Arch Linux
Opened by Cedric Bellegarde (gnumdk) - Wednesday, 17 February 2010, 08:35 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 26 February 2010, 20:23 GMT
Opened by Cedric Bellegarde (gnumdk) - Wednesday, 17 February 2010, 08:35 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 26 February 2010, 20:23 GMT
|
Detailskdm use /var/run/daemon/kdm.pid instead of /var/run/daemon/kdm/kdm.pid.
This make rc.shutdown to show an error message about kdm.pid on shutdown. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 26 February 2010, 20:23 GMT
Reason for closing: Fixed
Additional comments about closing: ON TRUNK
Friday, 26 February 2010, 20:23 GMT
Reason for closing: Fixed
Additional comments about closing: ON TRUNK
The -4 checks the pid file into /var/run/daemon/kdm.pid, but if you started kdm using -3 that file was in /var/run/daemon/kdm.pid.
if [ -d /var/run/daemons ]; then
for daemon in $(/bin/ls -1t /var/run/daemons); do
if ! in_array $daemon ${DAEMONS[@]}; then
stop_daemon $daemon
fi
done
fi
This code is in rc.shutdown, this code make a call on /etc/rc.d/kdm.pid because there is a kdm.pid file in /var/run/daemons.