[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23220: Users' home is not created when initializing with a LUKS /hom
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 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Apr 05, 2016 at 11:32:07AM +0200, Ludovic Courtès wrote:
> merge 23220 21108
> thanks
>
> Leo Famulari <address@hidden> 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 <kyamashita> from #guix had the same problem even though
> > they had unlocked and mounted the partition.
>
> Right, see <http://bugs.gnu.org/21108>.
>
> > 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’.