GNU bug report logs - #43720
Reconfiguring does not create home directories

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Wed, 30 Sep 2020 11:55:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43720 in the body.
You can then email your comments to 43720 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43720; Package guix. (Wed, 30 Sep 2020 11:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 30 Sep 2020 11:55:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
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





Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 05 Oct 2020 13:50:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 11 Oct 2020 15:29:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Sun, 11 Oct 2020 15:29:02 GMT) Full text and rfc822 format available.

Message #12 received at 43720-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 43720-done <at> debbugs.gnu.org
Subject: Re: bug#43720: Reconfiguring does not create home directories
Date: Sun, 11 Oct 2020 17:28:25 +0200
Hi,

Andreas Enge <andreas <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 09 Nov 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.