From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Xavier Montillet" Subject: bug#36865: Guix gc breaks grub Date: Wed, 31 Jul 2019 21:25:11 +0000 Message-ID: References: <37594eea-2366-4135-bbd5-b6d582cb6b01@www.fastmail.com> <87a7cu5zlr.fsf@elephly.net> <8d1b9619-9606-48c0-967b-f4d4f2a7fda3@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=75576e1850ae4d8abc33d863448a1945 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46698) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsxkO-0004z7-4m for bug-guix@gnu.org; Wed, 31 Jul 2019 19:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsxkM-0002CI-RW for bug-guix@gnu.org; Wed, 31 Jul 2019 19:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsxkM-0002CA-Of for bug-guix@gnu.org; Wed, 31 Jul 2019 19:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsxkM-0007c1-It for bug-guix@gnu.org; Wed, 31 Jul 2019 19:11:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8d1b9619-9606-48c0-967b-f4d4f2a7fda3@www.fastmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 36865@debbugs.gnu.org --75576e1850ae4d8abc33d863448a1945 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable I just tried running guix gc and restarting and can confirm that the sym= ptoms disappeared. On Wed, Jul 31, 2019, at 9:05 PM, Xavier Montillet wrote: > Hi Rocardo, >=20 > I guix pull'ed and grub is no longer marked as dead. "guix gc --list-d= ead | grep 0fijjh7qw8ppsks0ba3q9m873ljhj797" now returns nothing, while = "grep unicode /boot/grub/grub.cfg" till returns the same thing. >=20 > So I guess this means it's fixed? >=20 > I installed with the 1.0.1 installer I think, nothing out of the ordin= ary, except maybe everything being encrypted, including the /boot. >=20 > Xavier >=20 > On Wed, Jul 31, 2019, at 9:21 AM, Ricardo Wurmus wrote: >>=20 >> Hi Xavier, >>=20 >> > 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 b= y >> > nckx): >> > >> > >> > $ grep unicode /boot/grub/grub.cfg >> > search --file --set /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-gru= b-2.04/share/grub/unicode.pf2 >> > if loadfont /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/s= hare/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 rebooti= ng again. >>=20 >> Oh, that=E2=80=99s not good. Can you still reproduce this after runni= ng =E2=80=9Cguix >> system reconfigure =E2=80=A6=E2=80=9D? It should create a new system = generation, >> register a GC root, and update GRUB. >>=20 >> It should not say that GRUB itself is dead and thus not free it up fo= r >> garbage collection. >>=20 >> Could you perhaps share something about how you installed the system = (if >> it=E2=80=99s anything out of the ordinary)? >>=20 >> -- >> Ricardo >>=20 >>=20 >=20 --75576e1850ae4d8abc33d863448a1945 Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable
I just tri= ed running guix gc and restarting and can confirm that the symptoms disa= ppeared.

On Wed, Jul 31, 2019, at 9:05 PM, = Xavier Montillet wrote:
Hi Rocardo,

I guix pull'ed and grub is no= longer marked as dead. "guix gc --list-dead | grep 0fijjh7qw8ppsks0ba3q= 9m873ljhj797" now returns nothing, while "grep unicode /boot/grub/grub.c= fg" till returns the same thing.

So I guess= this means it's fixed?

I installed with th= e 1.0.1 installer I think, nothing out of the ordinary, except maybe eve= rything being encrypted, including the /boot.

Xavier

On Wed, Jul 31, 2019, at 9:21 AM,= Ricardo Wurmus wrote:
<= div>
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 (give= n by
> nckx):
>
>
=
> $ grep unicode /boot/grub/grub.cfg
> se= arch --file --set /gnu/store/0fijjh7qw8ppsks0ba3q9m873ljhj797-grub-2.04/= share/grub/unicode.pf2
> if loadfont /gnu/store/0fijjh7= qw8ppsks0ba3q9m873ljhj797-grub-2.04/share/grub/unicode.pf2; then
>
> $ guix gc --list-dead | grep 0fijjh7qw8pp= sks0ba3q9m873ljhj797
> 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=E2=80=99s= not good.  Can you still reproduce this after running =E2=80=9Cgui= x
system reconfigure =E2=80=A6=E2=80=9D?  It should c= reate a new system generation,
register a GC root, and upd= ate GRUB.

It should not say that GRUB itsel= f is dead and thus not free it up for
garbage collection.<= br>

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

--
Ricardo




--75576e1850ae4d8abc33d863448a1945--