GNU bug report logs -
#21108
Home directory not created when /home is a separate partition
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 01 Feb 2017 12:39:39 +0100
with message-id <87o9ymcf7o.fsf <at> gnu.org>
and subject line Re: bug#21108: Home directory not created for new users
has caused the debbugs.gnu.org bug report #21108,
regarding Users' home is not created when initializing with a LUKS /home
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
21108: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21108
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
Hello,
Andy Patterson <ajpatter <at> uwaterloo.ca> 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’.
This bug report was last modified 8 years and 190 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.