guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The tricky case of "--localstatedir=/var"


From: Ludovic Courtès
Subject: Re: The tricky case of "--localstatedir=/var"
Date: Sat, 19 Mar 2016 15:11:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]