Upstart hangs on reboot when "expect" is misspecified

Bug #1020951 reported by Marti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
New
Undecided
Unassigned

Bug Description

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. Finally I had to power cycle the machine to fix it (although it eventually quits after a timeout, too).

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 at "Asking all remaining processes to terminate..."]

Marti (intgr)
description: updated
Marti (intgr)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.