GNU bug report logs - #21108
Home directory not created when /home is a separate partition

Previous Next

Package: guix;

Reported by: Andy Patterson <ajpatter <at> uwaterloo.ca>

Date: Tue, 21 Jul 2015 23:18:01 UTC

Severity: important

Merged with 23220

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Subject: bug#23220: closed (Re: bug#21108: Home directory not created for
 new users)
Date: Wed, 01 Feb 2017 11:40:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#21108: Users' home is not created when initializing with a LUKS /home

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 23220 <at> debbugs.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)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Andy Patterson <ajpatter <at> uwaterloo.ca>, Leo Famulari <leo <at> famulari.name>
Cc: 21108-done <at> debbugs.gnu.org
Subject: Re: bug#21108: Home directory not created for new users
Date: Wed, 01 Feb 2017 12:39:39 +0100
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’.

[Message part 3 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Users' home is not created when initializing with a LUKS /home
Date: Mon, 4 Apr 2016 20:48:49 -0400
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.



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.