GNU bug report logs - #47570
libvirt still embeds full path to qemu-system in saved .xml files

Previous Next

Package: guix;

Reported by: divoplade <d <at> divoplade.fr>

Date: Fri, 2 Apr 2021 20:42:01 UTC

Severity: normal

Merged with 31365

Done: Pierre Langlois <pierre.langlois <at> gmx.com>

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 47570 in the body.
You can then email your comments to 47570 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#47570; Package guix. (Fri, 02 Apr 2021 20:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to divoplade <d <at> divoplade.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 02 Apr 2021 20:42:01 GMT) Full text and rfc822 format available.

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

From: divoplade <d <at> divoplade.fr>
To: bug-guix <at> gnu.org
Subject: libvirt still embeds full path to qemu-system in saved .xml files
Date: Fri, 02 Apr 2021 22:41:04 +0200
Hello,

I tried to add my comment to issue 31365, but it has been archived and
made read-only.

This issue is not fully fixed. I’m using gnome-boxes to create virtual
machines, and I noticed something similar to what is experienced in
this issue.

The hard-coded path is in /gnu/store/xxx-profile/, so I think it has
been found in /run/current-system/profile/bin, but the symlink has been
resolved too early.

I have recently gc’ed my system, and that’s when I noticed I could not
run my VMs anymore.

My workaround is to replace the hard-coded paths in the XML files.

Best regards,

divoplade

https://issues.guix.gnu.org/31365





Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Sat, 03 Apr 2021 13:28:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: divoplade <d <at> divoplade.fr>, 47570 <at> debbugs.gnu.org
Subject: Re: bug#47570: libvirt still embeds full path to qemu-system in
 saved .xml files
Date: Sat, 03 Apr 2021 15:27:36 +0200
[Message part 1 (text/plain, inline)]
On Fri, 2021-04-02 at 22:41 +0200, divoplade wrote:
> Hello,
> 
> I tried to add my comment to issue 31365, but it has been archived and
> made read-only.
> [...]

For future reference:
it is possible to unarchive and reopen issues.  I don't recall the exact
procedure, but when sending a mail to 31365 <at> debbugs.gnu.org, debbugs should
respond with instructions on how to unarchive or re-open the issue.

The ‘archived’ status is mostly for avoiding typos in NNN <at> debbugs.gnu.org
mail addresses in my experience.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Merged 31365 47570. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Sat, 03 Apr 2021 19:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Mon, 05 Apr 2021 18:46:01 GMT) Full text and rfc822 format available.

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

From: Pierre Langlois <pierre.langlois <at> gmx.com>
To: divoplade <d <at> divoplade.fr>
Cc: bug-guix <at> gnu.org, 47570 <at> debbugs.gnu.org
Subject: Re: bug#47570: libvirt still embeds full path to qemu-system in
 saved .xml files
Date: Mon, 05 Apr 2021 19:45:12 +0100
[Message part 1 (text/plain, inline)]
Hello,

divoplade writes:

> Hello,
>
> I tried to add my comment to issue 31365, but it has been archived and
> made read-only.
>
> This issue is not fully fixed. I’m using gnome-boxes to create virtual
> machines, and I noticed something similar to what is experienced in
> this issue.
>
> The hard-coded path is in /gnu/store/xxx-profile/, so I think it has
> been found in /run/current-system/profile/bin, but the symlink has been
> resolved too early.
>
> I have recently gc’ed my system, and that’s when I noticed I could not
> run my VMs anymore.
>
> My workaround is to replace the hard-coded paths in the XML files.

Ouch :-/.

Do you know at which guix commit this happened?  I'm wondering which
version of libvirt triggered this.  AFAICT, right now, if you create a
fresh VM using gnome-boxes, it initializes the xml config with the qemu
in /run/current-system/profile, which looks like the right thing to do.
I've just tested this downloading a fedora image via gnome-boxes, using
either libvirt 5.8 or 7.2 under the hood (updated just now).

Could it be that you created a VM before the bug was fixed? Which would
have left a xml config that refers to GC-able qemu in .config/libvirt,
which a guix update cannot automatically migrate (although one day it might!).

Let me know if I've got this wrong.

Thanks,
Pierre
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Mon, 05 Apr 2021 18:46:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Tue, 06 Apr 2021 06:49:02 GMT) Full text and rfc822 format available.

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

From: divoplade <d <at> divoplade.fr>
To: Pierre Langlois <pierre.langlois <at> gmx.com>
Cc: bug-guix <at> gnu.org, 47570 <at> debbugs.gnu.org
Subject: Re: bug#47570: libvirt still embeds full path to qemu-system in
 saved .xml files
Date: Tue, 06 Apr 2021 08:48:16 +0200
Le lundi 05 avril 2021 à 19:45 +0100, Pierre Langlois a écrit :
> Do you know at which guix commit this happened?  I'm wondering which
> version of libvirt triggered this.  AFAICT, right now, if you create
> a
> fresh VM using gnome-boxes, it initializes the xml config with the
> qemu
> in /run/current-system/profile, which looks like the right thing to
> do.

I think my system did not auto-upgrade for some time because of a bug
in org-html-export-to-html that broke one of my packages (the bug is,
there’s an explicit comment to indicate a license for a script and that
comment is not XHTML). I don’t know which commit did that, but the
faulty system was between that commit and 24h before. Or there was
another earlier problem, and I can’t help, sorry.

You’re right, now that I upgraded it’s fixed.





Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Tue, 06 Apr 2021 06:49:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47570; Package guix. (Tue, 06 Apr 2021 13:57:02 GMT) Full text and rfc822 format available.

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

From: Pierre Langlois <pierre.langlois <at> gmx.com>
To: divoplade <d <at> divoplade.fr>
Cc: Pierre Langlois <pierre.langlois <at> gmx.com>, bug-guix <at> gnu.org,
 47570-done <at> debbugs.gnu.org
Subject: Re: bug#47570: libvirt still embeds full path to qemu-system in
 saved .xml files
Date: Tue, 06 Apr 2021 14:56:28 +0100
[Message part 1 (text/plain, inline)]
divoplade writes:

> Le lundi 05 avril 2021 à 19:45 +0100, Pierre Langlois a écrit :
>> Do you know at which guix commit this happened?  I'm wondering which
>> version of libvirt triggered this.  AFAICT, right now, if you create
>> a
>> fresh VM using gnome-boxes, it initializes the xml config with the
>> qemu
>> in /run/current-system/profile, which looks like the right thing to
>> do.
>
> I think my system did not auto-upgrade for some time because of a bug
> in org-html-export-to-html that broke one of my packages (the bug is,
> there’s an explicit comment to indicate a license for a script and that
> comment is not XHTML). I don’t know which commit did that, but the
> faulty system was between that commit and 24h before. Or there was
> another earlier problem, and I can’t help, sorry.
>
> You’re right, now that I upgraded it’s fixed.

Cool :-), closing the bug then!

Thanks,
Pierre

[signature.asc (application/pgp-signature, inline)]

Reply sent to Pierre Langlois <pierre.langlois <at> gmx.com>:
You have taken responsibility. (Tue, 06 Apr 2021 13:57:02 GMT) Full text and rfc822 format available.

Notification sent to divoplade <d <at> divoplade.fr>:
bug acknowledged by developer. (Tue, 06 Apr 2021 13:57:03 GMT) Full text and rfc822 format available.

Reply sent to Pierre Langlois <pierre.langlois <at> gmx.com>:
You have taken responsibility. (Tue, 06 Apr 2021 13:57:03 GMT) Full text and rfc822 format available.

Notification sent to Vagrant Cascadian <vagrant <at> debian.org>:
bug acknowledged by developer. (Tue, 06 Apr 2021 13:57:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 328 days ago.

Previous Next


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