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 ms9.migadu.com with LMTPS id gLtvLHHjW2RPewEASxT56A (envelope-from ) for ; Wed, 10 May 2023 20:33: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 mp12.migadu.com with LMTPS id GKJ9LHHjW2S+WgAAauVa8A (envelope-from ) for ; Wed, 10 May 2023 20:33: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 6CB811BD88 for ; Wed, 10 May 2023 20:33:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwocc-0008HO-Vi; Wed, 10 May 2023 14:33:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwocZ-0008GW-Fu for guix-patches@gnu.org; Wed, 10 May 2023 14:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwocY-0005qc-7V for guix-patches@gnu.org; Wed, 10 May 2023 14:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwocY-0006iI-3S for guix-patches@gnu.org; Wed, 10 May 2023 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54986] [PATCH] gnu: mpd: Add support for socket activation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 May 2023 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54986 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 54986@debbugs.gnu.org, Maxime Devos , Maxim Cournoyer Received: via spool by 54986-submit@debbugs.gnu.org id=B54986.168374355725762 (code B ref 54986); Wed, 10 May 2023 18:33:02 +0000 Received: (at 54986) by debbugs.gnu.org; 10 May 2023 18:32:37 +0000 Received: from localhost ([127.0.0.1]:49028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwoc9-0006hR-7I for submit@debbugs.gnu.org; Wed, 10 May 2023 14:32:37 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:48209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwoc5-0006hC-Lg for 54986@debbugs.gnu.org; Wed, 10 May 2023 14:32:35 -0400 Received: by mail-ed1-f68.google.com with SMTP id 4fb4d7f45d1cf-50bc4ba28cbso13594065a12.0 for <54986@debbugs.gnu.org>; Wed, 10 May 2023 11:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683743547; x=1686335547; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=i+QXpCJtC+0BHrc4rprhSVFjVRyfW9WQzKv/H8ITl0U=; b=S/Ewwp9anY07hnrAUUDlmI1iYMltioYHJgXqUZKW2JZrCwCb+LyUnq8ORsFsBBuAOR NIn+0rwnNCI8biV39YQGCG4S2hxWo5ojVu6wlxEqVh94NbDOWtK+f9XYjftKsIuNa7Ah 5gaGFEXXhMyhZJa3/IQPxnBjCQQvKVZTzp6C5sTCieeIDB1MYZJHq703UPsUS901wG7T q2Uye9Bkq2pDaKahUWKfaf6QsQ1WGE8do+fAZcw0SI63sL6BLBeaIWiH2ht8G8QzpHr2 /UtXMPda/1ksKwegywY4SYTz9MdiueHb5W2T2yGGULlVwUQLtYWPeEowLxqpP0Ejvhhd J2tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683743547; x=1686335547; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=i+QXpCJtC+0BHrc4rprhSVFjVRyfW9WQzKv/H8ITl0U=; b=PCs+frP7z5keGKB9uZd4toMpxvmAeEShD1a9mJH7FpX3Sxl+ukW6G7zkGrg3ERNWKr JzKJR9vR8qAFyKlTT93rG3PofWhZCg114qTOfv6XVed2AH0qZMno5ysO9zazSGy9SCQ5 OqJ9MTxlFyhk0z4e4slaMfFcCijJqBWDvChRCMsZBsYNqkBN5Ss78MCoWfPQ+XSQ7Auc owq9TRcrnRVjTVxcAneapr3j+vxQbgZ5T2EEYiGehHFTeR3sTm+s09tyZPatW9WnfpRP Sl4zpwOrX/taroyRLadl89yVKXjfOg90CJagj7nxQ87W+YE8WUB9MJMbsgL3SWcm0XQK lCZQ== X-Gm-Message-State: AC+VfDxc4uE1+QSU2dDDRzc0qtktsFnRpcuuCkUKzym2Ow9JcMMowC4X woAGPBdn3MIgfn2YhGTjMPs= X-Google-Smtp-Source: ACHHUZ4RSRJQyiOo5V6alvkXeVvi2D5Izz1o3habeFHy3STTH8p2AvLPIKnnBR5D68r0AwKxL+mkJw== X-Received: by 2002:a17:907:1b06:b0:94e:cefc:8df0 with SMTP id mp6-20020a1709071b0600b0094ecefc8df0mr17542218ejc.61.1683743547436; Wed, 10 May 2023 11:32:27 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id e17-20020a170906845100b0095844605bb8sm3024230ejy.10.2023.05.10.11.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 11:32:27 -0700 (PDT) Message-ID: <58b259e027e75d008de1f11ea7ab9938b740e6a8.camel@gmail.com> From: Liliana Marie Prikler Date: Wed, 10 May 2023 20:32:26 +0200 In-Reply-To: <87o7ms9q2h.fsf@gnu.org> References: <9d4cc9d3ebb05d2aabf8f06e1890efe9b0b9a849.camel@gmail.com> <684304748f200de9493550d079d59dc8cfe2b002.camel@gmail.com> <87o7nbo52s.fsf_-_@gmail.com> <87mt2o3v5b.fsf@gmail.com> <746b88a7cd45fe8982ea523cf66c6d902ac5eb33.camel@gmail.com> <87fs8d4kak.fsf@gnu.org> <7909e9c74c92d919d84ea52b0fefc7a0bf82dee4.camel@gmail.com> <87o7ms9q2h.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683743601; a=rsa-sha256; cv=none; b=UsrDb1xtUVTRIvYc7LvrQLA9LUa6ixFiOKdGXXRtFtbegn/OwWZXoGCrWJLiTBjA1IWooh HasOzU1ltKhqVzReD5mi1SgxciR7Cy40F9yNKf8sNZVlCCr2Wr5PZiy2T0BaeDv8v14WIS pHT4EWtaht8gsUxUSJv9OsxIzG3vP6E7Q7X+jzKcezfIp9Ru/lHIAVBF1n+oBSJrc4qKme aYMFQECiDeJCz+/f5P/j9rXEhoajgGFTboXdxpnRyvb0DlNUemmAOqQIhuGg7Oc1cAEj37 HWEmj7+XX4kALVLpQY06dlpXbkIA4cIwcxMdAe2R3/edU8WWeEmhCaR/KGEetQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="S/Ewwp9a"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683743601; 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: content-transfer-encoding:content-transfer-encoding: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=i+QXpCJtC+0BHrc4rprhSVFjVRyfW9WQzKv/H8ITl0U=; b=TwUVk1WsZGtpJz6TJYIdNvsYRCnLBqJSGRqdiqyXEDaTYWJU3VQATac16NurYqVXzyovGP tHK9VTxcbcxSanTlMybXympIXpPvgvf8hOII+JNhOEFHQsKUts10LwV6/HSUSOWc3TJMz9 HwkrqRk1iD2L76SaygZpMix7c4qanCzVUE6fWev9kxy5nP5rF+v237SWCqB4MYyIOW2fU7 4Fj7eOAXDqQ3VXLOS4/tI3lwXeZfWLbnLb/lNIl+JhkV26YPHXWzebkOIpKvOWFFYeu3J9 hPOxFc9jBFUtNiST2DBr1jU4K2IZrH7pjFrUKLArIUT/q9RnCD36YdyyZQQicQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="S/Ewwp9a"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7.32 X-Spam-Score: 7.32 X-Migadu-Queue-Id: 6CB811BD88 X-TUID: 1h7qTvgAdOvG Am Mittwoch, dem 10.05.2023 um 17:14 +0200 schrieb Ludovic Court=C3=A8s: > Hi, >=20 > Liliana Marie Prikler skribis: >=20 > > Am Mittwoch, dem 03.05.2023 um 15:27 +0200 schrieb Ludovic Court=C3=A8s= : > > > It=E2=80=99s not just possible: several services in (gnu services =E2= =80=A6) and > > > (gnu home services =E2=80=A6) use endpoints for systemd or inetd-styl= e > > > startup. > > True, but to my knowledge they don't yet allow the user to specify > > those endpoints directly.=C2=A0 At the very least, they didn't when I > > started this thread, which was shortly after shepherd itself gained > > endpoints.=C2=A0 I'm happy to be proven wrong on this point. >=20 > They don=E2=80=99t let users specify the endpoints as such, but closely > enough. For instance, the =E2=80=98interface=E2=80=99 field of configuration> is used to build it endpoint, and similarly for > =E2=80=98openssh=E2=80=99 and =E2=80=98dicod=E2=80=99. >=20 > Overall, it seems to me we don=E2=80=99t need a first-class ty= pe > in Guix System itself. It's funny you would argue that, because imho openssh would actually be a good candidate for supporting first-class endpoints: Doing so would allow the user to specify whether IPv4, IPv6 or both (default) should be allowed for connections. For other service that support sockets as well as TCP/IP ports, the benefit would be even greater. I understand that copypasting all the fields into Guix records is a bit of a non-starter, but I don't think it's a good idea to simply give up. I just need some pointers in which direction to continue. Cheers