[Pkg-xen-devel] Bug#574675: xen-utils-common: stop fails when some of the daemons are not running
Russell Coker
russell at coker.com.au
Sat Mar 20 01:29:19 UTC 2010
Package: xen-utils-common
Version: 3.4.2-3
Severity: normal
If one daemon is running but the others are not then the stop script will
fail.
It should use the pid file for each daemon and try to stop them independently.
Note that the fact that Xen shouldn't get into this state is not relevant,
daemons do periodically fail, relevant system control scripts should be able
to stop them even when dependencies are not working.
# ps aux|grep xen
root 12 0.0 0.0 0 0 ? S 12:00 0:00 [xenwatch]
root 13 0.0 0.0 0 0 ? S 12:00 0:00 [xenbus]
root 965 0.0 0.3 10340 508 ? S 12:01
0:00 /usr/lib/xen-3.4/bin/xenconsoled --pid-file=/var/run/xenconsoled.pid
root 1282 0.0 0.5 3124 740 pts/0 S+ 12:20 0:00 grep xen
# /etc/init.d/xend stop
Stopping Xen daemons: xend.
# ps aux|grep xen
root 12 0.0 0.0 0 0 ? S 12:00 0:00 [xenwatch]
root 13 0.0 0.0 0 0 ? S 12:00 0:00 [xenbus]
root 965 0.0 0.3 10340 508 ? S 12:01
0:00 /usr/lib/xen-3.4/bin/xenconsoled --pid-file=/var/run/xenconsoled.pid
root 1299 0.0 0.5 3124 736 pts/0 S+ 12:21 0:00 grep xen
More information about the Pkg-xen-devel
mailing list