GNU bug report logs - #76928
User accounts are shared between system generations

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ian Eure <ian@HIDDEN>; dated Mon, 10 Mar 2025 22:47:04 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 76928 <at> debbugs.gnu.org:


Received: (at 76928) by debbugs.gnu.org; 17 Mar 2025 19:42:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 15:42:02 2025
Received: from localhost ([127.0.0.1]:32807 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tuGLZ-0000HW-Un
	for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 15:42:02 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:40290)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tuGLY-0000H0-50
 for 76928 <at> debbugs.gnu.org; Mon, 17 Mar 2025 15:42:01 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 0CFED3D7;
 Mon, 17 Mar 2025 20:41:51 +0100 (CET)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id ryvRI4ZhIzzK; Mon, 17 Mar 2025 20:41:50 +0100 (CET)
Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 018B7126;
 Mon, 17 Mar 2025 20:41:48 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ian Eure <ian@HIDDEN>
Subject: Re: bug#76928: User accounts are shared between system generations
In-Reply-To: <874j00o65m.fsf@HIDDEN> (Ian Eure's message of "Mon, 10 Mar
 2025 15:46:45 -0700")
References: <874j00o65m.fsf@HIDDEN>
Date: Mon, 17 Mar 2025 20:41:48 +0100
Message-ID: <87y0x3la0z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Rspamd-Queue-Id: 0CFED3D7
X-Spamd-Result: default: False [-6.10 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-3.00)[-0.999]; MIME_GOOD(-0.10)[text/plain];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_TWO(0.00)[2];
 ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 MID_RHS_MATCH_FROM(0.00)[]
X-Rspamd-Action: no action
X-Spamd-Bar: ------
X-Rspamd-Server: hera
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 76928
Cc: 76928 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

Ian Eure <ian@HIDDEN> skribis:

> Found this one on accident today and was surprised.  To reproduce:
>
> - Remove your user account from your system configuration on
>   accident.
> - `sudo guix system reconfigure'
> - Realize your mistake.  Observe that neither `su' nor `sudo'  work,
>  because you don=E2=80=99t exist.
> - Reboot in a state of mild panic.
> - Select any previous system generation from GRUB.
>
> Expected result: previous generations should have the account which
> was deleted, since it was declared in the configurations which
> produced them.
>
> Actual result: They don=E2=80=99t.

Are you sure?  /etc/{shadow,passwd,group} are created at activation
time, meaning when booting or reconfiguring (see =E2=80=98account-activatio=
n=E2=80=99,
which returns code that calls =E2=80=98activate-users+groups=E2=80=99, the =
procedure
that creates those files).

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#76928; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Mar 2025 22:47:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 10 18:47:02 2025
Received: from localhost ([127.0.0.1]:40320 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1trltm-0000tu-F0
	for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 18:47:02 -0400
Received: from lists.gnu.org ([2001:470:142::17]:56394)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ian@HIDDEN>) id 1trltk-0000tX-30
 for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 18:47:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ian@HIDDEN>) id 1trlte-0004wM-2E
 for bug-guix@HIDDEN; Mon, 10 Mar 2025 18:46:54 -0400
Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ian@HIDDEN>) id 1trltb-0003Kx-QT
 for bug-guix@HIDDEN; Mon, 10 Mar 2025 18:46:53 -0400
Received: from phl-compute-07.internal (phl-compute-07.phl.internal
 [10.202.2.47])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 13DDC2540217
 for <bug-guix@HIDDEN>; Mon, 10 Mar 2025 18:46:48 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
 by phl-compute-07.internal (MEProxy); Mon, 10 Mar 2025 18:46:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h=
 cc:content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:message-id:mime-version:reply-to:subject
 :subject:to:to; s=fm3; t=1741646807; x=1741733207; bh=9j/dolofu1
 ar4GskpdDcuIzEf0jOaNKub56eZEAr0mo=; b=YGjQK20mlCYih6FPa6soSDQJYE
 VfNwWPtuYsjHsSL907KMrUJV7uZ2PNY4E+poeQhyHMFV9TaNtpMN9+eWlZ0ASUDY
 dE25UmwQ3MsnRC1wKcmhMcP1p1dOrYONnlUhAYMk47CBeBQnMdx+SoVrPOx3H277
 pVXXkdtDFjvpZDhvNpdtRP2Qku2MKvBHfQmBsYsn9sEEFfGMyMIcqEAfgelUMXOb
 Tgy4mUumrgoy3FIR4RUJ599wPNjtavCrzqZHSruPLp6yfEL6P64+if9mLRZhfwUJ
 8ALJ2BR10F16r4QSOZZqn8N8AMMH05A7jYOOXnQhjYWvjUe8yRMLkGCk/IVw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:message-id:mime-version:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1741646807; x=1741733207; bh=9j/dolofu1ar4GskpdDcuIzEf0jOaNKub56
 eZEAr0mo=; b=0Rvry/TgiWrVE6yAITB55EJCxL/rHMnD0Az5F0J8NAhbMqWNDvf
 C9bG2opL9tt+5OMKw2FNmATvO2oqe3eJ/bVkFp8QEkvg/aQPUvdYTguAoeiZ95ER
 DZAmBCQF2vbQocJF52a8uMocx5a6vaVgBbJLQUZhkqeWofSKu0zCvtLMOfwK4WN8
 iHFy+ZFqKjosTIWKniXdgW7PNh8HaWr1W0T61oHcveK/2Y8fxp3f0FeQ9es0d+Kv
 ZB0/h3dBej1/xt60XnlYURt0Z5X+KY52NlRGm2azl0iIgJQFWOMA7YiF7/cvFXNb
 ro2yLMfk2YcI30M3cTzAyoVILt85tP5JYwg==
X-ME-Sender: <xms:12vPZ34W1BqJ9iyYtcjsVqAb9pp6W_SQu5cV7-iAZlecE6dnTxlsoA>
 <xme:12vPZ87joEAyBjbeNAH9Wu7UinKRNXCsDxIDiqcgrY7WmNpszlMKZAcNCOQqxxZI1
 FaLRJQD4Vcc7-4UxA>
X-ME-Received: <xmr:12vPZ-dqdK56xiZd7GfFnW78hU1zTADQsLg5EJe5LO487OOO1c5WsaoEOZVHM-gA-h-cTBe0ENtcIFtNeUpBWTVlIOgnGIrIgf7BfSo>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvddtheekucetufdoteggodetrf
 dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv
 pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvf
 fufgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghn
 sehrvghtrhhoshhpvggtrdhtvheqnecuggftrfgrthhtvghrnhepieeffeekkeegtedutd
 eiteegudefgedtieevueeftdeggefgjeeludevjeevvdejnecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihgrnhesrhgvthhrohhsphgvtgdrth
 hvpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegs
 uhhgqdhguhhigiesghhnuhdrohhrgh
X-ME-Proxy: <xmx:12vPZ4J6dAO9yqa4E_XbPN4NOi1P5g0auE6-3m4HW9hdGDwhIBhUNw>
 <xmx:12vPZ7K5xAYa5bM9Eeg3oFFEn_yDC_nUUGlaEfPsFPSORCtDDl3RiQ>
 <xmx:12vPZxyZl60w2x8y4Z3m2YUym85v0QqeepcTani1UFd26RhMvMjkNw>
 <xmx:12vPZ3LqiP3YQuIM0eE_M-72giQktI8aAn8UYQQFZg5R2253FWF8Zw>
 <xmx:12vPZxiUO1iMb32Y7zB8GRZ0LnNaeYEuRWLiP-_6kECXgkjIiatE39SA>
Feedback-ID: id9014242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-guix@HIDDEN>; Mon, 10 Mar 2025 18:46:47 -0400 (EDT)
From: Ian Eure <ian@HIDDEN>
To: bug-guix@HIDDEN
Subject: User accounts are shared between system generations
User-Agent: mu4e 1.12.9; emacs 29.4
Date: Mon, 10 Mar 2025 15:46:45 -0700
Message-ID: <874j00o65m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=202.12.124.155; envelope-from=ian@HIDDEN;
 helo=fhigh-b4-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Found this one on accident today and was surprised.  To reproduce:

 - Remove your user account from your system configuration on=20
 accident.
 - `sudo guix system reconfigure'
 - Realize your mistake.  Observe that neither `su' nor `sudo'=20
 work, because you don=E2=80=99t exist.
 - Reboot in a state of mild panic.
 - Select any previous system generation from GRUB.

Expected result: previous generations should have the account=20
which was deleted, since it was declared in the configurations=20
which produced them.

Actual result: They don=E2=80=99t.

  -- Ian




Acknowledgement sent to Ian Eure <ian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#76928; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 17 Mar 2025 19:45:02 UTC

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