From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: statedir locations Date: Mon, 27 Jan 2014 12:50:15 +0100 Message-ID: <20140127115015.GA13396@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7kht-0006VI-4o for guix-devel@gnu.org; Mon, 27 Jan 2014 06:50:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7kho-0004dj-1S for guix-devel@gnu.org; Mon, 27 Jan 2014 06:50:25 -0500 Received: from de.cellform.com ([88.217.224.109]:39833 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7khn-0004dX-Kr for guix-devel@gnu.org; Mon, 27 Jan 2014 06:50:19 -0500 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id s0RBoG7x016341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Jan 2014 12:50:16 +0100 Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id s0RBoFSZ016337 for guix-devel@gnu.org; Mon, 27 Jan 2014 12:50:15 +0100 Content-Disposition: inline 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: guix-devel@gnu.org It has come to my attention that guix packages (at least those with gnu build system) default their statedirs to directories under /nix/store/. Recall that the statedirs (ie: sharedstatedir localstatedir and runstatedir) are for installing data files *which the programs modify while they run* [1]. Obviously a program cannot modify anything under /nix/store I think we need to update the default configure flags. J' [1] http://www.gnu.org/prep/standards/standards.html#Directory-Variables -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.