From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 /aWLCFn+U2KeHgEAgWs5BA (envelope-from ) for ; Mon, 11 Apr 2022 12:09:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oA0SBFn+U2LoCAAAauVa8A (envelope-from ) for ; Mon, 11 Apr 2022 12:09:29 +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 A215020495 for ; Mon, 11 Apr 2022 12:09:27 +0200 (CEST) Received: from localhost ([::1]:51020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndqz8-00042f-NT for larch@yhetil.org; Mon, 11 Apr 2022 06:09:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndqyk-0003zC-38 for guix-patches@gnu.org; Mon, 11 Apr 2022 06:09:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndqyj-00040C-Q7 for guix-patches@gnu.org; Mon, 11 Apr 2022 06:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndqyj-0000kM-LW for guix-patches@gnu.org; Mon, 11 Apr 2022 06:09: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:09: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.16496717402863 (code B ref 54811); Mon, 11 Apr 2022 10:09:01 +0000 Received: (at 54811) by debbugs.gnu.org; 11 Apr 2022 10:09:00 +0000 Received: from localhost ([127.0.0.1]:42551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndqyh-0000k7-Oi for submit@debbugs.gnu.org; Mon, 11 Apr 2022 06:08:59 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:50496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndqyf-0000jx-8g for 54811@debbugs.gnu.org; Mon, 11 Apr 2022 06:08:57 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id HN8v2700B4UW6Th01N8vyz; Mon, 11 Apr 2022 12:08:56 +0200 Message-ID: From: Maxime Devos Date: Mon, 11 Apr 2022 12:08:55 +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="=-1P5qPzd/Rz8cPIRcaHbF" 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=1649671736; bh=ksFLytCUbeylJtq4Ybd0mcd6clsLLL1l4WGEMG0KxL8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OWP9Er1mSkkMvUh4diNmSCPZOhPgox2xPO3QSrpki/Zu9xMrQTvss/284REP0Jd1Q r9ycpz7GvdTDGkG3FAOABXnx66PkCSh0VsJko0HU/m4o3AE+f7btHKcp0BwCmTmj+5 7LKt/Jf05POlNHyljSGIcrlYdTCR8vpWkM8L5t+xKQcne19lyvq8sy7lWS24DwyCXM XNQtkBwgBWLm4VFAMflEdogI0GAsyVpYnKt1dmjDQAqpXfHaaX7CML0EA4oJCE2dI5 gcriwr1XmEF4HfVkdFlG3jK5yyh0kYgM3w8OuC+K9nK+9mx9mH/lunnbiub/zyC7dm 0XfHhkAio2nRA== 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=1649671767; 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=ksFLytCUbeylJtq4Ybd0mcd6clsLLL1l4WGEMG0KxL8=; b=CeNYEjhJIfl61PqDrxlDbqaPrbkB1vZRJXNea1nrkHwn9FUrznddAeuaApT1Gfcy3AmOKn V54aAPtRsmLZdDKo0gjuhtbIPWPgRukRh79j0dt3wlL7QyLnttwAX9WauS9nQ15kJpicvA CcDTvfepzQ4SZDtTpfNndwD0CB286g9Zo5rtfbPj5F9IPHIwM0ZtHP+c65UjtKU4Dsy6Ye cuf8AWeON+Rc7g5I9sRRzWDQjkHvMdgUeNoj/hnzAgYEdYWVPyMEguLFHYDQyWpXYrg3bz jLifjVuzrui4P5he6EqL/LJVPGhZj9i2c5hq29QkLUMTJMXSqQXGASew3IySJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649671767; a=rsa-sha256; cv=none; b=GGo2KmV2kT+Iz2yQeDZ6oVZtxPoClnURMHOm2Ma7AkWgzZ367XQHlXaP8M/oEX2uFSMf0L N8kZoa9+An0R8grR0RzLOTLXl0VBHkpWUa7g7subixTYIvEAY+ChXNXwFJlCb85HfXkhjA RBD9RSAsprzC/Yh0yX+C6wrwCOfG2PzgsTHNwEC4tWka3AmOVkwC6KFuJo0Zfk49k5MVqF z8BLLvbB/VTX/tjMv2Mg8nzfnhpILKiV6t+ekmLC+pOK0a90DlVRyvKz+O7r0GdbCplNcE AZBe2gnq9NF6OjZYmt5M7HkHn4tFuKGVBh7ZXxC/Y4BsrXx1ewgC4Q0jjlEBIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=OWP9Er1m; 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=OWP9Er1m; 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: A215020495 X-Spam-Score: 3.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: /l+Ue12aNR9W --=-1P5qPzd/Rz8cPIRcaHbF 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 * IIUC, previously, "guix publish" could not be run inside= a > > network > > =C2=A0=C2=A0=C2=A0=C2=A0 container, because it tried to listen by itsel= f (and listening > > =C2=A0=C2=A0=C2=A0=C2=A0 to a container's own loopback isn't useful). > >=20 > > =C2=A0=C2=A0 * but in case of socket activation, this problem disappear= s >=20 > Well, shepherd, as an ordinary process in the container, I meant running =E2=80=98guix publish=E2=80=99 inside a container, not shep= herd as a whole in a container. Basically, make-forkexec-constructor/container, but for socket activation. > would also try to listen by itself.=C2=A0 But I think that=E2=80=99s fin= e; worst > thing is nobody ever connects to that socket, but that=E2=80=99s ok, no? If nobody every connects to the socket of =E2=80=98guix publish=E2=80=99, t= hen =E2=80=98guix publish=E2=80=99 is useless. Greetings, Maxime. --=-1P5qPzd/Rz8cPIRcaHbF 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+4iGRcl7gUCYlP+NxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kUYAP9Onr44FXVmpN8GDoaJtonUnPN8 JrtGMebLV0GjMnOHKwD+Ot+yG3/OVzTBtPUVWv8Ht5TC50/YBOoZcnn3dXCUCg0= =uVXr -----END PGP SIGNATURE----- --=-1P5qPzd/Rz8cPIRcaHbF--