unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41051: [guix-1.1.0] guix system failed
@ 2020-05-03 15:02 wensheng xie
  2020-05-03 23:16 ` Marius Bakke
  2020-05-04 10:03 ` wensheng xie
  0 siblings, 2 replies; 5+ messages in thread
From: wensheng xie @ 2020-05-03 15:02 UTC (permalink / raw)
  To: 41051

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

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 #2: Type: text/html, Size: 1844 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#41051: [guix-1.1.0] guix system failed
  2020-05-03 15:02 bug#41051: [guix-1.1.0] guix system failed wensheng xie
@ 2020-05-03 23:16 ` Marius Bakke
  2020-05-04 10:03 ` wensheng xie
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2020-05-03 23:16 UTC (permalink / raw)
  To: wensheng xie, 41051

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#41051: [guix-1.1.0] guix system failed
  2020-05-03 15:02 bug#41051: [guix-1.1.0] guix system failed wensheng xie
  2020-05-03 23:16 ` Marius Bakke
@ 2020-05-04 10:03 ` wensheng xie
  2020-05-04 16:14   ` Marius Bakke
  2020-05-04 16:29   ` Diego Nicola Barbato
  1 sibling, 2 replies; 5+ messages in thread
From: wensheng xie @ 2020-05-04 10:03 UTC (permalink / raw)
  To: Marius Bakke, 41051@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 1725 bytes --]

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?

[-- Attachment #1.2: Type: text/html, Size: 3396 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: config.scm --]
[-- Type: text/x-scheme; name="config.scm", Size: 1640 bytes --]

;; 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)))

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#41051: [guix-1.1.0] guix system failed
  2020-05-04 10:03 ` wensheng xie
@ 2020-05-04 16:14   ` Marius Bakke
  2020-05-04 16:29   ` Diego Nicola Barbato
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2020-05-04 16:14 UTC (permalink / raw)
  To: wensheng xie, 41051@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

wensheng xie <xiewensheng@hotmail.com> writes:

> 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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#41051: [guix-1.1.0] guix system failed
  2020-05-04 10:03 ` wensheng xie
  2020-05-04 16:14   ` Marius Bakke
@ 2020-05-04 16:29   ` Diego Nicola Barbato
  1 sibling, 0 replies; 5+ messages in thread
From: Diego Nicola Barbato @ 2020-05-04 16:29 UTC (permalink / raw)
  To: wensheng xie; +Cc: 41051@debbugs.gnu.org

Hi,

wensheng xie <xiewensheng@hotmail.com> writes:

> 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-04 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-03 15:02 bug#41051: [guix-1.1.0] guix system failed wensheng xie
2020-05-03 23:16 ` Marius Bakke
2020-05-04 10:03 ` wensheng xie
2020-05-04 16:14   ` Marius Bakke
2020-05-04 16:29   ` Diego Nicola Barbato

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).