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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to