From: ludo@gnu.org (Ludovic Courtès)
To: Jookia <166291@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: The tricky case of "--localstatedir=/var"
Date: Sat, 19 Mar 2016 15:11:49 +0100 [thread overview]
Message-ID: <87d1qqiml6.fsf@gnu.org> (raw)
In-Reply-To: <87k2l0oiub.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 17 Mar 2016 23:11:40 +0100")
ludo@gnu.org (Ludovic Courtès) skribis:
> As discussed on IRC, the expected default values are specified in
> <http://www.gnu.org/prep/standards/html_node/Directory-Variables.html>.
> I think it’s reasonable to keep following these rules.
>
> However, for the purpose of avoiding bad surprises (configuring Guix
> with the wrong localstatedir), I thought we could have a ‘configure’
> check that would compare the chosen localstatedir with the current
> installation’s localstatedir, and bail out if they don’t match.
Commit ef5f5c8659b1ca3999e362dfa33478e0a0150ced implements a ‘configure’
check such that one gets an error for obvious misconfiguration, and a
warning when the user passed an explicit --localstatedir flag that does
not match (“I know what I’m doing”.)
I believe that should avoid the most common issue.
Comments welcome!
Ludo’.
prev parent reply other threads:[~2016-03-19 14:11 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
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 [this message]
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=87d1qqiml6.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=166291@gmail.com \
--cc=guix-devel@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 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).