GNU bug report logs - #77624
Bisected regression: guix system vm fails with --share option

Previous Next

Package: guix;

Reported by: "Owen T. Heisler" <writer <at> owenh.net>

Date: Tue, 8 Apr 2025 03:23:01 UTC

Severity: important

Done: "Owen T. Heisler" <writer <at> owenh.net>

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 77624 in the body.
You can then email your comments to 77624 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#77624; Package guix. (Tue, 08 Apr 2025 03:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Owen T. Heisler" <writer <at> owenh.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 08 Apr 2025 03:23:02 GMT) Full text and rfc822 format available.

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

From: "Owen T. Heisler" <writer <at> owenh.net>
To: bug-guix <at> gnu.org
Subject: Bisected regression: guix system vm fails with --share option
Date: Mon, 7 Apr 2025 15:00:54 -0500
Hello,

Since commit 9939677d15592acb8663162af8eab3d33f4831db, which changed
handling of Qemu options in `/gnu/system/vm.scm`, `guix system vm` fails
if the `--share` option is used.

```console
$ mkdir -p /tmp/share
$ guix time-machine --commit=9939677d15592acb8663162af8eab3d33f4831db --
system vm --share=/tmp/share /tmp/config.scm

Backtrace:
          17 (primitive-load "/home/user/.cache/guix/inferiors/oljja…")
In guix/ui.scm:
   2332:7 16 (run-guix . _)
  2295:10 15 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    859:3 13 (_)
    839:4 12 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1332:4 11 (_)
In ice-9/boot-9.scm:
  1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   690:37  9 (thunk)
   1331:8  8 (call-with-build-handler #<procedure 7fae0ff885d0 at g…> …)
  2212:25  7 (run-with-store #<store-connection 256.99 7fae0ff61910> …)
In guix/scripts/system.scm:
    859:2  6 (_ _)
    739:8  5 (_ #<store-connection 256.99 7fae0ff61910>)
In gnu/system/vm.scm:
   309:17  4 (system-qemu-image/shared-store-script _ #:system _ # _ …)
    235:8  3 (common-qemu-options _ ("/gnu/store" "/tmp/share") # _ # …)
In unknown file:
           2 (concatenate (#<gexp ("-virtfs" (format #f "local,pa…> …))
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure append: Wrong type argument in position 1 (expecting empty
list): #<gexp ("-virtfs" (format #f
"local,path=~a,security_model=none,mount_tag=~a" #<gexp-input
"/gnu/store":out> #<gexp-input "TAGjoptajej2oynju6yvboauz7pl6uj":out>))
gnu/system/vm.scm:221:4 7fae13a4d630>
```

Using the following `config.scm`:

```scm
(use-modules (gnu bootloader))
(use-modules (gnu bootloader grub))
(use-modules (gnu system file-systems))

(operating-system
 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (targets '("/dev/vda"))
              (terminal-inputs '(console serial))
              (terminal-outputs '(console serial))
              (timeout 1)))
 (file-systems (cons (file-system
                      (mount-point "/")
                      (device "/dev/vda1")
                      (type "ext4")) %base-file-systems))
 (host-name "guix")
 (kernel-arguments (cons "console=ttyS0" %default-kernel-arguments))
 (locale "en_US.utf8"))
```

Thanks,
Owen




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 16 Apr 2025 10:33:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#77624; Package guix. (Tue, 06 May 2025 19:21:02 GMT) Full text and rfc822 format available.

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

From: "Owen T. Heisler" <writer <at> owenh.net>
To: 77624 <at> debbugs.gnu.org
Subject: Re: Bisected regression: guix system vm fails with --share option
Date: Tue, 6 May 2025 14:19:59 -0500
Hi,

This issue was fixed by commit 2934de1447f87b361608ef3a2a756b8a5d2f42e6.

Thanks,
Owen




bug closed, send any further explanations to 77624 <at> debbugs.gnu.org and "Owen T. Heisler" <writer <at> owenh.net> Request was from "Owen T. Heisler" <writer <at> owenh.net> to control <at> debbugs.gnu.org. (Tue, 06 May 2025 19:21:02 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, 04 Jun 2025 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 30 days ago.

Previous Next


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