GNU bug report logs -
#24335
Error when invoking usermod while reconfiguring
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Tue, 30 Aug 2016 05:45:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
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 24335 in the body.
You can then email your comments to 24335 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#24335
; Package
guix
.
(Tue, 30 Aug 2016 05:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 30 Aug 2016 05:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
While reconfiguring my GuixSD system from 1062f2451 (gnu: Add stagit),
the process fails as show below.
When I revert 2d1a2f4af (system: Add 'create-home-directory?' field to
<user-account>) and the associated commit cb58b2cd, the reconfigure
completes successfully.
[...]
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/xsmb4mfnm2m10zmdiszsdah7wjwvfb5z-etc...
usermod: no changes
Backtrace:
In guix/ui.scm:
1190: 19 [run-guix-command system "reconfigure" ...]
In ice-9/boot-9.scm:
157: 18 [catch srfi-34 #<procedure 659b460 at guix/ui.scm:423:2 ()> ...]
157: 17 [catch system-error #<procedure 4fa6f60 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
481: 16 [lp (#<fluid 32>) (#t)]
In ice-9/r4rs.scm:
90: 15 [dynamic-wind #<procedure 5391be0 at ice-9/boot-9.scm:1133:2 _> ...]
In guix/store.scm:
1182: 14 [run-with-store # #<procedure 2d34f90 at ice-9/eval.scm:416:20 (a)> # ...]
In ice-9/r4rs.scm:
39: 13 [call-with-values #<procedure 671a960 at ice-9/eval.scm:416:20 ()> ...]
In ice-9/eval.scm:
386: 12 [eval #<memoized ((<3> <1>) <0>)> (# # # ...)]
432: 11 [eval # #]
In ice-9/r4rs.scm:
90: 10 [dynamic-wind #<procedure adea900 at ice-9/boot-9.scm:1133:2 _> ...]
90: 9 [dynamic-wind #<procedure adea800 at ice-9/boot-9.scm:1133:2 _> ...]
In unknown file:
?: 8 [primitive-load "/gnu/store/ikbva4qvlgxppdy522qn6graq05g3b8p-activate"]
In ice-9/eval.scm:
432: 7 [eval # ()]
In ice-9/boot-9.scm:
768: 6 [for-each #<procedure primitive-load (_)> #]
In unknown file:
?: 5 [primitive-load "/gnu/store/rx8dd8z03xcf252c9xrzz9dipbliql6a-activate-service"]
In ./gnu/build/activation.scm:
252: 4 [activate-users+groups (# # # # ...) (# # # # ...)]
In srfi/srfi-1.scm:
616: 3 [for-each #<procedure activate-user (expr)> (# # # # ...)]
In ./gnu/build/activation.scm:
217: 2 [activate-user ("guixbuilder01" 30001 "guixbuild" ...)]
177: 1 [modify-user "guixbuilder01" "guixbuild" ...]
In unknown file:
?: 0 [system* "usermod" "-u" ...]
ERROR: In procedure system*:
ERROR: Wrong type (expecting string): #t
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24335
; Package
guix
.
(Tue, 30 Aug 2016 10:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24335 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari (2016-08-30 08:44 +0300) wrote:
> While reconfiguring my GuixSD system from 1062f2451 (gnu: Add stagit),
> the process fails as show below.
>
> When I revert 2d1a2f4af (system: Add 'create-home-directory?' field to
> <user-account>) and the associated commit cb58b2cd, the reconfigure
> completes successfully.
This "... create-home-directory? ..." commit is eb56ee027 actually:
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=eb56ee027b4c6b5682f69fa885d16e55c4495bd8
> [...]
> In unknown file:
> ?: 0 [system* "usermod" "-u" ...]
>
> ERROR: In procedure system*:
> ERROR: Wrong type (expecting string): #t
I think that commit is an ABI-breaking thing. Try to do "make clean-go"
and remake the guix checkout again.
Specifically, that commit didn't touch (gnu services base) module, so
'guix-build-accounts' procedure still produces guixbuilder users
accounts in an "old" format. It's just my guess though, but "make
clean-go" should work.
--
Alex
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24335
; Package
guix
.
(Tue, 30 Aug 2016 15:59:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 24335 <at> debbugs.gnu.org (full text, mbox):
Alex Kost <alezost <at> gmail.com> skribis:
> Leo Famulari (2016-08-30 08:44 +0300) wrote:
>
>> While reconfiguring my GuixSD system from 1062f2451 (gnu: Add stagit),
>> the process fails as show below.
>>
>> When I revert 2d1a2f4af (system: Add 'create-home-directory?' field to
>> <user-account>) and the associated commit cb58b2cd, the reconfigure
>> completes successfully.
>
> This "... create-home-directory? ..." commit is eb56ee027 actually:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=eb56ee027b4c6b5682f69fa885d16e55c4495bd8
>
>> [...]
>> In unknown file:
>> ?: 0 [system* "usermod" "-u" ...]
>>
>> ERROR: In procedure system*:
>> ERROR: Wrong type (expecting string): #t
>
> I think that commit is an ABI-breaking thing. Try to do "make clean-go"
> and remake the guix checkout again.
Indeed, you’re right. Sorry for not mentioning it earlier.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24335
; Package
guix
.
(Tue, 30 Aug 2016 18:13:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 24335 <at> debbugs.gnu.org (full text, mbox):
On Tue, Aug 30, 2016 at 01:18:06PM +0300, Alex Kost wrote:
> This "... create-home-directory? ..." commit is eb56ee027 actually:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=eb56ee027b4c6b5682f69fa885d16e55c4495bd8
Oops, I copied the commit hashes of my reversions.
> > [...]
> > In unknown file:
> > ?: 0 [system* "usermod" "-u" ...]
> >
> > ERROR: In procedure system*:
> > ERROR: Wrong type (expecting string): #t
>
> I think that commit is an ABI-breaking thing. Try to do "make clean-go"
> and remake the guix checkout again.
>
> Specifically, that commit didn't touch (gnu services base) module, so
> 'guix-build-accounts' procedure still produces guixbuilder users
> accounts in an "old" format. It's just my guess though, but "make
> clean-go" should work.
I ended up needing to use `make clean`, but everything worked after
that. Thanks!
Reply sent
to
Leo Famulari <leo <at> famulari.name>
:
You have taken responsibility.
(Tue, 30 Aug 2016 18:13:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Leo Famulari <leo <at> famulari.name>
:
bug acknowledged by developer.
(Tue, 30 Aug 2016 18:13:03 GMT)
Full text and
rfc822 format available.
Message #19 received at 24335-done <at> debbugs.gnu.org (full text, mbox):
On Tue, Aug 30, 2016 at 01:18:06PM +0300, Alex Kost wrote:
> Leo Famulari (2016-08-30 08:44 +0300) wrote:
>
> > While reconfiguring my GuixSD system from 1062f2451 (gnu: Add stagit),
> > the process fails as show below.
> >
> > When I revert 2d1a2f4af (system: Add 'create-home-directory?' field to
> > <user-account>) and the associated commit cb58b2cd, the reconfigure
> > completes successfully.
>
> This "... create-home-directory? ..." commit is eb56ee027 actually:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=eb56ee027b4c6b5682f69fa885d16e55c4495bd8
>
> > [...]
> > In unknown file:
> > ?: 0 [system* "usermod" "-u" ...]
> >
> > ERROR: In procedure system*:
> > ERROR: Wrong type (expecting string): #t
>
> I think that commit is an ABI-breaking thing. Try to do "make clean-go"
> and remake the guix checkout again.
>
> Specifically, that commit didn't touch (gnu services base) module, so
> 'guix-build-accounts' procedure still produces guixbuilder users
> accounts in an "old" format. It's just my guess though, but "make
> clean-go" should work.
>
> --
> Alex
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Sep 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.