Debian-init-diversity Digest, Vol 35, Issue 25

Jesse Smith jessefrgsmith at yahoo.ca
Fri Aug 27 12:41:05 BST 2021


> 
> Hi,
> 
> Debian 11, switched to sysvinit according to Debian documentation.
> 
> Sysvinit (2.96-7) includes a shutdown version (/sbin/shutdown) that contains a (what i think it is 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 and thanks for your great job with sysvinit...
> 
When you say shutdown refuses to work, what do you mean? Does it give an
error message? Does it attempt to shutdown the machine and fail? I just
tried running "shutdown -h -P +0" as root with both sysvinit 2.93 and
3.0.0 and it works in both instances.

- Jesse




More information about the Debian-init-diversity mailing list