shutdown -k exits prematurely

Bug #898422 reported by Taylor Yu
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)

Bug Description

On Lucid, "shutdown -k" with a time argument that is not "now" broadcasts the first shutdown warning, then exits without doing anything else. In particular, it does not enter the loop to issue subsequent shutdown warnings. Running "shutdown -k" should do everything except the actual shutdown.

I confirmed by inspecting the source code that this bug is still probably present in the active development sources. The conditional to exit(0) when warn_only is true should probably be moved into the shutdown_now() function.

Version information (but it doesn't really matter because it's still in the development sources):

ii upstart 0.6.5-8 event-based init daemon

Steve Langasek (vorlon)
Changed in upstart (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
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.