[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29662: 'guix gc' as user makes system unbootable

From: Ludovic Courtès
Subject: bug#29662: 'guix gc' as user makes system unbootable
Date: Mon, 18 Dec 2017 10:54:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi Martin,

Martin Castillo <address@hidden> skribis:

> I had a similar situation today. guix gc removed the grub background png
> from the store. the one, that was used by /boot/grub/grub.cfg. the boot
> menu then had a black and blue background. rebuilding the configuration
> refetched the background image, but guix gc removed it again.

Normally the current ‘grub.cfg’ is a GC root, which prevents the
background image and other items from being deleted:

--8<---------------cut here---------------start------------->8---
$ ls -l /var/guix/gcroots/bootcfg 
lrwxrwxrwx 1 root root 52 Dec  7 23:21 /var/guix/gcroots/bootcfg -> 
$ guix gc --references /var/guix/gcroots/bootcfg 
$ sudo diff /var/guix/gcroots/bootcfg /boot/grub/grub.cfg 
$ echo $?
--8<---------------cut here---------------end--------------->8---

Could you check if this is the case on your machine?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]