Report forwarded
to bug-guix@gnu.org: bug#76928; Package guix.
(Mon, 10 Mar 2025 22:47:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Ian Eure <ian@retrospec.tv>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Mon, 10 Mar 2025 22:47:04 GMT) (full text, mbox, link).
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@gnu.org: bug#76928; Package guix.
(Mon, 17 Mar 2025 19:43:02 GMT) (full text, mbox, link).
Subject: Re: bug#76928: User accounts are shared between system generations
Date: Mon, 17 Mar 2025 20:41:48 +0100
Hi,
Ian Eure <ian@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’.
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.