--- Begin Message ---
Subject: |
Users' home is not created when initializing with a LUKS /home |
Date: |
Mon, 4 Apr 2016 20:48:49 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
When initializing a new GuixSD system with /home on an encrypted
partition (as described in the manual), unprivileged users' home
directories are not created.
I initialized the system with the encrypted partition locked and
unmounted, but <kyamashita> from #guix had the same problem even though
they had unlocked and mounted the partition.
Of course, root can create the directories once the new system has
booted, but none of the configuration files are there, which means the
environment is not what is expected (my PATH was '/bin:/usr/bin').
I worked around the problem by removing my user from the operating
system configuration, reconfiguring, putting my user back in the
configuration, and reconfiguring again.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#21108: Home directory not created for new users |
Date: |
Wed, 01 Feb 2017 12:39:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Andy Patterson <address@hidden> skribis:
> Following up on the thread from guix-devel:
> <https://lists.gnu.org/archive/html/guix-devel/2015-07/msg00554.html>
>
> On 0.8.3-pre, after a clean install, users listed in the system
> configuration file do not have a home directory automatically created
> for them in some circumstances. This causes the user to be initially
> unable to login. Specifically, with a separately mounted home folder,
> the folder may not be created. I note that when un-mounting /home, the
> expected folder does appear.
I’m happy to report that this is finally fixed, in commit
ae763b5b0b7d5e7316a3d0efe991fe8ab2261031.
>From now on, home directories of non-system users are created when the
‘file-systems’ Shepherd service is up, i.e., when all the file systems
have been mounted.
Let me know if you spot anything wrong!
Ludo’.
--- End Message ---