GNU bug report logs - #36865
GRUB (or 'grub.cfg') is not registered as a GC root

Previous Next

Package: guix;

Reported by: "Xavier Montillet" <xavierm02 <at> xavierm02.fr>

Date: Tue, 30 Jul 2019 23:43:02 UTC

Severity: serious

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Xavier Montillet <xavierm02 <at> xavierm02.fr>
Cc: 36865 <at> debbugs.gnu.org
Subject: bug#36865: Guix gc breaks grub
Date: Wed, 31 Jul 2019 11:21:04 +0200
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





This bug report was last modified 5 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.