GNU bug report logs -
#40649
VM image file lacks ".qcow2" extension, which confuses GNOME Boxes
Previous Next
Reported by: mray <mail <at> mray.de>
Date: Wed, 15 Apr 2020 21:00:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.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 40649 in the body.
You can then email your comments to 40649 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#40649
; Package
guix
.
(Wed, 15 Apr 2020 21:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
mray <mail <at> mray.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 15 Apr 2020 21:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi there,
the QEMU Image download links toa file that misses the "*.qcow2" filetype.
That way Gnome Boxes is not able to start the image. I suggest renaming
all respective files.
Thanks for noting :)
-Robert Martinez
[signature.asc (application/pgp-signature, attachment)]
Changed bug title to 'VM image file lacks ".qcow2" extension, which confuses GNOME Boxes' from 'website download bug'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Apr 2020 08:24:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40649
; Package
guix
.
(Fri, 29 May 2020 02:40:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 40649 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Apr 15, 2020 at 10:36:11PM +0200, mray wrote:
> the QEMU Image download links toa file that misses the "*.qcow2" filetype.
>
> That way Gnome Boxes is not able to start the image. I suggest renaming
> all respective files.
Thanks for letting us know. How does it goes wrong? In general, QEMU
doesn't require file extensions to load images, and that's what Boxes is
using under the hood. We should probably change it regardless.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40649
; Package
guix
.
(Fri, 29 May 2020 02:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 40649 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Apr 15, 2020 at 10:36:11PM +0200, mray wrote:
> Hi there,
>
> the QEMU Image download links toa file that misses the "*.qcow2" filetype.
>
> That way Gnome Boxes is not able to start the image. I suggest renaming
> all respective files.
We could use something like the attached patch (untested!), but I'll
wait for review from a maintainer since they would have to deal with any
breakage.
[0001-maint-Add-a-file-extension-to-the-VM-image.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Wed, 05 May 2021 03:56:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
mray <mail <at> mray.de>
:
bug acknowledged by developer.
(Wed, 05 May 2021 03:56:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 40649-done <at> debbugs.gnu.org (full text, mbox):
Hi!
Leo Famulari <leo <at> famulari.name> writes:
> On Wed, Apr 15, 2020 at 10:36:11PM +0200, mray wrote:
>> Hi there,
>>
>> the QEMU Image download links toa file that misses the "*.qcow2" filetype.
>>
>> That way Gnome Boxes is not able to start the image. I suggest renaming
>> all respective files.
>
> We could use something like the attached patch (untested!), but I'll
> wait for review from a maintainer since they would have to deal with any
> breakage.
>
> From a9bc503689e7d524265fd23811627323d8059ece Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo <at> famulari.name>
> Date: Thu, 28 May 2020 22:43:16 -0400
> Subject: [PATCH] maint: Add a file extension to the VM image.
>
> This allows the file to be opened easily in GNOME Boxes.
>
> Fixes <https://bugs.gnu.org/40649>.
>
> * Makefile.am (release): Add ".qcow2" to the name of the VM image.
> * doc/guix.texi (Running Guix in a VM): Adjust accordingly.
> ---
> Makefile.am | 6 +++---
> doc/guix.texi | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 5b64386b53..f1031863de 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -836,9 +836,9 @@ release: dist-with-updated-version
> echo "failed to produced Guix VM image for $$system" >&2 ; \
> exit 1 ; \
> fi ; \
> - xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp" ; \
> - mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp" \
> - "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz" ; \
> + xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" ; \
> + mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz.tmp" \
> + "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2.xz" ; \
> done
> @echo
> @echo "Congratulations! All the release files are now in $(releasedir)."
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 5b9942d420..0adadf69fa 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -27747,7 +27747,7 @@ Whether or not the droplet should be created with IPv6 networking.
> @cindex virtual machine
> To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image
> distributed at
> -@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.xz}.
> +@url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2.xz}.
> This image is a compressed image in QCOW format. You will first need to
> decompress with @command{xz -d}, and then you can pass it to an emulator such
> as QEMU (see below for details).
Eh, sorry for not seeing this earlier; I've applied the same fix on the
version-1.3.0 branch with commit
ebf5d77eab148394c6db0dd135ea119ca377aaed, so at least this is fixed in
the soon released Guix v1.3.0 (planned for the 10th of May!).
Closing.
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 02 Jun 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.