From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: The tricky case of "--localstatedir=/var" Date: Thu, 17 Mar 2016 23:19:19 +0100 Message-ID: <87zitwzr14.fsf@gnu.org> References: <20160216135729.GB13560@novena-choice-citizen.lan> <87k2l0oiub.fsf@gnu.org> 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]:41022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aggGN-0001zL-15 for guix-devel@gnu.org; Thu, 17 Mar 2016 18:19:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aggGM-0000QQ-77 for guix-devel@gnu.org; Thu, 17 Mar 2016 18:19:26 -0400 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") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Jookia <166291@gmail.com> skribis: > >> Over the past month a few people (myself included) have been hit by the = 'gotcha' >> of not running ./configure with "--localstatedir=3D/var". > > As discussed on IRC, the expected default values are specified in > . > I think it=E2=80=99s 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 =E2=80=98configu= re=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. IMO this is the right way to handle this issue. --=20 Mathieu Lirzin