unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Xavier Montillet <xavierm02@xavierm02.fr>
Cc: 36865@debbugs.gnu.org
Subject: bug#36865: Guix gc breaks grub
Date: Wed, 31 Jul 2019 11:21:04 +0200	[thread overview]
Message-ID: <87a7cu5zlr.fsf@elephly.net> (raw)
In-Reply-To: <37594eea-2366-4135-bbd5-b6d582cb6b01@www.fastmail.com>


Hi Xavier,

> guix gc thinks that grub (and a lot of other stuff that it shouldn't
> think is dead) is dead, as shown by the following commands (given by
> nckx):
>
>
> $ grep unicode /boot/grub/grub.cfg
> search --file --set /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2
> if loadfont /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2; then
>
> $ guix gc --list-dead | grep 0fijjh7qw8ppsks0ba3q9m873ljhj797
> finding garbage collector roots...
> determining live/dead paths...
> /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04
>
> I was also able to reproduce the bug by running guix gc and rebooting again.

Oh, that’s not good.  Can you still reproduce this after running “guix
system reconfigure …”?  It should create a new system generation,
register a GC root, and update GRUB.

It should not say that GRUB itself is dead and thus not free it up for
garbage collection.

Could you perhaps share something about how you installed the system (if
it’s anything out of the ordinary)?

--
Ricardo

  reply	other threads:[~2019-07-31  9:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 22:03 bug#36865: Guix gc breaks grub Xavier Montillet
2019-07-31  9:21 ` Ricardo Wurmus [this message]
2019-07-31 21:05   ` Xavier Montillet
2019-07-31 21:25     ` Xavier Montillet
2019-08-23 12:31       ` Ludovic Courtès
2019-08-23 22:53         ` Xavier Montillet
2019-08-24 14:04           ` Ludovic Courtès
2019-08-24 15:07             ` Xavier Montillet
2019-08-24 17:42         ` Jakob L. Kreuze
2019-08-26  8:19           ` Ludovic Courtès

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=87a7cu5zlr.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=36865@debbugs.gnu.org \
    --cc=xavierm02@xavierm02.fr \
    /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).