From unknown Sun Jun 22 03:49:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22619 <22619@debbugs.gnu.org> To: bug#22619 <22619@debbugs.gnu.org> Subject: Status: postgresql-service error checking wtf Reply-To: bug#22619 <22619@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:49:07 +0000 retitle 22619 postgresql-service error checking wtf reassign 22619 guix submitter 22619 Danny Milosavljevic severity 22619 normal tag 22619 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 14:01:51 2016 Received: (at submit) by debbugs.gnu.org; 10 Feb 2016 19:01:51 +0000 Received: from localhost ([127.0.0.1]:35271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTa1P-0007cm-Is for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:01:51 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:48000) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTa1N-0007ce-UB for submit@debbugs.gnu.org; Wed, 10 Feb 2016 14:01:50 -0500 Received: from localhost (77.119.129.248.wireless.dyn.drei.com [77.119.129.248]) by dd1012.kasserver.com (Postfix) with ESMTPSA id AFAD21CA03AC for ; Wed, 10 Feb 2016 20:01:48 +0100 (CET) Date: Wed, 10 Feb 2016 20:01:43 +0100 From: Danny Milosavljevic To: submit@debbugs.gnu.org Subject: postgresql-service error checking wtf Message-ID: <20160210200143.4a9f95c2@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Package: postgresql When I first configure operating-system with postgresql-service with default config file, then run guix system reconfigure config.scm, then configure operating-system with postgresql-service with custom config file, then run guix system reconfigure config.scm, I get: --- initdb: directory "/var/lib/postgresql/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/var/lib/postgresql/data" or run initdb with an argument other than "/var/lib/postgresql/data". making '/gnu/store/byn534fg4agm0vv9szl5kkfl19n080b2-system' the current system... Installation finished. No error reported. ---- Postgresql doesn't run and the error message still references the default config file. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 18:11:43 2016 Received: (at control) by debbugs.gnu.org; 10 Feb 2016 23:11:43 +0000 Received: from localhost ([127.0.0.1]:35482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTdvD-0006ho-7C for submit@debbugs.gnu.org; Wed, 10 Feb 2016 18:11:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57472) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTdvC-0006hd-Cl for control@debbugs.gnu.org; Wed, 10 Feb 2016 18:11:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTdv6-0000zw-IP for control@debbugs.gnu.org; Wed, 10 Feb 2016 18:11:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTdv6-0000zs-Ez for control@debbugs.gnu.org; Wed, 10 Feb 2016 18:11:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aTdv5-0003YK-6I for control@debbugs.gnu.org; Wed, 10 Feb 2016 18:11:35 -0500 Subject: control message for bug 22619 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 10 Feb 2016 18:11:35 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) reassign 22619 guix From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 18:12:19 2016 Received: (at 22619) by debbugs.gnu.org; 10 Feb 2016 23:12:19 +0000 Received: from localhost ([127.0.0.1]:35486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTdvn-0006jJ-FU for submit@debbugs.gnu.org; Wed, 10 Feb 2016 18:12:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57628) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTdvl-0006j3-HM for 22619@debbugs.gnu.org; Wed, 10 Feb 2016 18:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTdvf-000180-MQ for 22619@debbugs.gnu.org; Wed, 10 Feb 2016 18:12:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTdvc-00017J-HP; Wed, 10 Feb 2016 18:12:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aTdvb-0003aJ-Ff; Wed, 10 Feb 2016 18:12:07 -0500 From: Glenn Morris To: Danny Milosavljevic Subject: Re: bug#22619: postgresql-service error checking wtf References: <20160210200143.4a9f95c2@scratchpost.org> X-Spook: Transportation security Pakistan Firefly Drug war oil X-Ran: `arRZNnp)M],}Zu[:>%e9p*lk4ncO$|HP?vzQCB/piAZm5?Bk^T?Gn8>1.cV|U>V*!!OK' X-Hue: red X-Attribution: GM Date: Wed, 10 Feb 2016 18:12:07 -0500 In-Reply-To: <20160210200143.4a9f95c2@scratchpost.org> (Danny Milosavljevic's message of "Wed, 10 Feb 2016 20:01:43 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 22619 Cc: 22619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Danny Milosavljevic wrote: > Package: postgresql There's no postgresql package on debbugs.gnu.org, so your report went to the help-debbugs mailing list. >From the rest of your report, I'm guessing this should have been assigned to guix, so I did that. > When I first configure operating-system with postgresql-service with > default config file, then run > > guix system reconfigure config.scm, > > then configure operating-system with postgresql-service with custom > config file, then run > > guix system reconfigure config.scm, > > I get: > > --- > initdb: directory "/var/lib/postgresql/data" exists but is not empty > If you want to create a new database system, either remove or empty > the directory "/var/lib/postgresql/data" or run initdb > with an argument other than "/var/lib/postgresql/data". > making '/gnu/store/byn534fg4agm0vv9szl5kkfl19n080b2-system' the > current system... > Installation finished. No error reported. > ---- > > Postgresql doesn't run and the error message still references the > default config file. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 12 09:14:42 2016 Received: (at 22619) by debbugs.gnu.org; 12 Feb 2016 14:14:42 +0000 Received: from localhost ([127.0.0.1]:37367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEUc-00065X-D2 for submit@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37620) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEUb-00065L-J1 for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEUR-0004aE-Eb for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:14:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEUR-0004aA-Av; Fri, 12 Feb 2016 09:14:31 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:51242 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUEUQ-00019R-MA; Fri, 12 Feb 2016 09:14:31 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#22619: postgresql-service error checking wtf References: <20160210200143.4a9f95c2@scratchpost.org> Date: Fri, 12 Feb 2016 15:14:28 +0100 In-Reply-To: <20160210200143.4a9f95c2@scratchpost.org> (Danny Milosavljevic's message of "Wed, 10 Feb 2016 20:01:43 +0100") Message-ID: <8760xu10e3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 22619 Cc: 22619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Danny Milosavljevic skribis: > initdb: directory "/var/lib/postgresql/data" exists but is not empty > If you want to create a new database system, either remove or empty > the directory "/var/lib/postgresql/data" or run initdb > with an argument other than "/var/lib/postgresql/data". > making '/gnu/store/byn534fg4agm0vv9szl5kkfl19n080b2-system' the current s= ystem... > Installation finished. No error reported. > ---- > > Postgresql doesn't run I=E2=80=99m not familiar with PostgreSQL, but perhaps you just need to do w= hat the message above says? I=E2=80=99ve tested =E2=80=98postgresql-service=E2=80=99 in a pristine syst= em with =E2=80=98guix system vm=E2=80=99 and it starts without any such message. So I guess there=E2=80= =99s stale data in /var/lib/postgresql/data on your system? > and the error message still references the default config file. I don=E2=80=99t see any references to a config file in what you pasted. HTH, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 12 09:15:12 2016 Received: (at 22619) by debbugs.gnu.org; 12 Feb 2016 14:15:12 +0000 Received: from localhost ([127.0.0.1]:37371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEV6-0006IJ-L4 for submit@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37723) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEV5-0006Ba-Kl for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEUw-0004eJ-LQ for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEUw-0004eD-Ip; Fri, 12 Feb 2016 09:15:02 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:51244 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUEUv-0001BS-BD; Fri, 12 Feb 2016 09:15:01 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Glenn Morris Subject: Re: bug#22619: postgresql-service error checking wtf References: <20160210200143.4a9f95c2@scratchpost.org> Date: Fri, 12 Feb 2016 15:14:59 +0100 In-Reply-To: (Glenn Morris's message of "Wed, 10 Feb 2016 18:12:07 -0500") Message-ID: <871t8i10d8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 22619 Cc: Danny Milosavljevic , 22619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Glenn Morris skribis: > There's no postgresql package on debbugs.gnu.org, so your report > went to the help-debbugs mailing list. > >>>From the rest of your report, I'm guessing this should have been > assigned to guix, so I did that. Indeed, thanks Glenn! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 12 09:15:22 2016 Received: (at control) by debbugs.gnu.org; 12 Feb 2016 14:15:22 +0000 Received: from localhost ([127.0.0.1]:37374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEVF-0006SX-SN for submit@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37847) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUEVF-0006M2-2N for control@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEV7-0004ln-Hd for control@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEV7-0004lc-FD for control@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:13 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:51246 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUEV6-0001Hk-AO for control@debbugs.gnu.org; Fri, 12 Feb 2016 09:15:13 -0500 Date: Fri, 12 Feb 2016 15:15:10 +0100 Message-Id: <87ziv6ypzl.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #22619 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) tags 22619 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 12 14:49:10 2016 Received: (at 22619) by debbugs.gnu.org; 12 Feb 2016 19:49:10 +0000 Received: from localhost ([127.0.0.1]:38248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUJiH-0005IJ-Vm for submit@debbugs.gnu.org; Fri, 12 Feb 2016 14:49:10 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:47859) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUJiF-0005IA-Gb for 22619@debbugs.gnu.org; Fri, 12 Feb 2016 14:49:07 -0500 Received: from localhost (178.115.131.45.wireless.dyn.drei.com [178.115.131.45]) by dd1012.kasserver.com (Postfix) with ESMTPSA id A0F001CA03AC; Fri, 12 Feb 2016 20:49:02 +0100 (CET) Date: Fri, 12 Feb 2016 20:48:58 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?UTF-8?B?Q291cnTDqHM=?=) Subject: Re: bug#22619: postgresql-service error checking wtf Message-ID: <20160212204858.56275e93@scratchpost.org> In-Reply-To: <8760xu10e3.fsf@gnu.org> References: <20160210200143.4a9f95c2@scratchpost.org> <8760xu10e3.fsf@gnu.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22619 Cc: 22619@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, I've found out some more details. The message=20 =20 > > initdb: directory "/var/lib/postgresql/data" exists but is not empty > > If you want to create a new database system, either remove or empty > > the directory "/var/lib/postgresql/data" or run initdb > > with an argument other than "/var/lib/postgresql/data". is not an error for the entire service. It's initdb refusing to clobber the= existing database (which has been created by the postgresql-service instan= ce with no #:config-file argument) and helpful in preventing data loss. The actual problem only arises because guix reconfigure doesn't deem a chan= ge in service arguments as reason to restart (or reconfigure) a service. I.e. before, my config was: (postgresql-service ) Then I did guix reconfigure ... Afterwards, I changed the config to: (postgresql-service #:config-file ...) Then I did giux reconfigure # this erroneously doesn't reload the postgre= s service!! > > and the error message still references the default config file. =20 >=20 > I don=E2=80=99t see any references to a config file in what you pasted. In the postgres-service definition in guix/gnu/services/databases.scm , the= re's a %default-postgres-config . That's what I meant. At all times, the default config file was printed in the log - which was be= cause the postgres service never actually was reconfigured. >I=E2=80=99ve tested =E2=80=98postgresql-service=E2=80=99 in a pristine sys= tem with =E2=80=98guix system vm=E2=80=99 and it starts without any such me= ssage. So I guess there=E2=80=99s stale data in /var/lib/postgresql/data o= n your system? It was left over from the first unsuccessful launch because bug# 22618 hadn= 't been fixed at the time. Thanks, Danny From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 06:38:18 2016 Received: (at 22619-done) by debbugs.gnu.org; 21 Feb 2016 11:38:18 +0000 Received: from localhost ([127.0.0.1]:35851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXSLC-0007Pw-0y for submit@debbugs.gnu.org; Sun, 21 Feb 2016 06:38:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55333) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXSLA-0007PP-Kx for 22619-done@debbugs.gnu.org; Sun, 21 Feb 2016 06:38:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXSL0-0006xw-OL for 22619-done@debbugs.gnu.org; Sun, 21 Feb 2016 06:38:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXSL0-0006xs-Kz; Sun, 21 Feb 2016 06:38:06 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:48008 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXSKz-0007QM-M8; Sun, 21 Feb 2016 06:38:06 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#22619: postgresql-service error checking wtf References: <20160210200143.4a9f95c2@scratchpost.org> <8760xu10e3.fsf@gnu.org> <20160212204858.56275e93@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Vent=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 21 Feb 2016 12:38:03 +0100 In-Reply-To: <20160212204858.56275e93@scratchpost.org> (Danny Milosavljevic's message of "Fri, 12 Feb 2016 20:48:58 +0100") Message-ID: <87wppyxpic.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22619-done Cc: 22619-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Danny Milosavljevic skribis: > The actual problem only arises because guix reconfigure doesn't deem a ch= ange in service arguments as reason to restart (or reconfigure) a service. > > I.e. before, my config was: > > (postgresql-service ) > > Then I did guix reconfigure ... > > Afterwards, I changed the config to: > > (postgresql-service #:config-file ...) > > Then I did giux reconfigure # this erroneously doesn't reload the postg= res service!! Yes, this is a known limitation: . Currently, for services that are safe to be restarted, the solution is to explicitly stop them beforehand, in which case the new service gets started by =E2=80=98guix system reconfigure=E2=80=99: # herd stop postgresql # guix system reconfigure new-config.scm I=E2=80=99m closing this bug. Let me know if anything else is amiss. Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 03:49:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Mar 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator