Source: qemu
Version: 1:3.1+dfsg-1
Severity: important

Hi,

Currently qemu is using debhelper compat version 9 and is calling
dh_installinit for qemu-guest-agent.

The problem is that this version of dh_installinit is also starting the
agent if it's running on systemd and the systemd service is not checking
if it's running in a VM with virtio or not.

AFAICS, the best way to fix this is to bump the debhelper compat version
to 12 so dh_installinit is not starting the systemd service, and override
the dh_installsystemd target to not start the service.

something like should be fine with dh compat version set to >= 12 (not tested):

        dh_installinit -pqemu-guest-agent
        dh_installsystemd -pqemu-guest-agent --no-start --no-enable

That should allow to install the qemu-guest-agent package on bare metal
machine or a VM not using virtio. ATM the package fails to install
because of this. I set the severity of this bug to importent as this
package is not often used and the description contains a disclaimer
telling it should run in a guest, but in reallity it should be RC.

Kind regards,

Laurent Bigonville

https://manpages.debian.org/unstable/debhelper/debhelper.7.en.html

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Reply via email to