all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marek Benc <merkur32@gmail.com>
To: 18049@debbugs.gnu.org
Subject: bug#18049: Bug in "guix system init"
Date: Thu, 17 Jul 2014 19:06:14 +0200	[thread overview]
Message-ID: <1405616774.2096.6.camel@dusan-netbook.homenetwork> (raw)

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	other threads:[~2014-07-18  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17 17:06 Marek Benc [this message]
2014-07-18 18:41 ` bug#18049: Bug in "guix system init" Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405616774.2096.6.camel@dusan-netbook.homenetwork \
    --to=merkur32@gmail.com \
    --cc=18049@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.