GNU bug report logs -
#53672
[PATCH] guix system: 'describe' shows the running system, not the current one.
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Mon, 31 Jan 2022 22:37:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 53672-done <at> debbugs.gnu.org (full text, mbox):
Hello!
宋文武 <iyzsong <at> outlook.com> skribis:
> Sound good to me! Well, I think "current" and "running" are the same
> thing, I'd call the 'profiles/system' one "latest", so my understand is:
>
> 1. /run/booted-system: the system generation booted by bootloader.
>
> 2. /run/current-system: the system generation current running, same as
> booted until we do a system 'reconfigure' or 'roll-back'.
>
> 3. /var/guix/profiles/system: always point to the latest system-*-link,
> the default one in the bootloader, changed by a system 'reconfigure'
> or 'roll-back'.
>
> Please correct me if it's wrong, thank you!
You’re right, except for #3: if you do ‘guix system roll-back’ and
reboot, then /var/guix/profiles/system points to a generation that’s not
the latest system-*-link but that is the currently running one.
It sounds super confusing but it’s quite intuitive I think (I hope?).
Applied now, thanks for taking a look!
Ludo’.
This bug report was last modified 3 years and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.