From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: The tricky case of "--localstatedir=/var" Date: Fri, 18 Mar 2016 19:45:55 +0100 Message-ID: <87vb4jmxp8.fsf@gnu.org> References: <20160216135729.GB13560@novena-choice-citizen.lan> <87k2l0oiub.fsf@gnu.org> <20160318011237.GA11599@novena-choice-citizen.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agzPN-00064z-E7 for guix-devel@gnu.org; Fri, 18 Mar 2016 14:46:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agzPK-0002Ow-Lw for guix-devel@gnu.org; Fri, 18 Mar 2016 14:46:01 -0400 In-Reply-To: <20160318011237.GA11599@novena-choice-citizen.lan> (Jookia's message of "Fri, 18 Mar 2016 12:12:37 +1100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jookia <166291@gmail.com> Cc: guix-devel@gnu.org Jookia <166291@gmail.com> skribis: > On Thu, Mar 17, 2016 at 11:11:40PM +0100, Ludovic Court=C3=A8s wrote: >> However, for the purpose of avoiding bad surprises (configuring Guix >> with the wrong localstatedir), I thought we could have a =E2=80=98config= ure=E2=80=99 >> check that would compare the chosen localstatedir with the current >> installation=E2=80=99s localstatedir, and bail out if they don=E2=80=99t= match. > >> WDYT? > > I think that'd be fantastic, though I'm not sure this would work too well= if > you're planning to boostrap. I also submitted some documentation as a pat= ch > which might help. Sorry for being slightly disorganized, but could you give me the link to that patch? :-) > Perhaps it might make sense to make it a variable that needs to be > explicitly set? Could you explain how that would work? Not sure what variable we=E2=80=99re talking about. Thanks, Ludo=E2=80=99.