GNU bug report logs - #49205
[services]: nginx doesn't restart after guix system reconfigure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Raghav Gururajan <rg@HIDDEN>; dated Thu, 24 Jun 2021 11:36:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 49205 <at> debbugs.gnu.org:


Received: (at 49205) by debbugs.gnu.org; 24 Jun 2021 18:30:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 24 14:30:25 2021
Received: from localhost ([127.0.0.1]:44107 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lwU7N-000715-9D
	for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 14:30:25 -0400
Received: from tobias.gr ([80.241.217.52]:49114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1lwU7K-0006x8-TT
 for 49205 <at> debbugs.gnu.org; Thu, 24 Jun 2021 14:30:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=gf/tK2r1tbgV0
 LM7/6fxsBzQqtdKeUgc057EDCs31b4=;
 h=date:in-reply-to:subject:cc:to:
 from:references; d=tobias.gr; b=HPH1TwDImTFas7ceIV3TX+x/194frhAPQgQMAN
 E/P5OTXUAGFJeC8TdSqTxBMaW4wpLqQTd+VF07H36nJNWR9vp2SVscvPD4ueefclwwdPRP
 xg8WPDYHNxXE0zGuaYrZ2EGO7si/moS8V6udCBVOgtJfrpM/PSBRod4b7vqZGOT6xXpgaP
 YDcpWnqoS2wE6znJcq4bBxPe9jxxzyoUotIBFH7rk2TDz2r6wwNYVPFxs+7GeOTTwaVrQ3
 qxtid0jKEJzvqEnfQAc/UtKXA7wmqcFhVWciTvUBwFF1yFX1JcMAhXlp2Mj17uEm0QXT+B
 dzV94FBb5PBnK3xaSMiGjcZA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 2f065277
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Thu, 24 Jun 2021 18:30:19 +0000 (UTC)
References: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raghav Gururajan <rg@HIDDEN>
Subject: Re: bug#49205: [services]: nginx doesn't restart after guix system
 reconfigure
In-reply-to: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
BIMI-Selector: v=BIMI1; s=default;
Date: Thu, 24 Jun 2021 20:30:21 +0200
Message-ID: <87v963ru82.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49205
Cc: bug-guix@HIDDEN, 49205 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raghav Gururajan via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A
> Throw to key `%exception' with args `("#<&invoke-error program:
> \"/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx\"=20
> arguments: (\"-c\"
> \"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\"=20
> \"-p\"=20
> \"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal:=20
> #f>")'.

The shortest answer is to run this command manually and see what=20
it prints out.  So

  $ sudo /gnu/store/g6n=E2=80=A6/sbin/nginx -c /gnu/store/=E2=80=A6 -p=20
  /var/run/nginx

in a terminal.

I saw you mention nginx and certbot in #guix.  It's unfortunately=20
common to end up in a catch-22 with Guix's nginx and certbot=20
services when using HTTP authentication, where nginx needs to be=20
running to receive your first certificate but refuses to start=20
because of missing certificates=E2=80=A6

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYNTPPQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15jyEA/jB0LKN0GuDIEMgedMWuhtIkeA42UKGhbi/6SmbF
zQj+AP95MZY67q5i4Fo7qJpiBk6/bPsawTQFGg6kdm/V84hLDA==
=ctBr
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#49205; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jun 2021 18:30:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 24 14:30:33 2021
Received: from localhost ([127.0.0.1]:44112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lwU7U-00079v-SG
	for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 14:30:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:44270)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1lwU7P-000744-O9
 for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 14:30:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57454)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1lwU7P-0004Hy-FF
 for bug-guix@HIDDEN; Thu, 24 Jun 2021 14:30:27 -0400
Received: from tobias.gr ([2a02:c205:2020:6054::1]:58176)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1lwU7N-0008Cn-7y
 for bug-guix@HIDDEN; Thu, 24 Jun 2021 14:30:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=gf/tK2r1tbgV0
 LM7/6fxsBzQqtdKeUgc057EDCs31b4=;
 h=date:in-reply-to:subject:cc:to:
 from:references; d=tobias.gr; b=HPH1TwDImTFas7ceIV3TX+x/194frhAPQgQMAN
 E/P5OTXUAGFJeC8TdSqTxBMaW4wpLqQTd+VF07H36nJNWR9vp2SVscvPD4ueefclwwdPRP
 xg8WPDYHNxXE0zGuaYrZ2EGO7si/moS8V6udCBVOgtJfrpM/PSBRod4b7vqZGOT6xXpgaP
 YDcpWnqoS2wE6znJcq4bBxPe9jxxzyoUotIBFH7rk2TDz2r6wwNYVPFxs+7GeOTTwaVrQ3
 qxtid0jKEJzvqEnfQAc/UtKXA7wmqcFhVWciTvUBwFF1yFX1JcMAhXlp2Mj17uEm0QXT+B
 dzV94FBb5PBnK3xaSMiGjcZA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 2f065277
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Thu, 24 Jun 2021 18:30:19 +0000 (UTC)
References: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Raghav Gururajan <rg@HIDDEN>
Subject: Re: bug#49205: [services]: nginx doesn't restart after guix system
 reconfigure
In-reply-to: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
BIMI-Selector: v=BIMI1; s=default;
Date: Thu, 24 Jun 2021 20:30:21 +0200
Message-ID: <87v963ru82.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@HIDDEN;
 helo=tobias.gr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 49205 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Raghav Gururajan via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A
> Throw to key `%exception' with args `("#<&invoke-error program:
> \"/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx\"=20
> arguments: (\"-c\"
> \"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\"=20
> \"-p\"=20
> \"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal:=20
> #f>")'.

The shortest answer is to run this command manually and see what=20
it prints out.  So

  $ sudo /gnu/store/g6n=E2=80=A6/sbin/nginx -c /gnu/store/=E2=80=A6 -p=20
  /var/run/nginx

in a terminal.

I saw you mention nginx and certbot in #guix.  It's unfortunately=20
common to end up in a catch-22 with Guix's nginx and certbot=20
services when using HTTP authentication, where nginx needs to be=20
running to receive your first certificate but refuses to start=20
because of missing certificates=E2=80=A6

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYNTPPQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15jyEA/jB0LKN0GuDIEMgedMWuhtIkeA42UKGhbi/6SmbF
zQj+AP95MZY67q5i4Fo7qJpiBk6/bPsawTQFGg6kdm/V84hLDA==
=ctBr
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#49205; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jun 2021 11:35:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 24 07:35:58 2021
Received: from localhost ([127.0.0.1]:42564 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lwNeB-00077O-E2
	for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 07:35:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:53558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1lwNe6-00077C-Bf
 for submit <at> debbugs.gnu.org; Thu, 24 Jun 2021 07:35:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48874)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rg@HIDDEN>)
 id 1lwNe5-0001R2-4B
 for bug-guix@HIDDEN; Thu, 24 Jun 2021 07:35:46 -0400
Received: from out2.migadu.com ([188.165.223.204]:17381)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rg@HIDDEN>)
 id 1lwNe2-0002uI-EI
 for bug-guix@HIDDEN; Thu, 24 Jun 2021 07:35:44 -0400
To: bug-guix@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1624534537;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=uBPVxwoBrBjU1oFGpvDRNvzeTrhGCOnx1uqxPU2Oatw=;
 b=VTLCoq2vYtPQRo/wtRi68do2zKbeOQR0ncLDkO17ThSeF41j2WDRFnCpU5yIY5wghCExxP
 uXJA8wHw+mGJ+D6brQmMipmYa0aYKqGgNEEtrDGRQSzvUQ30RUNDF9hebx/kO92QsxQiW4
 IsUBLTX8n1oYCKIVFemVM6j64bMAxTLO/Oh+kDg6FnlW+LvIV+PWUcp8asHNuE8cY5bT18
 HvrMS8xzxwM67sS5JAp6oevrxXINny71++7kiAZk9ehECvKtagLNlev+SDReVCl5RySgwO
 ZhUmWhYLVOkZIq5Q2BA3TVMHB+vI3/ibnZcy2Xl/cSVYB2p+oEKoE2pekTIuUw==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Raghav Gururajan <rg@HIDDEN>
Subject: [services]: nginx doesn't restart after guix system reconfigure
Message-ID: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
Date: Thu, 24 Jun 2021 07:35:35 -0400
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="75GrcUxyCkGdBiPvqb7KD4A5bVMkwyrTp"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
Received-SPF: pass client-ip=188.165.223.204;
 envelope-from=rg@HIDDEN; helo=out2.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--75GrcUxyCkGdBiPvqb7KD4A5bVMkwyrTp
Content-Type: multipart/mixed; boundary="s6SOuneEHNFA6JXQRxvlTidZd7XfXeyBC";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: bug-guix@HIDDEN
Message-ID: <ce7f75aa-9902-c0f0-c739-8939cfc713c9@HIDDEN>
Subject: [services]: nginx doesn't restart after guix system reconfigure

--s6SOuneEHNFA6JXQRxvlTidZd7XfXeyBC
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-CA
Content-Transfer-Encoding: quoted-printable

Hello Guix!

I am using certbot-service-type which also brings in nginx service. Upon =

`guix system reconfigure`, I get the following:

guix system: warning: exception caught while executing 'start' on=20
service 'nginx':
Throw to key `%exception' with args `("#<&invoke-error program:=20
\"/gnu/store/g6nhdp7i1sr51anq86hd6adrsm5ha857-nginx-1.21.0/sbin/nginx\"=20
arguments: (\"-c\"=20
\"/gnu/store/2igpjf27rm92np6jn6hfrxzx5m55a468-nginx.conf\" \"-p\"=20
\"/var/run/nginx\") exit-status: 1 term-signal: #f stop-signal: #f>")'.

Regards,
RG.


--s6SOuneEHNFA6JXQRxvlTidZd7XfXeyBC--

--75GrcUxyCkGdBiPvqb7KD4A5bVMkwyrTp
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYNRuBwUDAAAAAAAKCRBfWBZkf4vlUcfu
AP452tKj+35g+2PLiu+EoBWJbRRcarpMxbu2IdqpAOKimgEAie1B1MsJJBHtWeJRazpRkvIvpsUN
G0oEl7gBNqz51Qs=
=Br5N
-----END PGP SIGNATURE-----

--75GrcUxyCkGdBiPvqb7KD4A5bVMkwyrTp--




Acknowledgement sent to Raghav Gururajan <rg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#49205; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 24 Jun 2021 18:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.