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 ms5.migadu.com with LMTPS id IJKfMIj+hGLqegEAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 16:11:20 +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 ENJ5MIj+hGKC7QAAauVa8A (envelope-from ) for ; Wed, 18 May 2022 16:11:20 +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 6E2728363 for ; Wed, 18 May 2022 16:11:20 +0200 (CEST) Received: from localhost ([::1]:55880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrKOV-0007Ev-E6 for larch@yhetil.org; Wed, 18 May 2022 10:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrKLM-0003QK-DD for bug-guix@gnu.org; Wed, 18 May 2022 10:08:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrKLM-0000kM-4K for bug-guix@gnu.org; Wed, 18 May 2022 10:08:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrKLL-0003uF-0V; Wed, 18 May 2022 10:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55335: [PATCH Shepherd 0/3] Endpoints for inetd services + IPv6-only endpoints Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: jackhill@jackhill.us, mail@cbaines.net, bug-guix@gnu.org Resent-Date: Wed, 18 May 2022 14:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55335 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55335@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Jack Hill , Christopher Baines X-Debbugs-Original-Xcc: Jack Hill , Christopher Baines Received: via spool by 55335-submit@debbugs.gnu.org id=B55335.165288283414937 (code B ref 55335); Wed, 18 May 2022 14:08:02 +0000 Received: (at 55335) by debbugs.gnu.org; 18 May 2022 14:07:14 +0000 Received: from localhost ([127.0.0.1]:33082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrKKY-0003sm-9o for submit@debbugs.gnu.org; Wed, 18 May 2022 10:07:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrKKO-0003rK-AT for 55335@debbugs.gnu.org; Wed, 18 May 2022 10:07:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrKKI-0000cl-Ce; Wed, 18 May 2022 10:06:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=AafJ4eaDPM7dm8+Ifl0a+q5JO83vx5gqwWmmRxBVmP8=; b=D3X9q3KjlwbyWi7WhcwZ 0f+p8TwDmHfBvBB3gOEjFQyUQvT3MwSz3rFvdKtotgVdyE4u3oMZ0k+tKgVFk33zOmo2glekXpqH0 3b4z1eM+K2u0QGEfWoogdLp4ZIft0UH1eO9EsoaFVNevcLHhGWNI6bMjph/N7hDw+YL6K+MHAPNQf NE2ZVf0vfvux2j+kd7BlZ9nA5xkHoS709e404JBMmxbPGGwRo9uwCVG6ziztIcUsGPSe1AdGFP1rq xvuOcpJJfVKiftvn0IcKq6yVVjGzQ965IkPP6j4qScOH2aCf4uTHjhZ3135ll9eGcChnMVaBtuowe 77p6Qa2IeSH0iQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:56764 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrKKI-0003x7-0R; Wed, 18 May 2022 10:06:58 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 18 May 2022 16:06:42 +0200 Message-Id: <20220518140645.17144-1-ludo@gnu.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <87zgjkfbcl.fsf_-_@gnu.org> References: <87zgjkfbcl.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1652883080; 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=AafJ4eaDPM7dm8+Ifl0a+q5JO83vx5gqwWmmRxBVmP8=; b=B57P2KaGqtbAgGtyLUqD0/XDeprgjMQPYRx25zHxuwx90scMHbZlQu/veRHOXvF/yr1629 dcEwCGAfpjDhYYsJI0qmmtqxGVTgRJDUpnoJmNbx+BP68+Wu1jdHk79sifqBdQX/uOF5ot dz9mHD1CTbdYbwV036MBSuPmpqE7+JJkbSIVtSdtoFMr0is5ioJUYIAeWeLGODdZ9horf5 IowfO15JmpsqTL72H9XgLk7N4cJvn4U+dNO6jcS+F/6b+ZaN1kNkFGr2eRF7+jnUOj867F 594egOeDSPdTbrzWf3blzluOhX1s9xjnY6MmRlTdq/ojDid9sFoLxB+wqejFkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652883080; a=rsa-sha256; cv=none; b=gzCPTQCW8UkpkMuQNNWMCOo8El5oTmxTGKWL7zIDHxez14n5nzcEf1M+JH5rrsg39K1gDI dM6D/49njVQy9QV7UVB4i+KN3XY5jvktGNyn5NTEXZ7+rqvtqDMkr+XC97grEUPVC52Saa MWcRfT5ch/TAVpT9hx1EISSuSoW2UZWVCIS0NLvKdg+YZHXuuP8W7mGHO7a+hNyIwiRy3g 6Qc6NxbpxcJKhOGQaWW4dxu9UFWANQwKzcNDLRl7PKYhwwWwBoLc4P+o76evTbiYenns7p biq1pgB5Tz+HH1uDLnc2rqqKqrmnLMiwPBy463m3JucH3pwYPGxIuj19vDwugA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D3X9q3Kj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D3X9q3Kj; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6E2728363 X-Spam-Score: -4.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4gEctVVoZ5VA Hi! Here’s a couple of changes to the Shepherd addressing the concerns Chris raised in : • ‘make-inetd-constructor’ now accepts a list of endpoints, like ‘make-systemd-constructor’, instead of a single address. • AF_INET6 endpoints are now interpreted as IPv6-only. I’ve pushed this in the Shepherd repo as ‘wip-inetd-ipv6’. You’re welcome to test that branch in Guix System VMs or something. Lemme know what you think! If it’s good, we can merge it and release the Shepherd 0.9.1 with this and other fixes that have accumulated. Ludo’. Ludovic Courtès (3): service: 'make-inetd-constructor' accepts a list of endpoints. tests: Update inetd tests to pass a list of endpoints. Interpret AF_INET6 endpoints as IPv6-only. NEWS | 24 +++ configure.ac | 12 ++ doc/shepherd.texi | 68 ++++---- modules/shepherd/service.scm | 274 +++++++++++++++++---------------- modules/shepherd/system.scm.in | 11 ++ tests/inetd.sh | 71 ++++++++- 6 files changed, 294 insertions(+), 166 deletions(-) base-commit: 05f169e896ea6520a8daebee68e5844e605526c4 -- 2.36.0