From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: The tricky case of "--localstatedir=/var" Date: Tue, 16 Feb 2016 17:04:03 +0100 Message-ID: References: <20160216135729.GB13560@novena-choice-citizen.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVi7U-0006nA-MT for guix-devel@gnu.org; Tue, 16 Feb 2016 11:05:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVi7T-00076H-RK for guix-devel@gnu.org; Tue, 16 Feb 2016 11:04:56 -0500 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:33156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVi7T-00076B-MO for guix-devel@gnu.org; Tue, 16 Feb 2016 11:04:55 -0500 Received: by mail-ob0-x229.google.com with SMTP id jq7so80854325obb.0 for ; Tue, 16 Feb 2016 08:04:55 -0800 (PST) In-Reply-To: <20160216135729.GB13560@novena-choice-citizen.lan> 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 Hullo Guix, On 16 February 2016 at 14:57, Jookia <166291@gmail.com> wrote: > > > * Put the localstatedir in /gnu. > > This is actually what Nix does, so I'm a little surprised as to why Guix has > deviated from this practice. This will require updating all the patches to use > /gnu/var as the localstatedir. What you get from this is the idea that the state > is linked with the store (which it is!) and more importantly, comes in to the > territory of GNU. As a newcomer from a certain Nix-based OS, /var/gnu surprised me. Store state and integrity are so closely tied to the sqlite database that it's strange to see them so far apart. I assume there are other reasons for using /var, and I assume these are reasons are logs. (Disregarding FHS traditionalism as an option for everyone's sanity.) I actually searched for a discussion about this in Guix's past, but found none. I await the link of loving correction. Kind regards, T G-R