From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#23220: Users' home is not created when initializing with a LUKS /home Date: Tue, 5 Apr 2016 15:06:12 -0400 Message-ID: <20160405190612.GA8332@jasmine> References: <20160405004849.GA22967@jasmine> <87pou4wgdk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anWJe-0008Cf-Ah for bug-guix@gnu.org; Tue, 05 Apr 2016 15:07:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anWJa-0005K2-Eq for bug-guix@gnu.org; Tue, 05 Apr 2016 15:07:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anWJa-0005Jy-BY for bug-guix@gnu.org; Tue, 05 Apr 2016 15:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1anWJa-0007UO-3b for bug-guix@gnu.org; Tue, 05 Apr 2016 15:07:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87pou4wgdk.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23220@debbugs.gnu.org, request@debbugs.gnu.org On Tue, Apr 05, 2016 at 11:32:07AM +0200, Ludovic Courtès wrote: > merge 23220 21108 > thanks > > Leo Famulari skribis: > > > 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 from #guix had the same problem even though > > they had unlocked and mounted the partition. > > Right, see . > > > 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'). > > In which case did you get this value of PATH? I now realize that I had used, as root, `su leo`. When using `su -l leo` I get the correct PATH. I'm not sure if getting the login shell would have helped or not in that situation, but I think this part of my complaint is invalid for now. > > 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. > > Definitely not great. > > Thanks, > Ludo’.