From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GCpvCN3+s174WAAA0tVLHw (envelope-from ) for ; Thu, 07 May 2020 12:28:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aPzsEun+s16sPgAAB5/wlQ (envelope-from ) for ; Thu, 07 May 2020 12:28:25 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 05C2B940C68 for ; Thu, 7 May 2020 12:28:12 +0000 (UTC) Received: from localhost ([::1]:59758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWfdN-0005vY-91 for larch@yhetil.org; Thu, 07 May 2020 08:28:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWfdC-0005tM-PM for bug-guix@gnu.org; Thu, 07 May 2020 08:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWfdC-0003Ul-Fp for bug-guix@gnu.org; Thu, 07 May 2020 08:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWfdC-0005eD-DY for bug-guix@gnu.org; Thu, 07 May 2020 08:28:02 -0400 Subject: bug#41116: Guix deploy fails with new version of Herd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41116 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Mail-Followup-To: 41116@debbugs.gnu.org, ludo@gnu.org, alex@komputilo.eu Received: via spool by 41116-done@debbugs.gnu.org id=D41116.158885447821686 (code D ref 41116); Thu, 07 May 2020 12:28:02 +0000 Received: (at 41116-done) by debbugs.gnu.org; 7 May 2020 12:27:58 +0000 Received: from localhost ([127.0.0.1]:42352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWfd8-0005df-65 for submit@debbugs.gnu.org; Thu, 07 May 2020 08:27:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWfd6-0005d2-DE for 41116-done@debbugs.gnu.org; Thu, 07 May 2020 08:27:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49382) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWfcz-0003Sn-QI; Thu, 07 May 2020 08:27:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36070 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWfcy-0006Cd-OB; Thu, 07 May 2020 08:27:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <877dxog0wf.fsf@komputilo.eu> <87pnbg3coi.fsf@devup.no> Date: Thu, 07 May 2020 14:27:46 +0200 In-Reply-To: <87pnbg3coi.fsf@devup.no> (Marius Bakke's message of "Thu, 07 May 2020 00:45:33 +0200") Message-ID: <871rnwdj5p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41116-done@debbugs.gnu.org, Alex Sassmannshausen , Diego Nicola Barbato Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49799576432294]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[fastmail.com]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ludo@gnu.org,bug-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; URIBL_BLOCKED(0.00)[fastmail.com:email,gnu.org:email]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: s8lGxETo/4I7 Hello Alex & Marius, Marius Bakke skribis: > Alex Sassmannshausen via Bug reports for GNU Guix > writes: > >> Hello, >> >> I maintain a number of servers using Guix deploy. It seems that the >> recent upgrade to Herd in Guix, and specifically commit >> 4c0cc7bed3de2c0e2d3a6e95b88693941e839eec might have introduced a bug. >> >> From my testing, guix deploy currently consistently fails with: >> -----------------8<----------------------------->8------------------- >> ice-9/boot-9.scm:1667:16: In procedure raise-exception: >> ERROR: >> 1. &inferior-exception: >> arguments: (srfi-34 #" "Unrecognized keyword" () (#:file-creation-mask))]= 7eff2bd7be00>>) >> inferior: #f >> stack: () >> -----------------8<----------------------------->8------------------- >> >> A workaround is to build the system configuration locally on the target >> server, then to reconfigure. It will still error at the same place, but >> at this point, after restarting the server, the new version of Herd will >> be running and both deploy and reconfigure will work. >> >> I don't know what a good solution to this could be, but it may be >> something we need to consider in future development of Herd. > > This issue has been reported by a number of users on IRC. I think the > problem is that the the #:file-creation-mask keyword requires support > from the running Shepherd, which may not have it yet. I think we should > revert commit 4c0cc7bed3de2c0e2d3a6e95b88693941e839eec until we find a > smooth upgrade path. Can you try it and push if that fixes guix deploy? I=E2=80=99ve reverted the patch in 5aa4d2dcf2f4f8786358feb45338893ed08a4cd9. Diego: I guess we can reinstate the patch =E2=80=9Clater=E2=80=9D, once She= pherd 0.8 can be considered widespread. More importantly, we should handle service reload failures more gracefully, as proposed in , for both =E2=80=98reconfigure=E2=80=99 and =E2=80=98deploy=E2=80=99. Thanks, Ludo=E2=80=99.