From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: GUIX_LOCPATH in daemon unit file Date: Mon, 18 Jul 2016 07:33:13 +0200 Message-ID: <87d1mb1peu.fsf@mdc-berlin.de> References: <20160706.095103.2037769423207614861.post@thomasdanckaert.be> <87twfwmr1g.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]:55288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP1BO-0000x5-Ek for guix-devel@gnu.org; Mon, 18 Jul 2016 01:33:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP1BJ-0006eJ-GR for guix-devel@gnu.org; Mon, 18 Jul 2016 01:33:34 -0400 In-Reply-To: <87twfwmr1g.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Thomas Danckaert Ludovic Court=C3=A8s writes: > Hello, > > Ricardo Wurmus skribis: > >> Hi Thomas, >> >>> using Guix on Ubuntu, I kept seeing messages =E2=80=9Csubstitute: war= ning:=20 >>> failed to install locale: Invalid argument=E2=80=9D (though apart fro= m this=20 >>> warning, everything seemed to work normally). >>> >>> From a previous thread on this mailing list, I learnt that the=20 >>> problem is that the daemon doesn't have GUIX_LOCPATH set correctly,=20 >>> but I didn't know how to fix >>> this. #guix explained to me that, for systemd users, this can be done= =20 >>> by adding "Environment=3DGUIX_LOCPATH=3D/root/.guix-profile/lib/local= e"=20 >>> to the [Service] section of the guix-daemon.service file. (and=20 >>> probably also installing the necessary locales for root, which I'd=20 >>> already done). >>> >>> Should this environment setting be added to the default=20 >>> guix-daemon.service, or could this break something for other=20 >>> users/distributions (I'm not sure systems other than Ubuntu have this= =20 >>> problem?). >> >> I think GUIX_LOCPATH should be set automatically. There are no ill >> effects of having it set when the directory doesn=E2=80=99t exist AFAI= K. Also, >> only Guix honours GUIX_LOCPATH (hence the name), so it shouldn=E2=80=99= t screw >> up the behaviour of other applications. >> >> This is a problem on all systems where Guix is used as a package >> manager. >> >> What do others think? If it=E2=80=99s okay and my rationalisations ab= ove are >> not mistaken I=E2=80=99d like to accept this change. > > I agree, please push. Done in master. (Sorry for the delay.) ~~ Ricardo