unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Leo Famulari <leo@famulari.name>
Cc: 45992@debbugs.gnu.org
Subject: bug#45992: A "live" profile is missing
Date: Mon, 25 Jan 2021 21:55:37 +0100	[thread overview]
Message-ID: <87mtww3fee.fsf@gnu.org> (raw)
In-Reply-To: <YA8iCkQFpzAkoNB1@jasmine.lan> (Leo Famulari's message of "Mon, 25 Jan 2021 14:54:50 -0500")

Leo Famulari <leo@famulari.name> skribis:

> On Mon, Jan 25, 2021 at 07:11:33PM +0100, Ludovic Courtès wrote:
>> What does ‘grep ^localstatedir config.log’ return?
>
> For my "master" and "staging" worktrees, it returns:
> localstatedir='/var'
>
> However, I've since done a full garbage collection and reconfigured, so
> it doesn't really prove anything.

OK.

> --list-live actually starts by printing this:
>
> ------
> $ guix gc --list-live
> finding garbage collector roots...
> skipping invalid root from `/var/guix/profiles/per-user/root/guix-profile-197-link' to `/gnu/store/1ph7vxq4hhqr1hjkmgin16p1cqx3v904-profile'

That means the target of this symlink was already invalid/non-existent,
right?

> And --list-roots does include the bogus profile, exactly as described in
> the warning from --list-live:

OK.

If there’s a root pointing to the profile, and the profile no longer
exists, it could be that the root was created after the profile had been
deleted.  AFAIK that cannot happen in normal operation, so you’d really
have to fiddle with /var/guix/profiles to achieve that.

So… I don’t see how this could happen!

Ludo’.




  parent reply	other threads:[~2021-01-25 20:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19 18:56 bug#45992: A "live" profile is missing Leo Famulari
2021-01-20 18:55 ` Leo Famulari
2021-01-21 12:57   ` Ludovic Courtès
2021-01-21 17:36     ` Leo Famulari
2021-01-25 18:11       ` Ludovic Courtès
2021-01-25 19:54         ` Leo Famulari
2021-01-25 20:55           ` Ludovic Courtès
2021-01-25 21:51             ` Leo Famulari
2021-01-29 23:12               ` Leo Famulari
2021-01-31 16:40                 ` Ludovic Courtès
2021-01-31 18:13                   ` Leo Famulari
2021-01-25 20:55           ` Ludovic Courtès [this message]
2021-01-20 18:59 ` bug#45992: Empty guix Thorsten Wilms

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87mtww3fee.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=45992@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).