GNU bug report logs - #64057
qemu-guest-agent-shepherd-service probably lacks (requirement '(udev))

Previous Next

Package: guix;

Reported by: Yann Dupont <yann.dupont <at> univ-nantes.fr>

Date: Wed, 14 Jun 2023 02:40:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64057 in the body.
You can then email your comments to 64057 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64057; Package guix. (Wed, 14 Jun 2023 02:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yann Dupont <yann.dupont <at> univ-nantes.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 14 Jun 2023 02:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yann Dupont <yann.dupont <at> univ-nantes.fr>
To: bug-guix <at> gnu.org
Subject: qemu-guest-agent-shepherd-service probably lacks (requirement '(udev))
Date: Tue, 13 Jun 2023 16:55:52 +0200
[Message part 1 (text/plain, inline)]
Hi all, we've noticed that qemu-guest-agent doesn't start reliably on 
virtual machines generated by guix system.
the log file shows the following:

2023-06-12 14:36:14 1686573373.873765: critical: error opening channel 
'/dev/virtio-ports/org.qemu.guest_agent.0': No such file or directory 
2023-06-12 14:36:14 1686573373.873779: critical: failed to create guest 
agent channel 2023-06-12 14:36:14 1686573373.873782: critical: failed to 
initialize guest agent channel

I guess the udev dependency is missing. The following patch seems to do 
the trick here:

diff --git a/gnu/services/virtualization.scm 
b/gnu/services/virtualization.scm index 2e311e3813..b1b7eafd75 100644 
--- a/gnu/services/virtualization.scm +++ 
b/gnu/services/virtualization.scm @@ -962,6 +962,7 @@ (define 
(qemu-guest-agent-shepherd-service config) (list (shepherd-service 
(provision '(qemu-guest-agent)) + (requirement '(udev)) (documentation 
"Run the QEMU guest agent.") (start #~(make-forkexec-constructor 
`(,(string-append #$qemu "/bin/qemu-ga")

Cheers,
[Message part 2 (text/html, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 15 Jun 2023 22:21:01 GMT) Full text and rfc822 format available.

Notification sent to Yann Dupont <yann.dupont <at> univ-nantes.fr>:
bug acknowledged by developer. (Thu, 15 Jun 2023 22:21:02 GMT) Full text and rfc822 format available.

Message #10 received at 64057-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Yann Dupont <yann.dupont <at> univ-nantes.fr>
Cc: 64057-done <at> debbugs.gnu.org
Subject: Re: bug#64057: qemu-guest-agent-shepherd-service probably lacks
 (requirement '(udev))
Date: Fri, 16 Jun 2023 00:20:37 +0200
Hi,

Yann Dupont <yann.dupont <at> univ-nantes.fr> skribis:

> Hi all, we've noticed that qemu-guest-agent doesn't start reliably on virtual machines generated by guix system. 
> the log file shows the following:
>
> 2023-06-12 14:36:14 1686573373.873765: critical: error opening channel '/dev/virtio-ports/org.qemu.guest_agent.0': No such file or directory 2023-06-12
> 14:36:14 1686573373.873779: critical: failed to create guest agent channel 2023-06-12 14:36:14 1686573373.873782: critical: failed to initialize guest agent
> channel
>
> I guess the udev dependency is missing. The following patch seems to do the trick here: 

Thanks for the bug report and suggestion!  This is now fixed in
c27479a739cdbe89be7cb03f73a4a5230e84379d.

LUdo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Jul 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.