all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 宋文武 <iyzsong@outlook.com>
Cc: 53672-done@debbugs.gnu.org
Subject: bug#53672: [PATCH] guix system: 'describe' shows the running system, not the current one.
Date: Wed, 02 Feb 2022 18:13:03 +0100	[thread overview]
Message-ID: <87iltxry3k.fsf_-_@gnu.org> (raw)
In-Reply-To: <TYCP286MB18973E081DB007E43B6C6917A3269@TYCP286MB1897.JPNP286.PROD.OUTLOOK.COM> ("宋文武"'s message of "Tue, 01 Feb 2022 17:54:08 +0800")

Hello!

宋文武 <iyzsong@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’.




      reply	other threads:[~2022-02-02 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 22:36 [bug#53672] [PATCH] guix system: 'describe' shows the running system, not the current one Ludovic Courtès
2022-02-01  9:54 ` 宋文武
2022-02-02 17:13   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iltxry3k.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=53672-done@debbugs.gnu.org \
    --cc=iyzsong@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.