Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1058029: qemu-guest-agent: QEMU-GA WON'T START

146 views
Skip to first unread message

JP Pozzi

unread,
Dec 11, 2023, 9:50:04 AM12/11/23
to
Hello,

The script /etc/init.d/qemu-guest-agent was modified by me to look at the problem,
it is not the original one.
I use also a "home made" script to get clear informations through a dedicated logfile :
#!/bin/bash

METHOD='virtio-serial'
ZPATH='/dev/virtio-ports/org.qemu.guest_agent.0'
LOGFILE='/var/log/qemu-ga.log'

OPTIONS=' --verbose --daemon '
/usr/sbin/qemu-ga  --method=$METHOD --path=$ZPATH --logfile=$LOGFILE $OPTIONS

Hope this helps,

Regards

Michael Tokarev

unread,
Dec 25, 2023, 4:50:04 PM12/25/23
to
Control: tag -1 + moreinfo unreproducible

11.12.2023 14:51, Y :
> Package: qemu-guest-agent
> Version: 1:8.1.2+ds-1~bpo12+1
> Severity: serious
> Justification: 6
>
> Dear Maintainer,
>
> The problem arose after upgrading from bullseye to bookworm.

What did you upgrade, host or guest system?

> All was OK on bullseye, but on bookworm qemu-ga refuse to start with
> following messages :
>
> 1702295113.963828: debug: disabling command: guest-get-devices
> 1702295113.963868: critical: error opening channel '/dev/virtio-ports/org.qemu.guest_agent.0': No such file or directory
> 1702295113.963873: critical: failed to create guest agent channel
> 1702295113.963875: critical: failed to initialize guest agent channel
>
> The systemd command looks like :
> [Unit]
> Description=QEMU Guest Agent
> BindsTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
> After=dev-virtio\x2dports-org.qemu.guest_agent.0.device

This is the standard qga systemd unit file.
This unit file tells systemd to start qemu-ga *only* if
/dev/virtio-ports/org.qemu.guest_agent.0 device is present.

So it is either present and qga will start okay, or it is
not present, and systemd wont start it. But not both.

I can't reproduce this issue, everything looks and works
like it is supposed to look and work.

Also, there are *lots* of bullseye VMs and hosts has been
upgraded to bookworm, and qemu-ga continues to work just
fine.

I've no idea what to get out of all this.

/mjt
0 new messages