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 <devuan-dev@lists.dyne.org>; Source for sysvinit is src:sysvinit.

Reported by: Fabio Muzzi <debianbugs@kurgan.org>

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

Done: dak@devuan.org

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#633: gdb trace - and a workaround
Reply-To: Mark Hindley <mark@hindley.org.uk>, 633@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 21 Nov 2021 09:32:01 +0000
Resent-Message-ID: <handler.633.B633.163748700422824@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 633
X-Devuan-PR-Package: qemu-guest-agent
X-Devuan-PR-Keywords: 
References: <163743517558.1458.16031504645366650167.reportbug@fileserver.geldue.locale> <2089ef48-eb48-7c39-d4d1-2c400d502fbc@kurgan.org> <163743517558.1458.16031504645366650167.reportbug@fileserver.geldue.locale>
Received: via spool by 633-submit@bugs.devuan.org id=B633.163748700422824
          (code B ref 633); Sun, 21 Nov 2021 09:32:01 +0000
Received: (at 633) by bugs.devuan.org; 21 Nov 2021 09:30:04 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 21 Nov 2021 09:30:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 0CC9CF60AC0
	for <633@bugs.devuan.org>; Sun, 21 Nov 2021 10:28:00 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	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 <mark@hindley.org.uk>
To: Fabio Muzzi <debianbugs@kurgan.org>, 633@bugs.devuan.org
Message-ID: <YZoRHU7g0fPD0KHY@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2089ef48-eb48-7c39-d4d1-2c400d502fbc@kurgan.org>
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 tupac3.dyne.org
Control: tags -1 debian

Fabio,

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
systemd.

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?

Thanks

Mark

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 <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 02:41:38 2024;