GNU bug report logs - #18049
Bug in "guix system init"

Previous Next

Package: guix;

Reported by: Marek Benc <merkur32 <at> gmail.com>

Date: Fri, 18 Jul 2014 06:11:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marek Benc <merkur32 <at> gmail.com>
Subject: bug#18049: closed (Re: bug#18049: Bug in "guix system init")
Date: Fri, 18 Jul 2014 18:42:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18049: Bug in "guix system init"

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18049 <at> debbugs.gnu.org.

-- 
18049: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18049
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Marek Benc <merkur32 <at> gmail.com>
Cc: 18049-done <at> debbugs.gnu.org
Subject: Re: bug#18049: Bug in "guix system init"
Date: Fri, 18 Jul 2014 20:41:46 +0200
Marek Benc <merkur32 <at> gmail.com> skribis:

> This means that if someone (like me) configured the host Guix with
> --prefix=/usr/local, the directory will be installed
> into /usr/local/var/guix, which won't work, and will cause the installed
> guix to see an empty /gnu/store.

Good catch.  I believe this is fixed by commit a52127c.

Can you confirm that it works for you?

Thanks,
Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Marek Benc <merkur32 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Bug in "guix system init"
Date: Thu, 17 Jul 2014 19:06:14 +0200
The var/guix directory gets installed according to the configuration of
the host Guix, instead of the installed Guix (that is, /var).

This means that if someone (like me) configured the host Guix with
--prefix=/usr/local, the directory will be installed
into /usr/local/var/guix, which won't work, and will cause the installed
guix to see an empty /gnu/store.

This is dangerous because then, it will try to download glibc, and while
doing that, it will delete the existing one in /gnu/store, and kill the
operating system.

Workarounds:
1. Configure the host guix with --prefix=/
or
2. Once the system is initialized, move the var/guix folder (eg,
from /usr/local/var) to /var




This bug report was last modified 11 years and 4 days ago.

Previous Next


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