From unknown Sat Aug 09 20:34:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35341: Guix System installer does not set up passwords and profile directories Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Apr 2019 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35341 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35341@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15557649854039 (code B ref -1); Sat, 20 Apr 2019 12:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2019 12:56:25 +0000 Received: from localhost ([127.0.0.1]:45911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHpXd-000135-6E for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHpXa-00012p-IF for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:55658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHpXV-0003CG-1O for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHpXU-0005JJ-47 for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:16 -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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHpXS-0003Aw-SZ for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:16 -0400 Received: from pelzflorian.de ([5.45.111.108]:56028 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHpXR-00039G-W7 for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:14 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5F9DD360038 for ; Sat, 20 Apr 2019 14:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1555764972; bh=NDpwSW5YU/NDa7whg6SZ6xPjyFPadJngBbFIXikL6M8=; h=Date:From:To:Subject; b=DInjkuERE/m1qfGNhbxt/eTA9lc1aqbDxt1nkmE16HmFV60YikeZ8ZuXW5hpEO4SH I8hzt/mkNgDJFsPvzERVtnY8PX9uP3lSs+sT4K7YynY3kqrvYioR9BZ/MnfkYopsf0 zuG5PcBTHmhX709YStXxLrTdYBQwKtkfhLVCz51Q= Date: Sat, 20 Apr 2019 14:56:11 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) I installed Guix System from a USB flash drive from the current git master. The manual describes I should set up a password with passwd. I think the installer should automate this, so users do not need to know the passwd command. After setting a password with `passwd florian` and logging in as florian, I run `guix pull`. This yields the following error: pull: error: while creating directory `/var/guix/profiles/per-user/florian': Permission denied hint: Please create the `/var/guix/profiles/per-user/florian' directory, with you as the owner. This persists after a reboot. sudo mkdir /var/guix/profiles/per-user/florian sudo chown florian:users /var/guix/profiles/per-user/florian fixes the issue, but the installer should do this automatically. Regards, Florian From unknown Sat Aug 09 20:34:29 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: "pelzflorian (Florian Pelz)" Subject: bug#35341: closed (Re: bug#35341: Guix System installer does not set up passwords and profile directories) Message-ID: References: <87zhoi1hpg.fsf@gnu.org> <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> X-Gnu-PR-Message: they-closed 35341 X-Gnu-PR-Package: guix Reply-To: 35341@debbugs.gnu.org Date: Mon, 22 Apr 2019 10:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1555927382-23253-1" This is a multi-part message in MIME format... ------------=_1555927382-23253-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35341: Guix System installer does not set up passwords and profile directo= ries 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 35341@debbugs.gnu.org. --=20 35341: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35341 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1555927382-23253-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35341-done) by debbugs.gnu.org; 22 Apr 2019 10:02:16 +0000 Received: from localhost ([127.0.0.1]:49766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVmC-00061z-HG for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:02:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVm9-00061g-6R for 35341-done@debbugs.gnu.org; Mon, 22 Apr 2019 06:02:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIVm2-0007Kd-Mo; Mon, 22 Apr 2019 06:02:07 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=37020 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hIVm1-0001Se-PQ; Mon, 22 Apr 2019 06:02:06 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35341: Guix System installer does not set up passwords and profile directories References: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Flor=C3=A9al?= an 227 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 22 Apr 2019 12:02:03 +0200 In-Reply-To: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 20 Apr 2019 14:56:11 +0200") Message-ID: <87zhoi1hpg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35341-done Cc: 35341-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: -3.3 (---) Hello Florian, "pelzflorian (Florian Pelz)" skribis: > I installed Guix System from a USB flash drive from the current git > master. The manual describes I should set up a password with passwd. > I think the installer should automate this, so users do not need to > know the passwd command. I=E2=80=99ll open a separate bug for that. > After setting a password with `passwd florian` and logging in > as florian, I run `guix pull`. This yields the following error: > > pull: error: while creating directory `/var/guix/profiles/per-user/floria= n': Permission denied > hint: Please create the `/var/guix/profiles/per-user/florian' directory, = with you > as the owner. Oh, got it. On a fresh system (one can check with =E2=80=98guix system vm bare-bones.tm= pl=E2=80=99 for instance), /var/guix/profiles/per-user is 555 and root-owned, so not writable. Then, the first time a client such as =E2=80=98guix package=E2=80=99 connec= ts to the daemon, the daemon chmods /var/guix/profiles/per-user to 777 (world-writable), see local-store.cc:89. Next, =E2=80=98guix package=E2=80=99 calls =E2=80=98ensure-default-profile= =E2=80=99, which creates /var/guix/profiles/per-user/$USER. The problem with =E2=80=98guix pull=E2=80=99 is that it would call =E2=80=98ensure-default-profile=E2=80=99 before it has connected to the dae= mon. Fixed in a06a95baffc2005ad1a64c4c3f82fc328e0d0009. Thanks, Ludo=E2=80=99. ------------=_1555927382-23253-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Apr 2019 12:56:25 +0000 Received: from localhost ([127.0.0.1]:45911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHpXd-000135-6E for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHpXa-00012p-IF for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:55658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHpXV-0003CG-1O for submit@debbugs.gnu.org; Sat, 20 Apr 2019 08:56:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHpXU-0005JJ-47 for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:16 -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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHpXS-0003Aw-SZ for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:16 -0400 Received: from pelzflorian.de ([5.45.111.108]:56028 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHpXR-00039G-W7 for bug-guix@gnu.org; Sat, 20 Apr 2019 08:56:14 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5F9DD360038 for ; Sat, 20 Apr 2019 14:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1555764972; bh=NDpwSW5YU/NDa7whg6SZ6xPjyFPadJngBbFIXikL6M8=; h=Date:From:To:Subject; b=DInjkuERE/m1qfGNhbxt/eTA9lc1aqbDxt1nkmE16HmFV60YikeZ8ZuXW5hpEO4SH I8hzt/mkNgDJFsPvzERVtnY8PX9uP3lSs+sT4K7YynY3kqrvYioR9BZ/MnfkYopsf0 zuG5PcBTHmhX709YStXxLrTdYBQwKtkfhLVCz51Q= Date: Sat, 20 Apr 2019 14:56:11 +0200 From: "pelzflorian (Florian Pelz)" To: bug-guix@gnu.org Subject: Guix System installer does not set up passwords and profile directories Message-ID: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) I installed Guix System from a USB flash drive from the current git master. The manual describes I should set up a password with passwd. I think the installer should automate this, so users do not need to know the passwd command. After setting a password with `passwd florian` and logging in as florian, I run `guix pull`. This yields the following error: pull: error: while creating directory `/var/guix/profiles/per-user/florian': Permission denied hint: Please create the `/var/guix/profiles/per-user/florian' directory, with you as the owner. This persists after a reboot. sudo mkdir /var/guix/profiles/per-user/florian sudo chown florian:users /var/guix/profiles/per-user/florian fixes the issue, but the installer should do this automatically. Regards, Florian ------------=_1555927382-23253-1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 22 06:04:40 2019 Received: (at control) by debbugs.gnu.org; 22 Apr 2019 10:04:40 +0000 Received: from localhost ([127.0.0.1]:49777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVoW-00066V-HJ for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:04:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVoV-00066G-PG for control@debbugs.gnu.org; Mon, 22 Apr 2019 06:04:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIVoL-0000L7-BO for control@debbugs.gnu.org; Mon, 22 Apr 2019 06:04:30 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=37028 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hIVoK-0003lb-9c for control@debbugs.gnu.org; Mon, 22 Apr 2019 06:04:28 -0400 Date: Mon, 22 Apr 2019 12:04:26 +0200 Message-Id: <87y3421hlh.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #35341 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-Spam-Score: -2.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: -3.3 (---) retitle 35341 First run of 'guix pull' fails to create user profile From unknown Sat Aug 09 20:34:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35341: Guix System installer does not set up passwords and profile directories Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Apr 2019 10:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35341 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: m.othacehe@gmail.com, 35341@debbugs.gnu.org X-Debbugs-Original-Cc: Mathieu Othacehe , bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155592803024402 (code B ref -1); Mon, 22 Apr 2019 10:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 10:13:50 +0000 Received: from localhost ([127.0.0.1]:49794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVxO-0006LW-8b for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:13:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIVxM-0006LH-B1 for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:13:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:56293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIVxF-0004G3-J3 for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:13:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIVxE-00024K-Hu for bug-guix@gnu.org; Mon, 22 Apr 2019 06:13:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIVxB-0004FT-Sm; Mon, 22 Apr 2019 06:13:39 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=37086 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hIVxB-0002QK-4o; Mon, 22 Apr 2019 06:13:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?UTF-8?Q?Flor=C3=A9al?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 22 Apr 2019 12:13:35 +0200 In-Reply-To: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 20 Apr 2019 14:56:11 +0200") Message-ID: <87imv61h68.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, "pelzflorian (Florian Pelz)" skribis: > I installed Guix System from a USB flash drive from the current git > master. The manual describes I should set up a password with passwd. > I think the installer should automate this, so users do not need to > know the passwd command. I think it=E2=80=99d be nice if the installer would initialize the user password, and also root=E2=80=99s password (which is empty by default). The obvious approach would be to add a dialog box in the installer and then set the =E2=80=98password=E2=80=99 field of each , and a= lso add a for root itself with the =E2=80=98password=E2=80=99 field se= t. The problem with this approach is that password hashes would end world-readable in the store, so we would need to add warnings asking users to change passwords after logging in. Not great. Another option would be to have an activation snippet that runs when booting the newly installed system: if would check for a flag or something (it could check for uninitialized passwords), and if it determines it=E2=80=99s a first boot, open a dialog box asking for password= s. We=E2=80=99d need to add a =E2=80=9Cpost-install=E2=80=9D service in the OS= config that would do just that. That would be the most robust approach, but it=E2=80=99s also a bit more wo= rk I guess. It=E2=80=99s also not so nice that users will see this extra servic= e in their config. Thoughts? Ludo=E2=80=99. From unknown Sat Aug 09 20:34:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35341: Guix System installer does not set up passwords and profile directories Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Apr 2019 10:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35341 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: m.othacehe@gmail.com, 35341@debbugs.gnu.org X-Debbugs-Original-Cc: Mathieu Othacehe , bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1555928502672 (code B ref -1); Mon, 22 Apr 2019 10:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 10:21:42 +0000 Received: from localhost ([127.0.0.1]:49805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIW50-0000Am-GZ for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:21:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIW4y-0000Aa-KP for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:21:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:36046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIW4q-0007pv-B9 for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:21:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIW4p-0004t7-7d for bug-guix@gnu.org; Mon, 22 Apr 2019 06:21:32 -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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIW4l-0007nR-Hd for bug-guix@gnu.org; Mon, 22 Apr 2019 06:21:29 -0400 Received: from pelzflorian.de ([5.45.111.108]:58844 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIW4i-0007jY-TH; Mon, 22 Apr 2019 06:21:25 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 752CA360038; Mon, 22 Apr 2019 12:21:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1555928479; bh=w3NQeQRB2OPlcDttegI2WxsbwOUizrZxCtUQScVo3tY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=KueSr1MREzWlc+riEAHdFkBpvBT6zlXVnkAt85+0oykg3vUGG/6yw9NTuMFf7Fjiq uNdyHWw+dTlB2KvegeOl+PbqOZfgaqcU8upN4DPZFYHT6E4FNBz0jyUA8A4EUgGR4X TFUbQow8SKfgP5/mtFLcj1U8gR+Vyx6Uy+RMD6C8= Date: Mon, 22 Apr 2019 12:21:18 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20190422102118.ly55whr2mjtem6pv@pelzflorian.localdomain> References: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> <87imv61h68.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87imv61h68.fsf@gnu.org> User-Agent: NeoMutt/20180716 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 5.45.111.108 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) Why can=E2=80=99t the installer just chroot into the new system and call passwd? Regards, Florian From unknown Sat Aug 09 20:34:29 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35341: Guix System installer does not set up passwords and profile directories Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Apr 2019 22:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35341 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: m.othacehe@gmail.com, 35341@debbugs.gnu.org Received: via spool by 35341-submit@debbugs.gnu.org id=B35341.155614607611881 (code B ref 35341); Wed, 24 Apr 2019 22:48:02 +0000 Received: (at 35341) by debbugs.gnu.org; 24 Apr 2019 22:47:56 +0000 Received: from localhost ([127.0.0.1]:56728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJQgG-00035Z-0q for submit@debbugs.gnu.org; Wed, 24 Apr 2019 18:47:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hJQgE-00035K-Ha for 35341@debbugs.gnu.org; Wed, 24 Apr 2019 18:47:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJQg8-0000fS-MI; Wed, 24 Apr 2019 18:47:48 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47412 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hJQg7-00043W-Rs; Wed, 24 Apr 2019 18:47:48 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190420125611.m6hb2ftt7ztds275@pelzflorian.localdomain> <87imv61h68.fsf@gnu.org> <20190422102118.ly55whr2mjtem6pv@pelzflorian.localdomain> Date: Thu, 25 Apr 2019 00:47:45 +0200 In-Reply-To: <20190422102118.ly55whr2mjtem6pv@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 22 Apr 2019 12:21:18 +0200") Message-ID: <87lfzzc966.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Password issue moved to .