* Fail to configure home-directory
@ 2018-03-26 18:38 Pierre Neidhardt
2018-03-27 12:52 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2018-03-26 18:38 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
I'm hitting issues when setting the home folder.
The default home is /home/ambrevar. If I change `home-directory' to
"/foo" and run `guix system reconfigure' then "/foo" is created but the
home folder is still "/home/ambrevar".
Furthermore, I cannot mount a filesystem as /home:
```
(file-system
(device "home")
(title 'label)
(mount-point "/home")
(type "ext4"))
```
Running `guix system reconfigure' hangs after the `usermod...' changes.
Not sure about how to print more debug details.
Did I hit a bug?
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fail to configure home-directory
2018-03-26 18:38 Fail to configure home-directory Pierre Neidhardt
@ 2018-03-27 12:52 ` Ludovic Courtès
2018-03-28 18:59 ` Pierre Neidhardt
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-03-27 12:52 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Hello,
Pierre Neidhardt <ambrevar@gmail.com> skribis:
> I'm hitting issues when setting the home folder.
>
> The default home is /home/ambrevar. If I change `home-directory' to
> "/foo" and run `guix system reconfigure' then "/foo" is created but the
> home folder is still "/home/ambrevar".
Oops, that’s a bug that should be fixed now:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=82b71ac366ef154400653d264b46b7aa3520f393
> Furthermore, I cannot mount a filesystem as /home:
>
> ```
> (file-system
> (device "home")
> (title 'label)
> (mount-point "/home")
> (type "ext4"))
> ```
>
> Running `guix system reconfigure' hangs after the `usermod...' changes.
> Not sure about how to print more debug details.
Does /var/log/messages or /var/log/shepherd.log have more info?
TIA,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fail to configure home-directory
2018-03-27 12:52 ` Ludovic Courtès
@ 2018-03-28 18:59 ` Pierre Neidhardt
2018-03-31 17:16 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2018-03-28 18:59 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Oops, that’s a bug that should be fixed now:
>
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=82b71ac366ef154400653d264b46b7aa3520f393
It works, thanks!
>> Furthermore, I cannot mount a filesystem as /home:
>>
>> ```
>> (file-system
>> (device "home")
>> (title 'label)
>> (mount-point "/home")
>> (type "ext4"))
>> ```
>>
>> Running `guix system reconfigure' hangs after the `usermod...' changes.
>> Not sure about how to print more debug details.
>
> Does /var/log/messages or /var/log/shepherd.log have more info?
/var/log/shepherd.log does not log anything from the `guix system
reconfigure...`.
Reconfiguring with --verbosity=10 fails with the following:
| lock released on `/gnu/store/qz82gly176p51n82j60rx9aadqxyrm0k-grub.cfg.lock'
| building of `/gnu/store/xhg2rknd3yvhhb5vsalwwz14kf6184v1-grub.cfg.drv': goal destroyed
guix system: error: build failed: | | | bind mounting `/dev/full' to `/gnu/store/xhg2rknd3yvhhb5vsalwwz14kf6184v1-grub.cfg.drv.chroot/dev/full'
I've managed to work around the issue:
- Moving the mount point of "LABEL=home" from /mnt to /foo did not work.
- After a failure, all subsequent `guix system reconfigure` fail, even
the original, working configuration.
- After a fresh system boot, commenting out the filesystem configuration
of LABEL=home works. I rebooted after that. From then, I re-added
the entry for LABEL=home with the new mount point /home. It worked
after a reboot.
Something is fishiy...
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fail to configure home-directory
2018-03-28 18:59 ` Pierre Neidhardt
@ 2018-03-31 17:16 ` Ludovic Courtès
2018-04-01 13:16 ` Pierre Neidhardt
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-03-31 17:16 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Pierre Neidhardt <ambrevar@gmail.com> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Oops, that’s a bug that should be fixed now:
>>
>> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=82b71ac366ef154400653d264b46b7aa3520f393
>
> It works, thanks!
>
>>> Furthermore, I cannot mount a filesystem as /home:
>>>
>>> ```
>>> (file-system
>>> (device "home")
>>> (title 'label)
>>> (mount-point "/home")
>>> (type "ext4"))
>>> ```
>>>
>>> Running `guix system reconfigure' hangs after the `usermod...' changes.
>>> Not sure about how to print more debug details.
>>
>> Does /var/log/messages or /var/log/shepherd.log have more info?
>
> /var/log/shepherd.log does not log anything from the `guix system
> reconfigure...`.
What about /var/log/messages?
> I've managed to work around the issue:
>
> - Moving the mount point of "LABEL=home" from /mnt to /foo did not work.
>
> - After a failure, all subsequent `guix system reconfigure` fail, even
> the original, working configuration.
>
> - After a fresh system boot, commenting out the filesystem configuration
> of LABEL=home works. I rebooted after that. From then, I re-added
> the entry for LABEL=home with the new mount point /home. It worked
> after a reboot.
>
> Something is fishiy...
Hmm…
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fail to configure home-directory
2018-03-31 17:16 ` Ludovic Courtès
@ 2018-04-01 13:16 ` Pierre Neidhardt
2018-04-03 11:23 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2018-04-01 13:16 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 3954 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
>>>> Running `guix system reconfigure' hangs after the `usermod...' changes.
>>>> Not sure about how to print more debug details.
>>>
>>> Does /var/log/messages or /var/log/shepherd.log have more info?
>>
>> /var/log/shepherd.log does not log anything from the `guix system
>> reconfigure...`.
>
> What about /var/log/messages?
Sorry, I forgot about that one. Starting at 18:42:53:
Apr 1 18:26:14 localhost -- MARK --
Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/hosts` was deleted, removing watch
Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/hosts` was created, adding watch
Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/services` was deleted, removing watch
Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/services` was created, adding watch
Apr 1 18:42:53 localhost NetworkManager[369]: <info> [1522588373.7196] settings: hostname changed from (none) to "mimimi"
Apr 1 18:42:53 localhost shepherd[1]: Removing service 'user-homes'...
Apr 1 18:42:53 localhost shepherd[1]: Done.
Apr 1 18:42:53 localhost shepherd[1]: Removing service 'term-auto'...
Apr 1 18:42:53 localhost shepherd[1]: Done.
Apr 1 18:42:53 localhost shepherd[1]: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?).
Apr 1 18:42:53 localhost shepherd[1]: GNU Guile 2.2.3
Apr 1 18:42:53 localhost shepherd[1]: Copyright (C) 1995-2017 Free Software Foundation, Inc.
Apr 1 18:42:53 localhost shepherd[1]: Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
Apr 1 18:42:53 localhost shepherd[1]: This program is free software, and you are welcome to redistribute it
Apr 1 18:42:53 localhost shepherd[1]: under certain conditions; type `,show c' for
Apr 1 18:42:53 localhost shepherd[1]: details.
Apr 1 18:42:53 localhost shepherd[1]: Enter `,help' for help.
Also here is the output:
> sudo guix system reconfigure ~/dotfiles/.guix-config/config.scm
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/6p2mf90icfgkgn0pdcb058mwxl5hndn8-system.drv
/gnu/store/74s08vh7wk5hg9cd4n2z8irwkznsf0ng-grub.cfg.drv
/gnu/store/s4l9g12y5vp36br7w1nrz9a8zkpwx681-shepherd-file-system--foo.scm.drv
/gnu/store/s2y5f319phq54lf70qga49kwncn8cyab-shepherd-user-file-systems.scm.drv
/gnu/store/dp2ks3cmmikrgbkwjvbgfaak55lkibpc-shepherd-file-systems.scm.drv
/gnu/store/vzwqn0w5xxgnnbj4x1awgm3s7qssgiz9-shepherd.conf.drv
/gnu/store/r2njdfp6hkljsrnpnxjcj9m602v1c8wb-activate-service.drv
/gnu/store/0zr1nagvqrd407z786bfpd482570235j-activate.drv
/gnu/store/yswg9qnggnb9x02mffl27aaq6bp4wcxf-boot.drv
/gnu/store/ljp98sn46aqi7vsg3fwpxisphwm7psw3-etc.drv
/gnu/store/j85yjy5sxjlzkcm64f5knkhm9wpy2hd1-system
/gnu/store/sdlvf4aps75cpkjck73iy5c65gm9iby8-grub.cfg
/gnu/store/lb5q7l4yfaqwfb2hxi5q73z3p6pnhpm1-grub-efi-2.02
/gnu/store/kh3bl4qrmkr6wfacdd8dkqkw16n3l0bp-bootloader-installer
activating system...
making '/gnu/store/j85yjy5sxjlzkcm64f5knkhm9wpy2hd1-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/mv3hpjkfv4qgid27fx590lmly25rxrad-etc...
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
usermod: no changes
guix system: unloading service 'user-homes'...
shepherd: Removing service 'user-homes'...
shepherd: Done.
guix system: unloading service 'term-auto'...
shepherd: Removing service 'term-auto'...
shepherd: Done.
guix system: loading new services: file-system-/foo user-homes term-auto...
shepherd: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?).
--
Pierre Neidhardt
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fail to configure home-directory
2018-04-01 13:16 ` Pierre Neidhardt
@ 2018-04-03 11:23 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2018-04-03 11:23 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
Hello Pierre,
Pierre Neidhardt <ambrevar@gmail.com> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>>>>> Running `guix system reconfigure' hangs after the `usermod...' changes.
>>>>> Not sure about how to print more debug details.
>>>>
>>>> Does /var/log/messages or /var/log/shepherd.log have more info?
>>>
>>> /var/log/shepherd.log does not log anything from the `guix system
>>> reconfigure...`.
>>
>> What about /var/log/messages?
>
> Sorry, I forgot about that one. Starting at 18:42:53:
>
> Apr 1 18:26:14 localhost -- MARK --
> Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/hosts` was deleted, removing watch
> Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/hosts` was created, adding watch
> Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/services` was deleted, removing watch
> Apr 1 18:42:53 localhost nscd: 329 monitored file `/etc/services` was created, adding watch
> Apr 1 18:42:53 localhost NetworkManager[369]: <info> [1522588373.7196] settings: hostname changed from (none) to "mimimi"
> Apr 1 18:42:53 localhost shepherd[1]: Removing service 'user-homes'...
> Apr 1 18:42:53 localhost shepherd[1]: Done.
> Apr 1 18:42:53 localhost shepherd[1]: Removing service 'term-auto'...
> Apr 1 18:42:53 localhost shepherd[1]: Done.
> Apr 1 18:42:53 localhost shepherd[1]: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?).
> Apr 1 18:42:53 localhost shepherd[1]: GNU Guile 2.2.3
> Apr 1 18:42:53 localhost shepherd[1]: Copyright (C) 1995-2017 Free Software Foundation, Inc.
> Apr 1 18:42:53 localhost shepherd[1]: Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> Apr 1 18:42:53 localhost shepherd[1]: This program is free software, and you are welcome to redistribute it
> Apr 1 18:42:53 localhost shepherd[1]: under certain conditions; type `,show c' for
> Apr 1 18:42:53 localhost shepherd[1]: details.
> Apr 1 18:42:53 localhost shepherd[1]: Enter `,help' for help.
OK, this is an instance of an old bug that needs to be fixed:
<https://bugs.gnu.org/23697>.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-04-03 11:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 18:38 Fail to configure home-directory Pierre Neidhardt
2018-03-27 12:52 ` Ludovic Courtès
2018-03-28 18:59 ` Pierre Neidhardt
2018-03-31 17:16 ` Ludovic Courtès
2018-04-01 13:16 ` Pierre Neidhardt
2018-04-03 11:23 ` Ludovic Courtès
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).