Subject: bug#63868: [reconfigure, shepherd] error: remove: unbound variable

From: Ludovic Courtès <[email-masked]>
Date: Mon, 05 Jun 2023 09:04:21 +0200

Hi,

Attila Lendvai <[email-masked]> skribis:

> $ sudo guix system reconfigure ...
> [...]
> building /gnu/store/8by5a6wqlxm3fw27xh3a6zzzwfczjpcm-install-bootloader.scm.drv...
> guix system: bootloader successfully installed on '(/boot/efi)'
> guix system: warning: exception caught while executing 'eval' on service 'root':
> error: remove: unbound variable
> guix system: warning: some services could not be upgraded
> hint: To allow changes to all the system services to take effect, you will need to reboot.

‘remove’ is a core binding (available by default) so I don’t see how we
can get that error.

> this is all foggy.  the only certain part is that i get the above printed with a recent commit, but when i rolled back the guix channel to:
>
> (commit "f9af75b2c34aab564c821b5bacebd8570777a535")
>
> then it finished without the above error.
>
> when it happens it also seems to break booting. it hang rather early, not long after grub.
>
> it's happening on a server where i'd like to keep downtime low, so i didn't do double checks. i just rolled back, reconfigured, and it worked afterwards.

Weird.  Are there any hints in /var/log/messages?

Thanks,
Ludo’.