[guix-1.1.0] guix system failed

  • Done
  • quality assurance status badge
Details
3 participants
  • Diego Nicola Barbato
  • Marius Bakke
  • wensheng xie
Owner
unassigned
Submitted by
wensheng xie
Severity
normal

Debbugs page

wensheng xie wrote 5 years ago
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
HE1P190MB0281B520A7D815AA2256324EB0A90@HE1P190MB0281.EURP190.PROD.OUTLOOK.COM
The error:

root@guix ~# guix system reconfigure /etc/config.scm
The following derivation will be built:
/gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv
building /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv...
/gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system
/gnu/store/gsxap47dgsjs6zvdim42j5lal5rfj10w-grub.cfg

activating system...
making '/gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/hzhhbayyfxjqghxklawy8r8a1i8ws7pg-etc...
The following derivation will be built:
/gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv
building /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '/dev/sda'
guix system: error: exception caught while executing 'eval' on service 'root':
Unrecognized keyword: #:file-creation-mask
Attachment: file
Marius Bakke wrote 5 years ago
(name . wensheng xie)(address . xiewensheng@hotmail.com)(address . 41051@debbugs.gnu.org)
878si838ym.fsf@devup.no
Thanks for the report!

wensheng xie <xiewensheng@hotmail.com> writes:

Toggle quote (20 lines)
> The error:
>
> root@guix ~# guix system reconfigure /etc/config.scm
> The following derivation will be built:
> /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv
> building /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv...
> /gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system
> /gnu/store/gsxap47dgsjs6zvdim42j5lal5rfj10w-grub.cfg
>
> activating system...
> making '/gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system' the current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/hzhhbayyfxjqghxklawy8r8a1i8ws7pg-etc...
> The following derivation will be built:
> /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv
> building /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv...
> guix system: bootloader successfully installed on '/dev/sda'
> guix system: error: exception caught while executing 'eval' on service 'root':
> Unrecognized keyword: #:file-creation-mask

Can you post the output of 'guix describe' and the config.scm you are
using?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6vUOEACgkQoqBt8qM6
VPoGYAf/XWBmhNXI2OXQod6ZZ3ZOHHAWzyxBqjTST5O9OtYrGgxsk1l4oFpkbHHc
UKmA9jCO69DB6k4I52vsGc4JPa00R4EA/T8LUrOH4bv8Qd3gcWp6LONAeHfUVmUg
1WdTVyariQ1jiiWNlrlZUbv3EZaUEUJZ1m1RVTDX+9W/lXZHZqY+PZ8vT5GQOwVb
Wttz13x4Y9swnn0PfEyK/gRbDhxewRIkY/8wIXxDJP3fOoPlKMDa1vq99Oi5lPAr
U7jzVxtgv7a2sPpSwX70XaWV3HTxDYQvNa5lnu77d6lbYrr6nSMv+33gCIt650cx
PTFncmyyxeqqtUIrWVfXdWWMn0AJWQ==
=itGz
-----END PGP SIGNATURE-----

wensheng xie wrote 5 years ago
(name . Marius Bakke)(address . mbakke@fastmail.com)(name . 41051@debbugs.gnu.org)(address . 41051@debbugs.gnu.org)
HE1P190MB02816E3F61AAAC0BB359FE62B0A60@HE1P190MB0281.EURP190.PROD.OUTLOOK.COM
Hi, Marius:

The problem is not reproduced after I did another 'guix pull'. I attached the information:

1.
root@guix ~# guix describe
Generation 4 May 04 2020 06:21:35 (current)
guix c563f88
branch: master
commit: c563f8887db23241922fabf62a4da5d1526a644f

2. config.scm is attached.


________________________________
From: Marius Bakke
Sent: Sunday, May 3, 2020 11:16 PM
To: wensheng xie; 41051@debbugs.gnu.org
Subject: Re: bug#41051: [guix-1.1.0] guix system failed

Thanks for the report!

wensheng xie <xiewensheng@hotmail.com> writes:

Toggle quote (20 lines)
> The error:
>
> root@guix ~# guix system reconfigure /etc/config.scm
> The following derivation will be built:
> /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv
> building /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv...
> /gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system
> /gnu/store/gsxap47dgsjs6zvdim42j5lal5rfj10w-grub.cfg
>
> activating system...
> making '/gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system' the current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/hzhhbayyfxjqghxklawy8r8a1i8ws7pg-etc...
> The following derivation will be built:
> /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv
> building /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv...
> guix system: bootloader successfully installed on '/dev/sda'
> guix system: error: exception caught while executing 'eval' on service 'root':
> Unrecognized keyword: #:file-creation-mask

Can you post the output of 'guix describe' and the config.scm you are
using?
Attachment: file
;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (operating-system (locale "zh_CN.utf8") (timezone "Asia/Shanghai") (keyboard-layout (keyboard-layout "cn")) (host-name "guix") (users (cons* (user-account (name "wxie") (comment "Wensheng XIE") (group "users") (home-directory "/home/wxie") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list (specification->package "i3-wm") (specification->package "i3status") (specification->package "dmenu") (specification->package "st") (specification->package "nss-certs")) %base-packages)) (services (append (list (service gnome-desktop-service-type) (service enlightenment-desktop-service-type) (service openssh-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services)) (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda") (keyboard-layout keyboard-layout))) (swap-devices (list "/dev/sda1")) (file-systems (cons* (file-system (mount-point "/") (device (uuid "ac551a60-308c-4a49-b44c-cb28a99393da" 'ext4)) (type "ext4")) %base-file-systems)))
Marius Bakke wrote 5 years ago
(name . wensheng xie)(address . xiewensheng@hotmail.com)(name . 41051@debbugs.gnu.org)(address . 41051-done@debbugs.gnu.org)
87zhanzngr.fsf@devup.no
wensheng xie <xiewensheng@hotmail.com> writes:

Toggle quote (4 lines)
> Hi, Marius:
>
> The problem is not reproduced after I did another 'guix pull'. I attached the information:

OK. I don't know what the problem was, but as it works with the latest
Guix I'm closing this bug.

Thanks for the report!
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6wP3QACgkQoqBt8qM6
VPrvlwf/Q0hNgX2aEZLZEnjquIZVS/7Mb0BeIxemslhE/wfN/GdcoiKiMHnrt9jP
V4ap3MRoDK/vfQ4SYxmv72yMSbB5A6aebQqovyvkIchdlzcvIDfFg8lJSLweHFhe
kXspNL9KsOoMc2HKt5rEgQnhYHxUz0lt5baq+VZ0V/xlIBXqKqBgZVEBc+DRezRh
N+BOfKgP9tFS+62NCZfvBuxEXG01GB++XQqigeCoRr71yaNpBWUDDE7eYNh+k1fo
M6QffCqFxQDdsC1YLd2IgYN6zSrv2KdWHmiPj0olDPmfrebVppcXOaANFZQA3G/C
ORGnHdrgR0vph4EtGa5tLcB1Fp3cUQ==
=PYD8
-----END PGP SIGNATURE-----

Closed
Diego Nicola Barbato wrote 5 years ago
(name . wensheng xie)(address . xiewensheng@hotmail.com)(name . Marius Bakke)(address . mbakke@fastmail.com)(name . 41051@debbugs.gnu.org)(address . 41051@debbugs.gnu.org)
87368fhdf2.fsf@GlaDOS.home
Hi,

wensheng xie <xiewensheng@hotmail.com> writes:

Toggle quote (47 lines)
> Hi, Marius:
>
> The problem is not reproduced after I did another 'guix pull'. I attached the information:
>
> 1.
> root@guix ~# guix describe
> Generation 4 May 04 2020 06:21:35 (current)
> guix c563f88
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: c563f8887db23241922fabf62a4da5d1526a644f
>
> 2. config.scm is attached.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> From: Marius Bakke
> Sent: Sunday, May 3, 2020 11:16 PM
> To: wensheng xie; 41051@debbugs.gnu.org
> Subject: Re: bug#41051: [guix-1.1.0] guix system failed
>
> Thanks for the report!
>
> wensheng xie <xiewensheng@hotmail.com> writes:
>
>> The error:
>>
>> root@guix ~# guix system reconfigure /etc/config.scm
>> The following derivation will be built:
>> /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv
>> building /gnu/store/g26kkrfd49y5wcz57x0xgkh97w997kmb-grub.cfg.drv...
>> /gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system
>> /gnu/store/gsxap47dgsjs6zvdim42j5lal5rfj10w-grub.cfg
>>
>> activating system...
>> making '/gnu/store/2lnjrv5388727sw45jhrrsyf0140nrd2-system' the current system...
>> setting up setuid programs in '/run/setuid-programs'...
>> populating /etc from /gnu/store/hzhhbayyfxjqghxklawy8r8a1i8ws7pg-etc...
>> The following derivation will be built:
>> /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv
>> building /gnu/store/6wy32ybajjrdn1nydvp1i0iai6x77jqc-install-bootloader.scm.drv...
>> guix system: bootloader successfully installed on '/dev/sda'
>> guix system: error: exception caught while executing 'eval' on service 'root':
>> Unrecognized keyword: #:file-creation-mask
>
> Can you post the output of 'guix describe' and the config.scm you are
> using?

I can reproduce the error when upgrading (i.e. guix pull and guix system
reconfigure) from commit 74c7f36 to commit aea6ab2. I believe this will
always happen when upgrading from a commit before e3358a8
(gnu: shepherd: Update to 0.8.0.) to any commit starting from 4c0cc7b
(services: syslog: Simplify 'start' method.).

The latter commit changes the syslog-service-type to use a feature
introduced in version 0.8.0 of the Shepherd (the #:file-creation-mask
parameter of make-forkexec-constructor) so when Guix tries to load the
new service definition the current Shepherd (0.7.0) doesn't recognise
the new parameter and we get an error.

The error is harmless since this happens after switching the system
generation and installing the bootloader. But we should probably print
a hint or warning, that some service definitions couldn't be loaded and
that it might be necessary to reboot, instead of an error so that it
doesn't look like reconfigure failed.

Regards,

Diego
?
Your comment

This issue is archived.

To comment on this conversation send an email to 41051@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 41051
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help