[Bug 342054] Re: 'eucalyptus-cc stop' does not kill the eucalyptus dhcpd3 process
Matt Zimmerman
mdz at ubuntu.com
Sat Sep 26 02:05:18 BST 2009
from the eucalyptus-cc init script:
# now kill the services
pidfiles="$EUCALYPTUS/var/run/eucalyptus/net/euca-dhcp.pid $EUCALYPTUS/var/run/eucalyptus/eucalyptus-cc.pid"
for pidfile in $pidfiles ; do
if [ -s $pidfile ]; then
pid=`cat $pidfile 2> /dev/null`
kill $pid > /dev/null 2>&1
else
continue
fi
timeout=5
while [ $timeout -gt 0 ]; do
if ([ "$avahi_pid" ] || [ "$pid" ]) && ps $avahi_pid $pid > /dev/null 2>&1; then
sleep 1
timeout=$(($timeout - 1))
else
break
fi
done
if [ $timeout -eq 0 ]; then
kill -9 $avahi_pid $pid > /dev/null 2>&1
fi
rm -f $avahi_pidfile
rm -f $pidfile
done
** Changed in: eucalyptus (Ubuntu)
Status: Triaged => Fix Released
--
'eucalyptus-cc stop' does not kill the eucalyptus dhcpd3 process
https://bugs.launchpad.net/bugs/342054
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
More information about the Ubuntu-server-bugs
mailing list