Control: tags -1 fixed-upstream Control: fixed -1 2.98 Jan,
Thanks for this. On Thu, Dec 16, 2021 at 01:36:02PM +0100, Jan Korbel wrote: > Package: sysvinit-core > Version: 2.96-7 > > Hello. > > There is a bug in time parsing of shutdown command. > Because of this bug it is not possible to shutdown VM by qemu guest > agent. > > Bugged version of sysvinit is in Debian 11, Debian 10 is fine. > > Hardcoded command of qemu guest agent (commands-posix.c): > > execle("/sbin/shutdown", "shutdown", "-h", shutdown_flag, "+0", > "hypervisor initiated shutdown", (char*)NULL, environ); > > Exactly: > > /sbin/shutdown -h -P +0 hypervisor initiated shutdown > > Problematic is "+0" time. "0" or "now" is ok. > > I found this upstream commit: > > https://git.savannah.nongnu.org/cgit/sysvinit.git/commit/?id=462a92ce2adb3f9e7d8c55301d8eb4ba2b15830c Yes and that was included upstream in version 2.98 so sid and bookworm are OK. > Is it possible to backport this fix? I will look at backporting it to bullseye. Mark