While I was trying to create an Upstart conf file for daemonlogger, I tripped on a case where upstart failed to bring down the broken service. As it appeared stuck, I wanted to reboot the machine, and that became stuck as well.
Here's how to reproduce the hang:
apt-get install daemonlogger
cat > /etc/init/daemonlogger.conf <<EOF expect fork script daemonlogger -d -i eth0 -n eth0 -l /tmp end script EOF
start daemonlogger stop daemonlogger [hangs forever] ^C reboot [hangs forever at "Asking all remaining processes to terminate..."]
While I was trying to create an Upstart conf file for daemonlogger, I tripped on a case where upstart failed to bring down the broken service. As it appeared stuck, I wanted to reboot the machine, and that became stuck as well.
Here's how to reproduce the hang:
apt-get install daemonlogger
cat > /etc/init/ daemonlogger. conf <<EOF
expect fork
script
daemonlogger -d -i eth0 -n eth0 -l /tmp
end script
EOF
start daemonlogger
stop daemonlogger [hangs forever]
^C
reboot
[hangs forever at "Asking all remaining processes to terminate..."]