shutdown bug, not present in previous versions

Bug #1941737 reported by Pedreter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi,

Sysvinit (2.96-7) includes a shutdown version (/sbin/shutdown) that contains a bug not present in previous versions of shutdown

It affects to QEMU VMs, like Proxmox, for example, that cannot be shutdown from console.

Basically, to shutdown QEMU-Guest-Agent issues the command

/sbin/shutdown -h -P +0

but /sbin/shutdown refuses to work when -h and -P are present at the same time, although its help says explicitly that "-P can only be used with -h flag".

Older versions of shutdown work correctly!! and /sbin/shutdown -h -P +0 shutdown the machine as expected.

Regards,

Pedreter.

Pedreter (pedreter)
description: updated
Pedreter (pedreter)
description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1941737

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Steve Langasek (vorlon) wrote :

Ubuntu does not use shutdown from sysvinit. If this is a bug in sysvinit's implementation of shutdown, then it is invalid in Ubuntu. Are you in fact using this shutdown, or are you using the one from systemd?

Changed in sysvinit (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sysvinit (Ubuntu) because there has been no activity for 60 days.]

Changed in sysvinit (Ubuntu):
status: Incomplete → Expired
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.