GNU bug report logs - #22802
guix system init installs grub.cfg gcroot to host

Previous Next

Package: guix;

Reported by: Jookia <166291 <at> gmail.com>

Date: Thu, 25 Feb 2016 04:00:02 UTC

Severity: important

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jookia <166291 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix system init installs grub.cfg gcroot to host
Date: Thu, 25 Feb 2016 14:56:23 +1100
When running 'guix system init', GRUB requires a GC root to be placed in
/var/guix. When building a VM, this GC root is placed in <disk>/var/guix/gcroots
however while building a system on another drive, the GC root is placed on the
host's /var/guix/gcroots , not only overwriting the host's grub.cfg which could
be problematic if GC is run and the host has a different grub.cfg to the system
being inited, but the system being inited lacks the grub.cfg and can run GC and
clear out its GRUB files itself.

'guix system reconfigure' once you're inside the new system fixes this issue for
the new system, but the host system may still have a broken grub.cfg and will
need reconfiguring also.




This bug report was last modified 9 years and 156 days ago.

Previous Next


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