Devuan bug report logs - #633
qemu-guest-agent: Guest agent does not shut down the guest when requested to

version graph

Package: sysvinit; Maintainer for sysvinit is Devuan Developers <>; Source for sysvinit is src:sysvinit.

Reported by: Fabio Muzzi <>

Date: Sat, 20 Nov 2021 19:12:01 UTC

Severity: grave

Tags: chimaera

Found in version 2.96-7+devuan1

Fixed in versions 3.00-1+devuan1, 2.96-7+devuan2


Full log

🔗 View this message in rfc822 format

Subject: bug#633: gdb trace - and a workaround
Reply-To: Mark Hindley <>,
Resent-From: Mark Hindley <>
Resent-Date: Sun, 21 Nov 2021 09:32:01 +0000
Resent-Message-ID: <>
X-Devuan-PR-Message: followup 633
X-Devuan-PR-Package: qemu-guest-agent
References: <163743517558.1458.16031504645366650167.reportbug@fileserver.geldue.locale> <> <163743517558.1458.16031504645366650167.reportbug@fileserver.geldue.locale>
Received: via spool by id=B633.163748700422824
          (code B ref 633); Sun, 21 Nov 2021 09:32:01 +0000
Received: (at 633) by; 21 Nov 2021 09:30:04 +0000
Received: from []
	by with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 21 Nov 2021 09:30:04 +0000 (UTC)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id 0CC9CF60AC0
	for <>; Sun, 21 Nov 2021 10:28:00 +0100 (CET)
Received: from apollo.hindleynet ([]
	by with smtp (Exim 4.84_2)
	(envelope-from <>)
	id 1moj8g-00032H-I4; Sun, 21 Nov 2021 09:27:58 +0000
Received: (nullmailer pid 18177 invoked by uid 1000);
	Sun, 21 Nov 2021 09:27:57 -0000
Date: Sun, 21 Nov 2021 09:27:57 +0000
From: Mark Hindley <>
To: Fabio Muzzi <>,
Message-ID: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
Control: tags -1 debian


Thanks for this and debugging what is going on.

On Sat, Nov 20, 2021 at 11:54:29PM +0100, Fabio Muzzi wrote:
> I have gone further and run gdb.
> It seems that the agent actually tries to call /sbin/shutdown with the following parameters:
> "-h -P +0 hypervisor initiated shutdown"

To me, this is a bug in qemu-agent which is assuming the guest is running

qemu-agent is not a forked package and Devuan uses Debian's packages directly
without recompilation. So, in principle, this is an issue that needs reporting
to Debian's BTS to be fixed there. However, if there is a configuration option
to change the shutdown command sent, we might be able to override that in
Devuan.  I don't use the package myself, so it would be helpful if you could
investigate that?



Send a report that this bug log contains spam.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <>.
Last modified: Wed Apr 17 16:27:07 2024;