all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18049: Bug in "guix system init"
@ 2014-07-17 17:06 Marek Benc
  2014-07-18 18:41 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Benc @ 2014-07-17 17:06 UTC (permalink / raw)
  To: 18049

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#18049: Bug in "guix system init"
  2014-07-17 17:06 bug#18049: Bug in "guix system init" Marek Benc
@ 2014-07-18 18:41 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-07-18 18:41 UTC (permalink / raw)
  To: Marek Benc; +Cc: 18049-done

Marek Benc <merkur32@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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-18 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-17 17:06 bug#18049: Bug in "guix system init" Marek Benc
2014-07-18 18:41 ` Ludovic Courtès

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.