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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18049 in the body.
You can then email your comments to 18049 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#18049; Package guix. (Fri, 18 Jul 2014 06:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marek Benc <merkur32 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 18 Jul 2014 06:11:02 GMT) Full text and rfc822 format available.

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

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





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 18 Jul 2014 18:42:02 GMT) Full text and rfc822 format available.

Notification sent to Marek Benc <merkur32 <at> gmail.com>:
bug acknowledged by developer. (Fri, 18 Jul 2014 18:42:03 GMT) Full text and rfc822 format available.

Message #10 received at 18049-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Aug 2014 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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