From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Serial line lock directory Date: Fri, 09 Jun 2017 15:50:29 +0200 Message-ID: <87k24lmfru.fsf@gnu.org> References: <20170606205429.4266cc4d@scratchpost.org> <87a85kuvv6.fsf@gmail.com> <87o9u03rna.fsf@gnu.org> <20170608210830.4b62c895@scratchpost.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]:39962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJKJB-0003lu-1l for guix-devel@gnu.org; Fri, 09 Jun 2017 09:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJKJ7-0005Hh-56 for guix-devel@gnu.org; Fri, 09 Jun 2017 09:50:37 -0400 In-Reply-To: <20170608210830.4b62c895@scratchpost.org> (Danny Milosavljevic's message of "Thu, 8 Jun 2017 21:08:30 +0200") 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" To: Danny Milosavljevic Cc: guix-devel@gnu.org Hi Danny, Danny Milosavljevic skribis: > On Wed, 07 Jun 2017 14:32:09 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Probably it checks whether $localstatedir exist, and it doesn=E2=80=99t = exist in >> the build environment. So you=E2=80=99ll have to somehow tweak =E2=80= =98configure=E2=80=99 into >> skipping that test, perhaps by setting the relevant =E2=80=98ac_cv_=E2= =80=99 variable if >> it exists. > > Good point. > > But which directory does GuixSD [intend to] use for serial locks? The lo= cks only make sense if every application actually uses the same directory f= or locks :) I think /var/lock is what=E2=80=99s conventionally used so I=E2=80=99d stic= k to that. Ludo=E2=80=99.