unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org
Subject: Re: The tricky case of "--localstatedir=/var"
Date: Tue, 16 Feb 2016 17:41:09 +0100	[thread overview]
Message-ID: <20160216164109.GA5983@solar> (raw)
In-Reply-To: <idjvb5o685t.fsf@bimsb-sys02.mdc-berlin.net>

On Tue, Feb 16, 2016 at 03:29:02PM +0100, Ricardo Wurmus wrote:
> Jookia <166291@gmail.com> writes:
> > * Change localstatedir to /var by default.
> > * Put the localstatedir in /gnu.

> I’m actually doing this on my cluster installation.  It’s very
> convenient at first because you can just mount /gnu and be done with it,
> but since enabling users to manage their profiles from all cluster nodes
> over the network “/gnu” and “/gnu/var” have to be mounted separately and
> sequentially with different flags: “/gnu” should be read-only in general
> (in particular “/gnu/store”) and “/gnu/var/guix/profiles” must be
> read-writeable for users to be able to install things into their
> profiles.

This is an interesting point; I would rather have been in favour of the
second solution, assuming that it would also simplify the binary installation
(everything is self-contained inside /gnu). Why do they need to be mounted
separately? Could /gnu not be mounted keeping the access rights of the
original file system?

There is also a middle ground that would be possible: Move some of the
content of localstatedir to /gnu; this would make sense for the sqlite
database, for instance. Then it would be possible to copy /gnu from one
system to another. On the other hand, there are quite a few more things
in /var/guix, so maybe this is not really sensible.

In any case, I am for implementing one of these two possibilities.

Andreas

  parent reply	other threads:[~2016-02-16 16:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 13:57 The tricky case of "--localstatedir=/var" Jookia
2016-02-16 14:29 ` Ricardo Wurmus
2016-02-16 14:52   ` Jookia
2016-02-16 16:41   ` Andreas Enge [this message]
2016-02-16 17:12     ` Jookia
2016-02-16 17:16       ` Andreas Enge
2016-02-16 16:04 ` Tobias Geerinckx-Rice
2016-02-16 16:08   ` Tobias Geerinckx-Rice
2016-02-16 19:11 ` Christopher Allan Webber
2016-02-16 19:59 ` Danny Milosavljevic
2016-02-16 22:42   ` Mark H Weaver
2016-02-17  9:29     ` Ricardo Wurmus
2016-02-17  8:06 ` Chris Marusich
2016-02-17  8:38   ` Jookia
2016-02-17  9:15     ` Chris Marusich
2016-02-17 10:08       ` Jookia
2016-02-17 17:50         ` Chris Marusich
2016-02-17 18:00           ` Jookia
2016-02-17 18:23           ` Andreas Enge
2016-03-17 22:11 ` Ludovic Courtès
2016-03-17 22:19   ` Mathieu Lirzin
2016-03-18  1:12   ` Jookia
2016-03-18 18:45     ` Ludovic Courtès
2016-03-19  3:27       ` Jookia
2016-03-19 14:11   ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20160216164109.GA5983@solar \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).