Reconfiguring does not create home directories

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
important
A
A
Andreas Enge wrote on 30 Sep 2020 13:53
(address . bug-guix@gnu.org)
20200930115348.GA1632@jurong
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

Andreas
L
L
Ludovic Courtès wrote on 5 Oct 2020 15:49
control message for bug #43720
(address . control@debbugs.gnu.org)
87pn5wye8l.fsf@gnu.org
severity 43720 important
quit
L
L
Ludovic Courtès wrote on 11 Oct 2020 17:28
Re: bug#43720: Reconfiguring does not create home directories
(name . Andreas Enge)(address . andreas@enge.fr)(address . 43720-done@debbugs.gnu.org)
874kn0g4ti.fsf@gnu.org
Hi,

Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (5 lines)
> 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:

Toggle snippet (18 lines)
(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
())))

I believe cda046b3eaeb60f756fa4964c4b2721a2d680192 fixes it.
The bug was probably there since commit
5c793753b31b1dcd9a554bce953124f7ae88ca9a (July 2019).

Thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 43720@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 43720
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch