GNU bug report logs - #54840
guix system reconfigure results in 'error: live-service-transient: unbound variable'

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Sun, 10 Apr 2022 17:24:02 UTC

Severity: normal

Merged with 54833

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 54840 in the body.
You can then email your comments to 54840 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#54840; Package guix. (Sun, 10 Apr 2022 17:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 10 Apr 2022 17:24:02 GMT) Full text and rfc822 format available.

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

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: guix system reconfigure results in 'error: live-service-transient:
 unbound variable'
Date: Sun, 10 Apr 2022 10:23:23 -0700
[Message part 1 (text/plain, inline)]
The fix for https://issues.guix.gnu.org/54812 seems to have caused some fallout:

  eeb8ac43c8c0b0cc69422766070dbefc55f5c5c1 services: shepherd: Do not unload transient services.
  a2c759c8304c461d096ab763568e7f71546ff4e8 services: herd: Report whether a service is transient.

These allow guix pull to work:

  ec6a585ee2fd91c857276479411eedd0756e0093 services: Test 'shepherd-service-upgrade' with transient services.
  e25eca35ff04e4234d0376fbb9a8e146869772c8 services: herd: Adjust to <live-service> changes.

But it appears guix system reconfigure still needs more work:

$ sudo -E guix system reconfigure ~/config.scm
Password:
/home/vagrant/config.scm:68:23: warning: the 'target' field is deprecated, please use 'targets' instead


/gnu/store/j4bs8x0gzwd7hz93iam8fl5ywavcwf9m-system
/gnu/store/8vjf01yga20b6yr9wnvv5q02qnxzpa84-extlinux.conf

activating system...
making '/gnu/store/j4bs8x0gzwd7hz93iam8fl5ywavcwf9m-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/zn84y6d96r2x7zgz919pq69xa0s5bi6i-etc...
The following derivation will be built:
  /gnu/store/xph757n54bk7v8bxccbdpkrvhc3z9npn-install-bootloader.scm.drv

building /gnu/store/xph757n54bk7v8bxccbdpkrvhc3z9npn-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '(/dev/disk/by-id/mmc-SC16G_0xd0f41047)'
shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?)).
Backtrace:
In guix/store.scm:
   1320:8 19 (call-with-build-handler _ _)
   1320:8 18 (call-with-build-handler _ _)
In ice-9/boot-9.scm:
  1747:15 15 (with-exception-handler #<procedure 17f793c0 at ice-9/…> …)
In ice-9/exceptions.scm:
   406:15 14 (_)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/system.scm:
   870:15 12 (_)
In guix/store.scm:
  2129:25 11 (run-with-store #<store-connection 256.99 19b15b90> #<…> …)
In guix/scripts/system.scm:
   870:15 10 (_ _)
In guix/scripts/system/reconfigure.scm:
    145:2  9 (_ _)
In guix/scripts/system.scm:
   768:14  8 (_ _)
In ice-9/boot-9.scm:
   222:17  7 (map1 (#<<live-service> provision: (file-system-/gnu…> …))
In ice-9/eval.scm:
   173:55  6 (_ #(#(#<directory (guile-user) 13dfac80>) #<<live-se…>))
   182:19  5 (proc #(#(#<directory (guile-user) 13dfac80>) #<<live…>))
   142:16  4 (compile-top-call #<directory (guile-user) 13dfac80> # #)
In unknown file:
           3 (%resolve-variable (7 . live-service-transient) #<direc…>)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1683:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: live-service-transient: unbound variable


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

Merged 54833 54840. Request was from Vagrant Cascadian <vagrant <at> debian.org> to control <at> debbugs.gnu.org. (Sun, 10 Apr 2022 17:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#54840; Package guix. (Mon, 11 Apr 2022 20:45:03 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Paul Alesius <paul <at> unnservice.com>, Marek Paśnikowski
 <mail <at> marekpasnikowski.name>, Roman Riabenko <roman <at> riabenko.com>
Cc: 54840-done <at> debbugs.gnu.org, 54833-done <at> debbugs.gnu.org
Subject: Re: bug#54840: guix system reconfigure results in 'error:
 live-service-transient: unbound variable'
Date: Mon, 11 Apr 2022 22:44:01 +0200
Hi,

Paul Alesius <paul <at> unnservice.com> skribis:

> The latest commits seem to have changed something and now I am unable
> to reconfigure the system. Does anyone have any suggestions? Thank
> you.
>
> ------------------ start log
> noname <at> devbox ~$ sudo -E guix system reconfigure .config/guix/devbox/system.scm

[...]

> In guix/scripts/system/reconfigure.scm:
>     145:2  9 (_ _)
> In guix/scripts/system.scm:
>    768:14  8 (_ _)
> In ice-9/boot-9.scm:
>    222:17  7 (map1 (#<<live-service> provision: (file-system-/sys…> …))
> In ice-9/eval.scm:
>    173:55  6 (_ #(#(#<directory (guile-user) 7f4a5d1a0c80>) #<<liv…>))
>    182:19  5 (proc #(#(#<directory (guile-user) 7f4a5d1a0c80>) #<<…>))
>    142:16  4 (compile-top-call #<directory (guile-user) 7f4a5d1a0c80> …)
> In unknown file:
>            3 (%resolve-variable (7 . live-service-transient) #<direc…>)
> In ice-9/boot-9.scm:
>   1685:16  2 (raise-exception _ #:continuable? _)
>   1683:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> error: live-service-transient: unbound variable

This was fixed earlier today in
7da907f90e74a4edf96d76ee457ff958265ef8d4.  My bad!

The effect was that services were not upgraded live after ‘reconfigure’,
but the new generation was properly installed (you can see it in
‘guix system list-generations’ and in the GRUB menu when you reboot).

Thanks for reporting it!

Ludo’.




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

This bug report was last modified 3 years and 42 days ago.

Previous Next


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