unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23220: Users' home is not created when initializing with a LUKS /home
@ 2016-04-05  0:48 Leo Famulari
  2016-04-05  9:32 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-04-05  0:48 UTC (permalink / raw)
  To: 23220

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23220: Users' home is not created when initializing with a LUKS /home
  2016-04-05  0:48 bug#23220: Users' home is not created when initializing with a LUKS /home Leo Famulari
@ 2016-04-05  9:32 ` Ludovic Courtès
  2016-04-05 19:06   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-04-05  9:32 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 23220, request

merge 23220 21108
thanks

Leo Famulari <leo@famulari.name> 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 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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23220: Users' home is not created when initializing with a LUKS /home
  2016-04-05  9:32 ` Ludovic Courtès
@ 2016-04-05 19:06   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2016-04-05 19:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 23220, request

On Tue, Apr 05, 2016 at 11:32:07AM +0200, Ludovic Courtès wrote:
> merge 23220 21108
> thanks
> 
> Leo Famulari <leo@famulari.name> 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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-05 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05  0:48 bug#23220: Users' home is not created when initializing with a LUKS /home Leo Famulari
2016-04-05  9:32 ` Ludovic Courtès
2016-04-05 19:06   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).