--- Begin Message ---
Subject: |
Reconfiguring does not create home directories |
Date: |
Wed, 30 Sep 2020 13:53:48 +0200 |
Hello,
when adding new users to a Guix system configuration and reconfiguring,
their home directories are not created. It has happened a few times when
creating accounts for interns on bayfront, and it has happened right now
with Danny's account on dover.
This behaviour seems to contradict the documentation at
https://guix.gnu.org/manual/en/guix.html#User-Accounts
Andreas
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#43720: Reconfiguring does not create home directories |
Date: |
Sun, 11 Oct 2020 17:28:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi,
Andreas Enge <andreas@enge.fr> skribis:
> when adding new users to a Guix system configuration and reconfiguring,
> their home directories are not created. It has happened a few times when
> creating accounts for interns on bayfront, and it has happened right now
> with Danny's account on dover.
I can confirm it with 7607ace5091aea0157ba5c8a508129cc5fc4f931:
‘user-homes’ is not restarted. If we look at the
‘upgrade-shepherd-services.scm’ file generated for the system, it reads:
--8<---------------cut here---------------start------------->8---
(begin
(use-modules
(gnu services herd)
(srfi srfi-1))
(parameterize
((shepherd-message-port
(%make-void-port "w")))
(load-services/safe
(quote
("/gnu/store/cl33si9nbny96p2chf3swcl1l6pbxdr3-shepherd-file-systems.scm"
…))))
(for-each unload-service
(quote
()))
(for-each start-service
(quote
())))
--8<---------------cut here---------------end--------------->8---
I believe cda046b3eaeb60f756fa4964c4b2721a2d680192 fixes it.
The bug was probably there since commit
5c793753b31b1dcd9a554bce953124f7ae88ca9a (July 2019).
Thanks!
Ludo’.
--- End Message ---