From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: [PATCH] gnu: services: Activate system prior to services Date: Sun, 11 Dec 2016 09:11:44 +0000 Message-ID: <41975dc7-3031-f275-20bc-0075e7b577e4@cbaines.net> References: <20161210102143.14582-1-mail@cbaines.net> <871sxe6drn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG0Aj-00026M-CH for guix-devel@gnu.org; Sun, 11 Dec 2016 04:11:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG0Ae-0001iC-Dq for guix-devel@gnu.org; Sun, 11 Dec 2016 04:11:53 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:46498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG0Ae-0001he-7X for guix-devel@gnu.org; Sun, 11 Dec 2016 04:11:48 -0500 In-Reply-To: <871sxe6drn.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: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel@gnu.org On 11/12/16 09:01, Ludovic Court=C3=A8s wrote: > Christopher Baines skribis: >> This patch fixes some issues I've had with the postgresql service and = database >> locales. If system activation takes place before service activation, t= he >> locales are present and PostgreSQL can use them, but otherwise the Pos= tgreSQL >> service is limited in the locales that can be used. > > Oh, so =E2=80=9Cinitdb=E2=80=9D used to be run under the C locale, righ= t? Something like that, I don't remember the exact details. >> * gnu/services.scm: Activate the current system prior to the services, >> as this allows the services to use the files from the system, for >> example locales, in the service activation process. > > I=E2=80=99ve added part of this justification as a comment in the code = and > tweaked the commit log. > > Pushed, thanks! Great, thanks :)