From unknown Fri Sep 05 20:36:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21108: Home directory not created for new users Resent-From: Andy Patterson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Jul 2015 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21108 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 21108@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143752064832426 (code B ref -1); Tue, 21 Jul 2015 23:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 23:17:28 +0000 Received: from localhost ([127.0.0.1]:55784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgmu-0008Qw-BC for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60094) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgms-0008Qj-46 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgml-00072g-SZ for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgml-00072W-PQ for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmk-0003Bx-AO for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgmf-000713-HL for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:18 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:54922 helo=psyche.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmf-00070x-Cf for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:13 -0400 Received: from [10.13.0.184] ([69.58.102.156]) (authenticated bits=0) by psyche.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id t6LNHAj7018764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 21 Jul 2015 19:17:13 -0400 From: Andy Patterson X-Enigmail-Draft-Status: N1110 Message-ID: <55AED337.3040806@uwaterloo.ca> Date: Tue, 21 Jul 2015 19:18:15 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030102080601040607030103" X-UUID: b5ad2f64-45b2-4aa1-81bd-4bfb84a24b66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------030102080601040607030103 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Following up on the thread from guix-devel: On 0.8.3-pre, after a clean install, users listed in the system configuration file do not have a home directory automatically created for them in some circumstances. This causes the user to be initially unable to login. Specifically, with a separately mounted home folder, the folder may not be created. I note that when un-mounting /home, the expected folder does appear. --------------030102080601040607030103 Content-Type: text/x-scheme; name="config.scm" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="config.scm" ;; This is an operating system configuration template ;; for a "desktop" setup with X11. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules xfce ratpoison wicd avahi xorg certs) (operating-system (host-name "antelope") (timezone "Europe/Paris") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons* (file-system (device "rootfs") (title 'label) (mount-point "/") (type "ext4")) (file-system (device "boot") (title 'label) (mount-point "/boot") (type "ext2")) (file-system (device "homefs") (title 'label) (mount-point "/home") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "bob") (comment "Alice's brother") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) %base-user-accounts)) ;; Add Xfce and Ratpoison; that allows us to choose ;; sessions using either of these at the log-in screen. (packages (cons* xfce ratpoison ;desktop environments xterm wicd avahi ;useful tools nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --------------030102080601040607030103-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 29 09:22:39 2016 Received: (at control) by debbugs.gnu.org; 29 Feb 2016 14:22:39 +0000 Received: from localhost ([127.0.0.1]:52003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaOid-0001OB-8J for submit@debbugs.gnu.org; Mon, 29 Feb 2016 09:22:39 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:46524) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaOib-0001Nr-NZ for control@debbugs.gnu.org; Mon, 29 Feb 2016 09:22:38 -0500 X-IronPort-AV: E=Sophos;i="5.22,520,1449529200"; d="scan'208";a="166344998" Received: from pluto.bordeaux.inria.fr (HELO pluto) ([193.50.110.57]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 29 Feb 2016 15:22:31 +0100 Date: Mon, 29 Feb 2016 15:22:31 +0100 Message-Id: <87bn6zh9zs.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #21108 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) severity 21108 important From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 18:31:43 2016 Received: (at control) by debbugs.gnu.org; 2 Aug 2016 22:31:43 +0000 Received: from localhost ([127.0.0.1]:53914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUiDv-0000Vd-4X for submit@debbugs.gnu.org; Tue, 02 Aug 2016 18:31:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUiDu-0000Ql-BG for control@debbugs.gnu.org; Tue, 02 Aug 2016 18:31:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUiDk-0000fa-8J for control@debbugs.gnu.org; Tue, 02 Aug 2016 18:31:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUiDk-0000ey-5W for control@debbugs.gnu.org; Tue, 02 Aug 2016 18:31:32 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:56756 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1bUiDi-0001Eq-Gh for control@debbugs.gnu.org; Tue, 02 Aug 2016 18:31:30 -0400 Date: Wed, 03 Aug 2016 00:31:28 +0200 Message-Id: <87mvku7qgv.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #23220 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) merge 23220 21108 From unknown Fri Sep 05 20:36:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andy Patterson Subject: bug#21108: closed (Re: bug#21108: Home directory not created for new users) Message-ID: References: <87o9ymcf7o.fsf@gnu.org> <55AED337.3040806@uwaterloo.ca> X-Gnu-PR-Message: they-closed 21108 X-Gnu-PR-Package: guix Reply-To: 21108@debbugs.gnu.org Date: Wed, 01 Feb 2017 11:40:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1485949202-21452-1" This is a multi-part message in MIME format... ------------=_1485949202-21452-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21108: Home directory not created when /home is a separate partition which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21108@debbugs.gnu.org. --=20 21108: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21108 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1485949202-21452-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21108-done) by debbugs.gnu.org; 1 Feb 2017 11:39:55 +0000 Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYtGV-0005Zb-9K for submit@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYtGT-0005ZP-9Q for 21108-done@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYtGJ-0003LH-Gq for 21108-done@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYtGJ-0003LD-D0; Wed, 01 Feb 2017 06:39:43 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:50224 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cYtGI-00020o-Gs; Wed, 01 Feb 2017 06:39:42 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andy Patterson , Leo Famulari Subject: Re: bug#21108: Home directory not created for new users References: <55AED337.3040806@uwaterloo.ca> Date: Wed, 01 Feb 2017 12:39:39 +0100 In-Reply-To: <55AED337.3040806@uwaterloo.ca> (Andy Patterson's message of "Tue, 21 Jul 2015 19:18:15 -0400") Message-ID: <87o9ymcf7o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21108-done Cc: 21108-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Andy Patterson skribis: > Following up on the thread from guix-devel: > > > On 0.8.3-pre, after a clean install, users listed in the system > configuration file do not have a home directory automatically created > for them in some circumstances. This causes the user to be initially > unable to login. Specifically, with a separately mounted home folder, > the folder may not be created. I note that when un-mounting /home, the > expected folder does appear. I=E2=80=99m happy to report that this is finally fixed, in commit ae763b5b0b7d5e7316a3d0efe991fe8ab2261031. >From now on, home directories of non-system users are created when the =E2=80=98file-systems=E2=80=99 Shepherd service is up, i.e., when all the f= ile systems have been mounted. Let me know if you spot anything wrong! Ludo=E2=80=99. ------------=_1485949202-21452-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 23:17:28 +0000 Received: from localhost ([127.0.0.1]:55784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgmu-0008Qw-BC for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60094) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHgms-0008Qj-46 for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgml-00072g-SZ for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgml-00072W-PQ for submit@debbugs.gnu.org; Tue, 21 Jul 2015 19:17:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmk-0003Bx-AO for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgmf-000713-HL for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:18 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:54922 helo=psyche.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmf-00070x-Cf for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:13 -0400 Received: from [10.13.0.184] ([69.58.102.156]) (authenticated bits=0) by psyche.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id t6LNHAj7018764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 21 Jul 2015 19:17:13 -0400 To: bug-guix@gnu.org From: Andy Patterson Subject: Home directory not created for new users X-Enigmail-Draft-Status: N1110 Message-ID: <55AED337.3040806@uwaterloo.ca> Date: Tue, 21 Jul 2015 19:18:15 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030102080601040607030103" X-UUID: b5ad2f64-45b2-4aa1-81bd-4bfb84a24b66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------030102080601040607030103 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Following up on the thread from guix-devel: On 0.8.3-pre, after a clean install, users listed in the system configuration file do not have a home directory automatically created for them in some circumstances. This causes the user to be initially unable to login. Specifically, with a separately mounted home folder, the folder may not be created. I note that when un-mounting /home, the expected folder does appear. --------------030102080601040607030103 Content-Type: text/x-scheme; name="config.scm" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="config.scm" ;; This is an operating system configuration template ;; for a "desktop" setup with X11. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules xfce ratpoison wicd avahi xorg certs) (operating-system (host-name "antelope") (timezone "Europe/Paris") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons* (file-system (device "rootfs") (title 'label) (mount-point "/") (type "ext4")) (file-system (device "boot") (title 'label) (mount-point "/boot") (type "ext2")) (file-system (device "homefs") (title 'label) (mount-point "/home") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "bob") (comment "Alice's brother") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) %base-user-accounts)) ;; Add Xfce and Ratpoison; that allows us to choose ;; sessions using either of these at the log-in screen. (packages (cons* xfce ratpoison ;desktop environments xterm wicd avahi ;useful tools nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --------------030102080601040607030103-- ------------=_1485949202-21452-1-- From unknown Fri Sep 05 20:36:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo Famulari Subject: bug#23220: closed (Re: bug#21108: Home directory not created for new users) Message-ID: References: <87o9ymcf7o.fsf@gnu.org> <20160405004849.GA22967@jasmine> X-Gnu-PR-Message: they-closed 23220 X-Gnu-PR-Package: guix Reply-To: 23220@debbugs.gnu.org Date: Wed, 01 Feb 2017 11:40:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1485949202-21452-3" This is a multi-part message in MIME format... ------------=_1485949202-21452-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21108: Users' home is not created when initializing with a LUKS /home which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23220@debbugs.gnu.org. --=20 21108: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21108 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1485949202-21452-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21108-done) by debbugs.gnu.org; 1 Feb 2017 11:39:55 +0000 Received: from localhost ([127.0.0.1]:52886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYtGV-0005Zb-9K for submit@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYtGT-0005ZP-9Q for 21108-done@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYtGJ-0003LH-Gq for 21108-done@debbugs.gnu.org; Wed, 01 Feb 2017 06:39:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYtGJ-0003LD-D0; Wed, 01 Feb 2017 06:39:43 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:50224 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cYtGI-00020o-Gs; Wed, 01 Feb 2017 06:39:42 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andy Patterson , Leo Famulari Subject: Re: bug#21108: Home directory not created for new users References: <55AED337.3040806@uwaterloo.ca> Date: Wed, 01 Feb 2017 12:39:39 +0100 In-Reply-To: <55AED337.3040806@uwaterloo.ca> (Andy Patterson's message of "Tue, 21 Jul 2015 19:18:15 -0400") Message-ID: <87o9ymcf7o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21108-done Cc: 21108-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Andy Patterson skribis: > Following up on the thread from guix-devel: > > > On 0.8.3-pre, after a clean install, users listed in the system > configuration file do not have a home directory automatically created > for them in some circumstances. This causes the user to be initially > unable to login. Specifically, with a separately mounted home folder, > the folder may not be created. I note that when un-mounting /home, the > expected folder does appear. I=E2=80=99m happy to report that this is finally fixed, in commit ae763b5b0b7d5e7316a3d0efe991fe8ab2261031. >From now on, home directories of non-system users are created when the =E2=80=98file-systems=E2=80=99 Shepherd service is up, i.e., when all the f= ile systems have been mounted. Let me know if you spot anything wrong! Ludo=E2=80=99. ------------=_1485949202-21452-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Apr 2016 00:49:08 +0000 Received: from localhost ([127.0.0.1]:51520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anFB5-0006Hf-UA for submit@debbugs.gnu.org; Mon, 04 Apr 2016 20:49:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anFB4-0006HA-2D for submit@debbugs.gnu.org; Mon, 04 Apr 2016 20:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anFAy-0000D4-3z for submit@debbugs.gnu.org; Mon, 04 Apr 2016 20:49:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anFAy-0000D0-0k for submit@debbugs.gnu.org; Mon, 04 Apr 2016 20:49:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anFAx-0005nr-1x for bug-guix@gnu.org; Mon, 04 Apr 2016 20:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anFAs-0000CM-21 for bug-guix@gnu.org; Mon, 04 Apr 2016 20:48:58 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anFAr-0000Bf-Ul for bug-guix@gnu.org; Mon, 04 Apr 2016 20:48:53 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 35E0B20512; Mon, 4 Apr 2016 20:48:52 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 04 Apr 2016 20:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=y1p+8cj7fVCX8PRXvZIS/jyyTWc =; b=ZESaf7g8cidtWk76VhcNgf4CFWshCTObAglj3Dgn2QACi3PzSDVT9KxqVW6 ReNQ+HDMlXD019UyWLm6CK92GvdQbelTPVRkUuAbJnmNEFGUqSvVYYrdMKvpmiJr eM8VVKpv8u77xHanfTAA9qnyQMTZbdlhtj8APveU74Q0D0fQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=y1 p+8cj7fVCX8PRXvZIS/jyyTWc=; b=JSo9Oy7sGxD16sV3HDVY0qXQiNfTW+xMBE sigByxvZ0U67+M7uFRvgbNKE/jAguyUgJKZ5wF1oYnRu4nm0BKJxFaNo/YdCIKbr 65YyTMtXq1AotuXfh3lHXWye20DXP5GAGcCTz8YLNPA2lbFitqLu7oEWw2FXFBhx vzRrHCG1Y= X-Sasl-enc: oyWZQY15GUGAKbXzhKL5C2pp2hKV4R+4T1hz2e7ZNxTi 1459817331 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id ED06F68013E for ; Mon, 4 Apr 2016 20:48:51 -0400 (EDT) Date: Mon, 4 Apr 2016 20:48:49 -0400 From: Leo Famulari To: bug-guix@gnu.org Subject: Users' home is not created when initializing with a LUKS /home Message-ID: <20160405004849.GA22967@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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 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. ------------=_1485949202-21452-3--