diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-18 10:08:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-18 10:55:16 +0200 |
commit | 41f76ae08a7a830cdeb1eaac271d714cb58fbce3 (patch) | |
tree | f43d38cdd14456d698bbd09927e78cb6fe383f30 /guix/build | |
parent | a20e00ddaf343c8bebc608ebe59c4204deb065d1 (diff) |
services: user-homes: Do not create home directories marked as no-create.
Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.
* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
Diffstat (limited to 'guix/build')
0 files changed, 0 insertions, 0 deletions