From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 26 00:15:11 2015 Received: (at submit) by debbugs.gnu.org; 26 Sep 2015 04:15:11 +0000 Received: from localhost ([127.0.0.1]:43885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfgtC-0002gH-Ik for submit@debbugs.gnu.org; Sat, 26 Sep 2015 00:15:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43243) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zfg3J-0001RK-IM for submit@debbugs.gnu.org; Fri, 25 Sep 2015 23:21:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zfg3I-00017H-On for submit@debbugs.gnu.org; Fri, 25 Sep 2015 23:21:33 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfg3I-00016s-MZ for submit@debbugs.gnu.org; Fri, 25 Sep 2015 23:21:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfg3H-0007HA-Ot for bug-guix@gnu.org; Fri, 25 Sep 2015 23:21:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zfg3D-00014Q-Nq for bug-guix@gnu.org; Fri, 25 Sep 2015 23:21:31 -0400 Received: from smtp3.openmailbox.org ([62.4.1.37]:47444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zfg3D-00012i-F2 for bug-guix@gnu.org; Fri, 25 Sep 2015 23:21:27 -0400 Received: by mail2.openmailbox.org (Postfix, from userid 1004) id 46D8B2AC10AF; Sat, 26 Sep 2015 05:21:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1443237686; bh=5tSCNkG9lnXH587tRXp/XbB3my4NCN/vi4tt6qrI5lQ=; h=Date:From:To:Subject:From; b=X5MkXwNyU4jPq0uidURxjecJEXdhXQQkYA6CNCyuilMYKzfYnFdf4DMhnB9thXKOC 7R04Udpenm7D28q57HMppw1IC+xk6/hfxcrhGeXuu4hO6CqvUwjos0VZQPlvE1vAd4 R0HkTfXvoaCk0pGIYk/LH916PiouIPdfEPXXDwy4= Received: from www.openmailbox.org (openmailbox-b2 [10.91.69.220]) by mail2.openmailbox.org (Postfix) with ESMTP id 1A3662AC0FFE for ; Sat, 26 Sep 2015 05:21:24 +0200 (CEST) Authentication-Results: mail2.openmailbox.org; dkim=none reason="no signature"; dkim-adsp=fail (unprotected policy); dkim-atps=neutral MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 26 Sep 2015 03:21:23 +0000 From: goglosh@openmailbox.org To: bug-guix@gnu.org Subject: Bug when moving between system instances Message-ID: X-Sender: goglosh@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-Mailman-Approved-At: Sat, 26 Sep 2015 00:15:09 -0400 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 (----) Hello. I got this unexpected behaviour. I used `guix system reconfigure ...` to make a new system instance, used it for a while, and later booted back into the old system. I used diferent names for the user in the first and second system, let's call them sys1user and sys2user. I booted into the old system and tried to login as sys1user (the user created with that system) with it's password and this was no longer possible. root remained untouched, so I used root to change the password and login as usual. Done that I discovered I didn't have access to the files of user1. I then rebooted back into the new system, only to find the exact same problem. in /home/sys2user all files belonged to some user called 30011. I could of course change permissions for most of them using sudo, all but the all-important ~/.guix-profile. Since it's a symlink to a read-only filesystem, this was impossible. Thanks for listening, and, sorry about the non-technical bug report. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 26 16:21:46 2015 Received: (at 21566) by debbugs.gnu.org; 26 Sep 2015 20:21:46 +0000 Received: from localhost ([127.0.0.1]:45209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zfvyc-00066X-0K for submit@debbugs.gnu.org; Sat, 26 Sep 2015 16:21:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZfvyZ-00066P-6O for 21566@debbugs.gnu.org; Sat, 26 Sep 2015 16:21:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfvyV-0002z3-5w for 21566@debbugs.gnu.org; Sat, 26 Sep 2015 16:21:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.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]:46880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfvyV-0002yh-2m; Sat, 26 Sep 2015 16:21:39 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:60992 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZfvyU-0005z4-CZ; Sat, 26 Sep 2015 16:21:38 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: goglosh@openmailbox.org Subject: Re: bug#21566: Bug when moving between system instances References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vend=C3=A9miaire?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Sat, 26 Sep 2015 22:21:36 +0200 In-Reply-To: (goglosh@openmailbox.org's message of "Sat, 26 Sep 2015 03:21:23 +0000") Message-ID: <87612xylrj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 21566 Cc: 21566@debbugs.gnu.org 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: -6.0 (------) goglosh@openmailbox.org skribis: > I got this unexpected behaviour. I used `guix system reconfigure ...` > to make a new system instance, used it for a while, and later booted > back into the old system. I used diferent names for the user in the > first and second system, let's call them sys1user and sys2user. I > booted into the old system and tried to login as sys1user (the user > created with that system) with it's password and this was no longer > possible. Yes, good point. I see how this may look confusing. When you boot a specific generation of the system, it gets to see only the set of users that were declared for that generation. So one sees =E2=80=98sys1user=E2=80=99 and =E2=80=98root=E2=80=99, and the other has = =E2=80=98sys2user=E2=80=99 and =E2=80=98root=E2=80=99. So when you booted the new generation, the =E2=80=98sys1user=E2=80=99 accou= nt was deleted and the =E2=80=98sys2user=E2=80=99 account was created. When you b= ooted again into the old generation, =E2=80=98sys1user=E2=80=99 was added back and =E2= =80=98sys2user=E2=80=99 was deleted. This is on purpose, see . Now, the problem is that passwords are state that is outside of GuixSD=E2= =80=99s control. Passwords are stored in /etc/shadow, and removing a user account removes its entry in /etc/shadow. This is why you would get uninitialized passwords when booting back in the old generation. I think this is an acceptable =E2=80=9Climitation=E2=80=9D of the approach = though. > I then rebooted back into the new system, only to find the exact same > problem. in /home/sys2user all files belonged to some user called > 30011. Same issue: Unless the =E2=80=98user-account=E2=80=99 declaration asked for= a specific user ID via the =E2=80=98uid=E2=80=99 field (see ), the UID is assigned when the account is first created. What happens here is that maybe =E2=80=98sys2user=E2=80=99 got the UID 3001= 1 at some point, and then got a different one. Again, I don=E2=80=99t thin there=E2=80=99s much that GuixSD can do here, b= ecause it doesn=E2=80=99t control what files are created under which UID in /home, et= c. Does that make sense? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 02 17:57:00 2015 Received: (at control) by debbugs.gnu.org; 2 Nov 2015 22:57:00 +0000 Received: from localhost ([127.0.0.1]:50107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtO27-0005tJ-WF for submit@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36617) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtO26-0005tA-PZ for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:56:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtO23-0006V2-Ff for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:56:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtO23-0006Uy-C9 for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:56:55 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:58236 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZtO22-0001gq-Q2 for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:56:55 -0500 Date: Mon, 02 Nov 2015 23:56:53 +0100 Message-Id: <871tc8ui16.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #21566 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) tags 21566 notabug From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 02 17:57:12 2015 Received: (at control) by debbugs.gnu.org; 2 Nov 2015 22:57:12 +0000 Received: from localhost ([127.0.0.1]:50111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtO2K-0005uI-6d for submit@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36665) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtO2J-0005uA-4k for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtO2F-0006WV-TD for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtO2F-0006WR-Pv for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:07 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:58278 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZtO2F-0001zq-7B for control@debbugs.gnu.org; Mon, 02 Nov 2015 17:57:07 -0500 Date: Mon, 02 Nov 2015 23:57:05 +0100 Message-Id: <87ziywt3ge.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #21566 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) close 21566 0.8.3 From unknown Fri Sep 05 11:00:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Dec 2015 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator