X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: Andreas Enge <andreas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 04 Mar 2018 23:07:02 +0000 Resent-Message-ID: <handler.30706.B.15202048145808 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: guix-devel@HIDDEN Cc: 30706 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15202048145808 (code B ref -1); Sun, 04 Mar 2018 23:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2018 23:06:54 +0000 Received: from localhost ([127.0.0.1]:44821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1esciT-0001Vc-Tf for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 18:06:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1esciS-0001VP-Gs for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 18:06:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andreas@HIDDEN>) id 1esciM-0001Xn-9w for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 18:06:47 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <andreas@HIDDEN>) id 1esciM-0001Xf-6S for submit <at> debbugs.gnu.org; Sun, 04 Mar 2018 18:06:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andreas@HIDDEN>) id 1esciL-0000QH-2L for bug-guix@HIDDEN; Sun, 04 Mar 2018 18:06:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andreas@HIDDEN>) id 1esciH-0001W8-TZ for bug-guix@HIDDEN; Sun, 04 Mar 2018 18:06:45 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56226) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <andreas@HIDDEN>) id 1esciH-0001VG-NB; Sun, 04 Mar 2018 18:06:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id ED36E11ED0; Mon, 5 Mar 2018 00:06:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4FUup04LvRuM; Mon, 5 Mar 2018 00:06:38 +0100 (CET) Received: from jurong (unknown [IPv6:2001:910:103f::c1e]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 853C8DAF6; Mon, 5 Mar 2018 00:06:38 +0100 (CET) Date: Mon, 5 Mar 2018 00:06:37 +0100 From: Andreas Enge <andreas@HIDDEN> Message-ID: <20180304230637.GA24077@jurong> References: <20180304222749.GA23799@jurong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180304222749.GA23799@jurong> User-Agent: Mutt/1.9.3 (2018-01-21) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Well, I am turning this into a bug report, since it still occurs with the latest git commit ac1a9ce8b07f3b80900ee08436ff6e683e8dc195 . This is the result of "./pre-inst-env guix system reconfigure ...", where "..." is my configuration file: ... creating nginx log directory '/var/log/nginx' creating nginx run directory '/var/run/nginx' creating nginx temp directories '/var/run/nginx/{client_body,proxy,fastcgi,uwsgi,scgi}_temp' nginx: [alert] could not open error log file: open() "/gnu/store/pp71iff1qxwhh82vm34g18h9kmn0xrg5-nginx-1.13.9/logs/error.log" failed (2: No such file or directory) nginx: the configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf syntax is ok nginx: configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf test is successful `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/root' -> `/etc/ssh/authorized_keys.d/root' `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/andreas' -> `/etc/ssh/authorized_keys.d/andreas' guix system: loading new services: user-homes term-auto nginx... shepherd: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?). guix system: error: exception caught while executing 'eval' on service 'root': find-long-options: unbound variable Installing for i386-pc platform. /gnu/store/1dnbfda2p1bxwyl0rcm96ka9pmi0wb88-grub-2.02/sbin/grub-install: warning: disk does not exist, so falling back to partition device /dev/xvda2. /gnu/store/1dnbfda2p1bxwyl0rcm96ka9pmi0wb88-grub-2.02/sbin/grub-install: warning: disk does not exist, so falling back to partition device /dev/xvda2. /gnu/store/1dnbfda2p1bxwyl0rcm96ka9pmi0wb88-grub-2.02/sbin/grub-install: warning: disk does not exist, so falling back to partition device /dev/xvda2. /gnu/store/1dnbfda2p1bxwyl0rcm96ka9pmi0wb88-grub-2.02/sbin/grub-install: error: cannot find a GRUB drive for /dev/sda. Check your device.map. guix system: error: failed to install bootloader /gnu/store/9iv63jm07klxvrr4fpwv6q5vpnca13ja-bootloader-installer The final error is "normal", since I am installing in a Xen virtual machine, where /dev/sda does not exist; it did not matter before. The real error occurs above, the "uncaught exception". But: # herd status nginx herd: service 'nginx' could not be found Then I do a # ./pre-inst-env guix system roll-back # herd status nginx herd: service 'nginx' could not be found Otherwise said, I can go back, but my previously running web server has definitely gone! How do I get it back? Andreas
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andreas Enge <andreas@HIDDEN> Subject: bug#30706: Acknowledgement (Nginx service fails) Message-ID: <handler.30706.B.15202048145808.ack <at> debbugs.gnu.org> References: <20180304230637.GA24077@jurong> X-Gnu-PR-Message: ack 30706 X-Gnu-PR-Package: guix Reply-To: 30706 <at> debbugs.gnu.org Date: Sun, 04 Mar 2018 23:07:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 30706 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 30706: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30706 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: Ricardo Wurmus <rekado@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 05 Mar 2018 07:24:02 +0000 Resent-Message-ID: <handler.30706.B30706.152023462120262 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge <andreas@HIDDEN> Cc: guix-devel@HIDDEN, 30706 <at> debbugs.gnu.org Received: via spool by 30706-submit <at> debbugs.gnu.org id=B30706.152023462120262 (code B ref 30706); Mon, 05 Mar 2018 07:24:02 +0000 Received: (at 30706) by debbugs.gnu.org; 5 Mar 2018 07:23:41 +0000 Received: from localhost ([127.0.0.1]:45001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eskTF-0005Gi-1w for submit <at> debbugs.gnu.org; Mon, 05 Mar 2018 02:23:41 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1eskTD-0005Ga-1K for 30706 <at> debbugs.gnu.org; Mon, 05 Mar 2018 02:23:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1520234601; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=1614; bh=tarbG+kj05Lg+9yEg8yPf2vjLCH8lZUoKTsO5aCu/2I=; b=br+X3aFPvQt5PBJDAW3S68uxIKDfDILC4uK/CoiCjVT0YVZfvfeCbalc/61QBbBe DkWPlXT/2M47Ju+5gTMB8kciCzSFDs+Djxmu8Sc9ExD8MbRYFPke1lshKjk6VlSHD/f grdo104xslYx/szgRFzTvZSThrkcYJsIDCIa4LE8= Received: from localhost (port-92-200-95-79.dynamic.qsc.de [92.200.95.79]) by mx.zohomail.com with SMTPS id 152023460174643.35581497776866; Sun, 4 Mar 2018 23:23:21 -0800 (PST) References: <20180304222749.GA23799@jurong> <20180304230637.GA24077@jurong> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus <rekado@HIDDEN> In-reply-to: <20180304230637.GA24077@jurong> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 05 Mar 2018 08:23:18 +0100 Message-ID: <87tvtvyoih.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: -0.0 (/) 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: -0.0 (/) Andreas Enge <andreas@HIDDEN> writes: > Well, I am turning this into a bug report, since it still occurs with > the latest git commit ac1a9ce8b07f3b80900ee08436ff6e683e8dc195 . > > This is the result of "./pre-inst-env guix system reconfigure ...", > where "..." is my configuration file: > > ... > creating nginx log directory '/var/log/nginx' > creating nginx run directory '/var/run/nginx' > creating nginx temp directories '/var/run/nginx/{client_body,proxy,fastcgi,uwsgi,scgi}_temp' > nginx: [alert] could not open error log file: open() "/gnu/store/pp71iff1qxwhh82vm34g18h9kmn0xrg5-nginx-1.13.9/logs/error.log" failed (2: No such file or directory) > nginx: the configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf syntax is ok > nginx: configuration file /gnu/store/5ixkryw6jl32cm6d1g9jb8dm9rbz8csc-nginx.conf test is successful > `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/root' -> `/etc/ssh/authorized_keys.d/root' > `/gnu/store/zchh8s3r1bbmia3zfxsyhsz3c4b9fmps-openssh-authorized-keys/andreas' -> `/etc/ssh/authorized_keys.d/andreas' > guix system: loading new services: user-homes term-auto nginx... > shepherd: Evaluating user expression (register-services (primitive-load "/gnu/st?") ?). > guix system: error: exception caught while executing 'eval' on service 'root': > find-long-options: unbound variable I had the same error when updating my i686 netbook after a long while. After a reboot everything seemed to be fine, though. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net
X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: Andreas Enge <andreas@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 05 Mar 2018 07:44:02 +0000 Resent-Message-ID: <handler.30706.B30706.152023581722005 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus <rekado@HIDDEN> Cc: guix-devel@HIDDEN, 30706 <at> debbugs.gnu.org Received: via spool by 30706-submit <at> debbugs.gnu.org id=B30706.152023581722005 (code B ref 30706); Mon, 05 Mar 2018 07:44:02 +0000 Received: (at 30706) by debbugs.gnu.org; 5 Mar 2018 07:43:37 +0000 Received: from localhost ([127.0.0.1]:45005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eskmW-0005ir-P7 for submit <at> debbugs.gnu.org; Mon, 05 Mar 2018 02:43:36 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:34818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1eskmU-0005ii-Jz for 30706 <at> debbugs.gnu.org; Mon, 05 Mar 2018 02:43:35 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 52BA611862; Mon, 5 Mar 2018 08:43:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8UVF6qxJGXSH; Mon, 5 Mar 2018 08:43:32 +0100 (CET) Received: from jurong (unknown [IPv6:2001:910:103f::c1e]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 910A210CB1; Mon, 5 Mar 2018 08:43:31 +0100 (CET) Date: Mon, 5 Mar 2018 08:43:24 +0100 From: Andreas Enge <andreas@HIDDEN> Message-ID: <20180305074324.GA7822@jurong> References: <20180304222749.GA23799@jurong> <20180304230637.GA24077@jurong> <87tvtvyoih.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tvtvyoih.fsf@HIDDEN> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.0 (/) 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: -0.0 (/) On Mon, Mar 05, 2018 at 08:23:18AM +0100, Ricardo Wurmus wrote: > I had the same error when updating my i686 netbook after a long while. > After a reboot everything seemed to be fine, though. Ah, thanks for the information! A reboot made things worse in my case - I rebooted the virtual machine, and now I cannot ssh into it any more. So it looks like I will have to set it up from scratch again... In my case, the problem occurred between February 28 and March 4. Andreas
X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 05 Mar 2018 10:10:02 +0000 Resent-Message-ID: <handler.30706.B30706.15202445783320 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andreas Enge <andreas@HIDDEN> Cc: guix-devel@HIDDEN, Danny Milosavljevic <dannym@HIDDEN>, 30706 <at> debbugs.gnu.org Received: via spool by 30706-submit <at> debbugs.gnu.org id=B30706.15202445783320 (code B ref 30706); Mon, 05 Mar 2018 10:10:02 +0000 Received: (at 30706) by debbugs.gnu.org; 5 Mar 2018 10:09:38 +0000 Received: from localhost ([127.0.0.1]:45149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1esn3q-0000rU-7X for submit <at> debbugs.gnu.org; Mon, 05 Mar 2018 05:09:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1esn3o-0000rM-LJ for 30706 <at> debbugs.gnu.org; Mon, 05 Mar 2018 05:09:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DA24B11E58; Mon, 5 Mar 2018 11:09:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RmCowKqbG7DY; Mon, 5 Mar 2018 11:09:35 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EB47A11E16; Mon, 5 Mar 2018 11:09:34 +0100 (CET) From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180304222749.GA23799@jurong> <20180304230637.GA24077@jurong> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 =?UTF-8?Q?Vent=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 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-pc-linux-gnu Date: Mon, 05 Mar 2018 11:09:34 +0100 In-Reply-To: <20180304230637.GA24077@jurong> (Andreas Enge's message of "Mon, 5 Mar 2018 00:06:37 +0100") Message-ID: <87k1uqbzq9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) 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 (+) Andreas Enge <andreas@HIDDEN> skribis: > guix system: loading new services: user-homes term-auto nginx... > shepherd: Evaluating user expression (register-services (primitive-load "= /gnu/st?") ?). > guix system: error: exception caught while executing 'eval' on service 'r= oot': > find-long-options: unbound variable The problem we have here is that the agetty service expects =E2=80=98find-long-options=E2=80=99 from linux-boot.scm, and it expects it = at the top level. So what happens above is that we evaluate in PID=C2=A01 code like: (make <service> ;; =E2=80=A6 #:start (let ((tty =E2=80=A6 (find-long-options =E2=80=A6) =E2=80=A6)) =E2=80=A6)) If you run this on an =E2=80=9Cold=E2=80=9D GuixSD, =E2=80=98find-long-opti= ons=E2=80=99 is undefined. Thus the whole (register-services =E2=80=A6) expression fails to evaluate, = and we end up with some of the services missing. Conclusions: 1. =E2=80=98guix system reconfigure=E2=80=99 should probably register ser= vices one by one so that if one of the service expressions is erroneous, we don=E2=80=99t bork everything. See =E2=80=98upgrade-shepherd-services= =E2=80=99. 2. IWBN to delay execution of this whole default-tty thing to the #:start method. Ideas, Danny? In general we should do as little as possible at the top level in the Shepherd config file. Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: Danny Milosavljevic <dannym@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 06 Mar 2018 16:25:03 +0000 Resent-Message-ID: <handler.30706.B30706.152035350217627 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: guix-devel@HIDDEN, Andreas Enge <andreas@HIDDEN>, 30706 <at> debbugs.gnu.org Received: via spool by 30706-submit <at> debbugs.gnu.org id=B30706.152035350217627 (code B ref 30706); Tue, 06 Mar 2018 16:25:03 +0000 Received: (at 30706) by debbugs.gnu.org; 6 Mar 2018 16:25:02 +0000 Received: from localhost ([127.0.0.1]:47902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1etFOg-0004aA-46 for submit <at> debbugs.gnu.org; Tue, 06 Mar 2018 11:25:02 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:45740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1etFOe-0004Zp-4J for 30706 <at> debbugs.gnu.org; Tue, 06 Mar 2018 11:25:00 -0500 Received: from localhost (77.118.199.63.wireless.dyn.drei.com [77.118.199.63]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 2E2D3336009F; Tue, 6 Mar 2018 17:24:58 +0100 (CET) Date: Tue, 6 Mar 2018 17:24:42 +0100 From: Danny Milosavljevic <dannym@HIDDEN> Message-ID: <20180306172442.76df0bb1@HIDDEN> In-Reply-To: <87k1uqbzq9.fsf@HIDDEN> References: <20180304222749.GA23799@jurong> <20180304230637.GA24077@jurong> <87k1uqbzq9.fsf@HIDDEN> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/R48Yasl/7Ml6otDtAMM4W=2"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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: -0.7 (/) --Sig_/R48Yasl/7Ml6otDtAMM4W=2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, > If you run this on an =E2=80=9Cold=E2=80=9D GuixSD, =E2=80=98find-long-op= tions=E2=80=99 is undefined. How can it be that (gnu services base) with find-long-options call is prese= nt but the (gnu build linux-boot)'s find-long options isn't present? Aren't they either both added by "guix system reconfigure" (or both removed= )? Also when selecting an old generation in the Grub boot menu, isn't both (gnu build linux-boot) and (gnu services base) at the same generation when starting up the service (as opposed to stopping the old service)? > 1. =E2=80=98guix system reconfigure=E2=80=99 should probably register s= ervices one by > one so that if one of the service expressions is erroneous, we > don=E2=80=99t bork everything. See =E2=80=98upgrade-shepherd-servic= es=E2=80=99. Yes please. > 2. IWBN to delay execution of this whole default-tty thing to the > #:start method. Ideas, Danny? The idea was that if you specify a serial console at boot that you can actually log in at that console. So it's trying to find out whether, at the time of service start, there is a serial console specified (in the Linux command line), and if so, start an agetty. Otherwise do not start that agetty. We could also do that without a guix service - but I thought it would be nice to have a guix service for it as well. --Sig_/R48Yasl/7Ml6otDtAMM4W=2 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqewMoACgkQ5xo1VCww uqVULwgApCiNjI0og8Vb4Ve/wAs7Xy+I8Rr62jPEJtCqf5ALg1m+5R+h7kI3+PBM FOYxTnhUisa0Qt4DEbwmJVAm/s6L4wSbxpYtb33kkp2F8pW4sbcfKHVE7Gj60Pf7 Nh9wPxdyD8otJhxOf7tyV2SDiEoZNCvu0qoIABIMM/zkmPro51UWC8Or5bIKcXah RAUkk+LcO9ZByGI1DLjcpwFf0d/QvBvmWDNgaYF+roA8b1x8mbe2V3brLS0oRmua NiP1up6YckD559GF9Tqz54GhGN3uszB4SLaGJAJOz3X3rOTkS50a4genFDIGz/rA 4Z+sa7MV2UhJFhgVOyzYRAdgYCB+ew== =2fLi -----END PGP SIGNATURE----- --Sig_/R48Yasl/7Ml6otDtAMM4W=2--
Received: (at control) by debbugs.gnu.org; 8 Mar 2018 09:09:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 08 04:09:07 2018 Received: from localhost ([127.0.0.1]:50177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1etrXs-0007YM-U9 for submit <at> debbugs.gnu.org; Thu, 08 Mar 2018 04:09:06 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:2934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1etrXr-0007XT-S0 for control <at> debbugs.gnu.org; Thu, 08 Mar 2018 04:09:04 -0500 X-IronPort-AV: E=Sophos;i="5.47,440,1515452400"; d="scan'208";a="257442953" Received: from unknown (HELO ribbon) ([193.50.110.144]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 08 Mar 2018 10:08:58 +0100 Date: Thu, 08 Mar 2018 10:08:57 +0100 Message-Id: <87r2ovndcm.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30706 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: control 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: -4.0 (----) retitle 30706 'guix system reconfigure' can fail to load new system services
Received: (at control) by debbugs.gnu.org; 8 Mar 2018 09:09:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 08 04:09:08 2018 Received: from localhost ([127.0.0.1]:50179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1etrXw-0007Yc-3Y for submit <at> debbugs.gnu.org; Thu, 08 Mar 2018 04:09:08 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:2934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1etrXs-0007XT-G7 for control <at> debbugs.gnu.org; Thu, 08 Mar 2018 04:09:04 -0500 X-IronPort-AV: E=Sophos;i="5.47,440,1515452400"; d="scan'208";a="257442957" Received: from unknown (HELO ribbon) ([193.50.110.144]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 08 Mar 2018 10:09:00 +0100 Date: Thu, 08 Mar 2018 10:09:00 +0100 Message-Id: <87po4fndcj.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30706 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: control 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: -4.0 (----) severity 30706 important
X-Loop: help-debbugs@HIDDEN Subject: bug#30706: Nginx service fails Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sat, 10 Mar 2018 15:31:01 +0000 Resent-Message-ID: <handler.30706.B30706.152069583016804 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 30706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic <dannym@HIDDEN> Cc: guix-devel@HIDDEN, Andreas Enge <andreas@HIDDEN>, 30706 <at> debbugs.gnu.org Received: via spool by 30706-submit <at> debbugs.gnu.org id=B30706.152069583016804 (code B ref 30706); Sat, 10 Mar 2018 15:31:01 +0000 Received: (at 30706) by debbugs.gnu.org; 10 Mar 2018 15:30:30 +0000 Received: from localhost ([127.0.0.1]:54301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eugS6-0004My-D9 for submit <at> debbugs.gnu.org; Sat, 10 Mar 2018 10:30:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1eugS4-0004Mo-9S for 30706 <at> debbugs.gnu.org; Sat, 10 Mar 2018 10:30:29 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3131110918; Sat, 10 Mar 2018 16:30:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYflhULd0_AV; Sat, 10 Mar 2018 16:30:16 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A41C9107F0; Sat, 10 Mar 2018 16:30:16 +0100 (CET) From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180304222749.GA23799@jurong> <20180304230637.GA24077@jurong> <87k1uqbzq9.fsf@HIDDEN> <20180306172442.76df0bb1@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?UTF-8?Q?Vent=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 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-pc-linux-gnu Date: Sat, 10 Mar 2018 16:30:15 +0100 In-Reply-To: <20180306172442.76df0bb1@HIDDEN> (Danny Milosavljevic's message of "Tue, 6 Mar 2018 17:24:42 +0100") Message-ID: <87o9jwuewo.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) 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 (+) Heya, Danny Milosavljevic <dannym@HIDDEN> skribis: >> If you run this on an =E2=80=9Cold=E2=80=9D GuixSD, =E2=80=98find-long-o= ptions=E2=80=99 is undefined. > > How can it be that (gnu services base) with find-long-options call is pre= sent > but the (gnu build linux-boot)'s find-long options isn't present? The service-upgrade code loads new service definitions in PID=C2=A01. However, it does not force a reload of already-loaded modules. What happens here is that (gnu build linux-boot), the one without =E2=80=98find-long-options=E2=80=99, is already available in PID=C2=A01. T= hus, when end up using that one, which lacks =E2=80=98find-long-options=E2=80=99. We could call =E2=80=98reload-module=E2=80=99, but that=E2=80=99s probably = not a great idea as it could cause breakage in previously-loaded code in PID=C2=A01. So I think the current approach is the safest, and breakage of this sort should be quite rare; we should pay attention to such issues, though, and try hard to avoid them. (Note that there=E2=80=99s no problem once you reboot, of course.) >> 1. =E2=80=98guix system reconfigure=E2=80=99 should probably register = services one by >> one so that if one of the service expressions is erroneous, we >> don=E2=80=99t bork everything. See =E2=80=98upgrade-shepherd-servi= ces=E2=80=99. > > Yes please. > >> 2. IWBN to delay execution of this whole default-tty thing to the >> #:start method. Ideas, Danny? > > The idea was that if you specify a serial console at boot that you can > actually log in at that console. > > So it's trying to find out whether, at the time of service start, > there is a serial console specified (in the Linux command line), and if > so, start an agetty. Otherwise do not start that agetty. > > We could also do that without a guix service - but I thought it would be > nice to have a guix service for it as well. I agree. I think what you did in c32e3ddedd103318ca3f0a4bf0c91c91e2517806 is good. The effect here is just that agetty would fail to start upon reconfigure, but that=E2=80=99s an acceptable limitation IMO. Thanks, Ludo=E2=80=99.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.