From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KNFSLBX+U2LHDgEAgWs5BA (envelope-from ) for ; Mon, 11 Apr 2022 12:08:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YPSpKRX+U2LKPgAA9RJhRA (envelope-from ) for ; Mon, 11 Apr 2022 12:08:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 3878B20485 for ; Mon, 11 Apr 2022 12:08:21 +0200 (CEST) Received: from localhost ([::1]:48966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndqy3-0002b9-JL for larch@yhetil.org; Mon, 11 Apr 2022 06:08:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndqwo-0002a0-Fr for guix-patches@gnu.org; Mon, 11 Apr 2022 06:07:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndqwo-0003hU-6d for guix-patches@gnu.org; Mon, 11 Apr 2022 06:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndqwn-0000gn-Up for guix-patches@gnu.org; Mon, 11 Apr 2022 06:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54811] [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon' Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Apr 2022 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54811 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 54811@debbugs.gnu.org Received: via spool by 54811-submit@debbugs.gnu.org id=B54811.16496716042611 (code B ref 54811); Mon, 11 Apr 2022 10:07:01 +0000 Received: (at 54811) by debbugs.gnu.org; 11 Apr 2022 10:06:44 +0000 Received: from localhost ([127.0.0.1]:42536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndqwW-0000g2-G0 for submit@debbugs.gnu.org; Mon, 11 Apr 2022 06:06:44 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:54016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndqwV-0000ft-3S for 54811@debbugs.gnu.org; Mon, 11 Apr 2022 06:06:44 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id HN6h270034UW6Th01N6hX3; Mon, 11 Apr 2022 12:06:41 +0200 Message-ID: <5ba8549a9336a998133083939b1425f8bb5ad77f.camel@telenet.be> From: Maxime Devos Date: Mon, 11 Apr 2022 12:06:36 +0200 In-Reply-To: <877d7wkl18.fsf@gnu.org> References: <20220409091246.6979-1-ludo@gnu.org> <09e052a24c04b9ce45131e77a9c2eeffc57149e4.camel@telenet.be> <87tub26lva.fsf_-_@gnu.org> <39d3583decc263e805b27aea6bac138dbc9787b3.camel@telenet.be> <87sfqk6dvi.fsf@gnu.org> <7deae864707fc4aab3eadc28936775c6b920f8f9.camel@telenet.be> <877d7wkl18.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-0p4XBQUi+EXGVcXubka0" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649671601; bh=Q6z9f15JBaNZNT1RqlvhgtWi7B2o9e1c/BVtrnegmwU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=hAEXsOTxWU2QLRGIOBIHyEnkCGFQSVrR4TfkDkUH8Yjo4/bCXvZ7TZw0pqooUnbTf tISCzDADu6c4pb8xxpnMSbvQkrscqZkC7l63p3YR+R3yJV9QX4Tmca9B+t4EDp4dpl /b1dWYz1mQWrE1GQ9iEi8lxRLVpX3LFK40Cw46B4wqhSWwAi7ZePR6lF2hwKnMV5sE OwXvTrvT/mibL5IbEciVtiYKzpILTwnwbH3GQ/imlIxlWX2JIysdOO1We2dEhkz5nT hrA3m8Q+CqdiLgSWtKPcm8An1YUt44wntRGoacWkQWe8Sw+EK5ay9OMLZJCX7jHW2Z 8H3I1JnVLs4sg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649671701; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Q6z9f15JBaNZNT1RqlvhgtWi7B2o9e1c/BVtrnegmwU=; b=bMxv/eQi+WT9xnTdWBUoiVck+h+3yW9B1qbXSQ5OEbsqNkJdxwKGbSd3BFDSDGJt853iH6 XYsIQpdjGyw8m/vpv8SXF9qsH83uRr9LP53Lx8y/hN9yWLUkV4/R7gGK5oyCqlJjG4lbLz PinPbLnbicvMTeQQbOHoogOvdguJCYCmRNIAXXJYUtX8hhCIO+BnS0aG+W1ZdNZbx9StkJ flZAH+qm6wyL0PGAtr8hxoBVBid01jIWXMCw+2No1CMPB13lVQKKX6AjJWl3vF3pVcgu8M 90Ys2yOezPPTEM5wEjLLuroA07WlNhAGG+t0x7XeH7/a2pK2vILMjnbsu4PyjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649671701; a=rsa-sha256; cv=none; b=jHH9d5FAT9H/bkLoTe5/DJ/BTuerxFRQJr2klEN5MJ4UBabL4CKEqiCjAM2ChWzwUgs2LA b1iMfSniIv3keop00sQPe+orAnXn87ickrNOXOSKGw6Mh7Za0OSAVJ93j72JREkkjZ57mY Li+YFfnz6EijomkyVAQw8WDBoezbVcBcf4QI+tnRhEV9VDka6iysc6URYRz6WxeeTYhqYb wmmVLh/Q8ZiCllC8HEtnfeNdQo1iSxJ2xsh9DIlx+5/aHlfrBjfNlROdCcv9IuHT8CRRUw octXuYjYnV4WSoS8PXP2/+q1EuaMwmXBX9l6ungSsfaMod26JH2/kO9Tw3D0kA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=hAEXsOTx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=hAEXsOTx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3878B20485 X-Spam-Score: 3.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: z1B+ZYi0hCv7 --=-0p4XBQUi+EXGVcXubka0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op ma 11-04-2022 om 11:48 [+0200]: > > =C2=A0=C2=A0 * bonus: except possibly for the secret key material, "gui= x > > publish" > > =C2=A0=C2=A0=C2=A0=C2=A0 does not have to be started=C2=A0 as root anym= ore even if uses a > > =C2=A0=C2=A0=C2=A0=C2=A0 reserved port such as port 80 (assuming socket= activation is > > used). >=20 > But it does need to access the secret key=E2=80=A6 The =E2=80=98guix publish=E2=80=99 could be run as a separate, say, guix-pu= blish user, and the secret key could be made readable to guix-publish. Alternatively, the shepherd could open the secret key file on behalf of =E2=80=98guix publish=E2=80=99 and send it together with the listening sock= et to =E2=80=98guix publish=E2=80=99. Greetings, Maxime. --=-0p4XBQUi+EXGVcXubka0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlP9rBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rowAQDoyX4ci6zJFsGV6fdyGI3v2hNt 1B/4u9lZbNOr0opA6AD/WEiBG4BMu+9QnrIejG/YqZzpkqGpMChL9HX2KQhITAo= =Bdix -----END PGP SIGNATURE----- --=-0p4XBQUi+EXGVcXubka0--