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

Previous Next

Package: guix;

Reported by: Ian Eure <ian <at> retrospec.tv>

Date: Mon, 10 Mar 2025 22:47:04 UTC

Severity: normal

To reply to this bug, email your comments to 76928 AT debbugs.gnu.org.

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#76928; Package guix. (Mon, 10 Mar 2025 22:47:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Eure <ian <at> retrospec.tv>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 Mar 2025 22:47:04 GMT) Full text and rfc822 format available.

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

From: Ian Eure <ian <at> retrospec.tv>
To: bug-guix <at> gnu.org
Subject: User accounts are shared between system generations
Date: Mon, 10 Mar 2025 15:46:45 -0700
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’t 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’t.

 -- Ian




Information forwarded to bug-guix <at> gnu.org:
bug#76928; Package guix. (Mon, 17 Mar 2025 19:43:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ian Eure <ian <at> retrospec.tv>
Cc: 76928 <at> debbugs.gnu.org
Subject: Re: bug#76928: User accounts are shared between system generations
Date: Mon, 17 Mar 2025 20:41:48 +0100
Hi,

Ian Eure <ian <at> retrospec.tv> 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’t 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’t.

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

Thanks,
Ludo’.




This bug report was last modified 89 days ago.

Previous Next


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