FS#18318 - The KDM start script store the PID into a wrong PID file.
Attached to Project:
Arch Linux
Opened by Giovanni (ksniffer) - Saturday, 13 February 2010, 15:03 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 13 February 2010, 16:08 GMT
Opened by Giovanni (ksniffer) - Saturday, 13 February 2010, 15:03 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 13 February 2010, 16:08 GMT
|
Details
Description:
The KDM start script store the PID into a wrong PID file. Additional info: * kdebase-workspace 4.4.0-3 Steps to reproduce: Execute: /etc/rc.d/kdm stop then execute /etc/rc.d/kdm start You will get FAILED because the pid file is not deleted. According to the rc functions the pid file will be removed from /var/run/daemons directory but /etc/rc.d/kdm create the pid file into /var/run directory so to fix this issue it's enough to make create the pid file into /var/run/daemons replacing: start) stat_busy "Starting KDE Desktop Manager" [ -z "$PID" ] && /usr/bin/kdm &>/dev/null if [ $? -gt 0 ]; then stat_fail else echo $PID > /var/run/kdm.pid add_daemon kdm stat_done fi ;; with the following: start) stat_busy "Starting KDE Desktop Manager" [ -z "$PID" ] && /usr/bin/kdm &>/dev/null if [ $? -gt 0 ]; then stat_fail else echo $PID > /var/run/daemons/kdm.pid add_daemon kdm stat_done fi ;; |
This task depends upon