From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UAJkDQO3GmWmeQEA9RJhRA:P1 (envelope-from ) for ; Mon, 02 Oct 2023 14:26:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UAJkDQO3GmWmeQEA9RJhRA (envelope-from ) for ; Mon, 02 Oct 2023 14:26:43 +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 E661030EB6 for ; Mon, 2 Oct 2023 14:26:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D0WQDqwL; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696249603; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ILkxzkhAEn7TLurVN+86Zb1fwdevSTG5x3DPt7cmFAc=; b=Vz6304aT9eVcYwtv4XuIJuax47siSbOOgVCRMsi1ejSjw4vuZzivzIo5NeLNsJ8x5ju4Ms fwul43sHa3Z1x9l/0s3kyhb6aVPJzE8k8t7NLRnXssTCnKN7S9ZeAoly9ofCb1vywhrS31 4yM+/X1Y6A2v3IucsBC0PhPwVrYT+cdEprQXe9JsE8UZksZOAYi37lqntmRdA3lWimFIte gA5GyCIxTavRPiz3gwPJm1rZgLHxY3CW3zsKfc2R+p3g9yCy21TjZUMD6H631tCJ5zR7ke Gbfr8Vs4FrDyfwAg7IelgumWqJ1IKsuQl5JCtU5m107aC5QhZvRCtQ9tfJf9hw== 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=D0WQDqwL; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696249603; a=rsa-sha256; cv=none; b=fk97JJFO+y8GuNUpeySDgCGY54ksrp8Ebi7vZQNADpF5KhRJxKA0aUV7+ZL8Gu0pZ2Mm4/ vK1hkbHU02SJQTLQVi4Gevo3Mk/+zI4nO3KXU6/0aRHxOvLP9KOd0chDCNTdpSbVT3c4Xu 719wY9O9ObqUWRtCpUMxLbdPEfQrk50UgvF1g1JzzhctgV0ubK/ADYDTIxJ/0kbCmocfEi AW9aWXzwuzknToCKj8EFu1NMPVI6FMcOtZw2ZgLDZY7gITwn/+NWaqIq4nm+csteg5sDbl THcYa1JDNyiyQJP7RO2y0uhYbq2l0j4gF6TuKii2V60llbM+kZA8YJ3ghEZCtg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnHzm-0005DS-Iv; Mon, 02 Oct 2023 08:25:54 -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 1qnHzf-0005Cv-DB for bug-guix@gnu.org; Mon, 02 Oct 2023 08:25:51 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnHze-0000Lv-7Z for bug-guix@gnu.org; Mon, 02 Oct 2023 08:25:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnHzu-0006dd-HW for bug-guix@gnu.org; Mon, 02 Oct 2023 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66306: Too many services depend on =?UTF-8?Q?=E2=80=98networking=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Oct 2023 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66306 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66306@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169624953225473 (code B ref -1); Mon, 02 Oct 2023 12:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2023 12:25:32 +0000 Received: from localhost ([127.0.0.1]:36197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnHzP-0006cn-TI for submit@debbugs.gnu.org; Mon, 02 Oct 2023 08:25:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnHzN-0006cS-0H for submit@debbugs.gnu.org; Mon, 02 Oct 2023 08:25:30 -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 1qnHyo-00042z-DN for bug-guix@gnu.org; Mon, 02 Oct 2023 08:24:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnHyn-0008Pl-Hq for bug-guix@gnu.org; Mon, 02 Oct 2023 08:24:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=ILkxzkhAEn7TLurVN+86Zb1fwdevSTG5x3DPt7cmFAc=; b=D0WQDqwLuUmZC5 F4i+mP2h73MNn1Nv553rE38rRfYux5r03OHWo2FmD3T0F5WRwSPeooilphU3sOW1Wgn7Es21hUAbw Wt2rQ24/FJ20etxXosZsIJxUu9EW6S0bA5qupAK2iepa5Ki86Sp6pgYxgiOfJvFowLqrtfHbonxl0 rp2WyQ6XFKLcLsX4b37aYQgvM8k5CYQVrdbn2UcuA7w2jr1kF3EFaX04blI0wIeUVrT8w78mrnpxt xZobpqFvjsAWI976cJP3GBI3Ga2MC67p5LeqP53FmQKnoyAQbj/gxlLYhgrM0KHm+FHR4Gbjf2asz yJVMVFBKmxgXYdFcA55Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 11 =?UTF-8?Q?Vend=C3=A9miaire?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Pomme de terre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 02 Oct 2023 14:24:49 +0200 Message-ID: <87cyxxjjou.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.38 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: E661030EB6 X-Spam-Score: -5.38 X-TUID: jr1UCtT2J/Lj I believe too many services depend on =E2=80=98networking=E2=80=99 for no g= ood reason. There=E2=80=99s a good discussion of the problem at: https://systemd.io/NETWORK_ONLINE/ For example, bitlbee, ntpd, hurd-vm, and avahi-daemon all depend on =E2=80=98networking=E2=80=99. Is it always justified? For example, avahi-daemon unconditionally listens on 0.0.0.0 and [::], so there=E2=80=99s no need to depend on =E2=80=98networking=E2=80=99. --8<---------------cut here---------------start------------->8--- $ sudo netstat -tupla |grep avahi udp 0 0 0.0.0.0:mdns 0.0.0.0:* = 650/avahi-daemon: r=20 udp6 0 0 [::]:mdns [::]:* = 650/avahi-daemon: r=20 --8<---------------cut here---------------end--------------->8--- In other cases, such as bitlbee, it=E2=80=99s not as obvious because users = can specify different addresses to listen to, and those might depend on =E2=80=98networking=E2=80=99 to set up the corresponding interfaces. Thoughts? Should we do an audit of these? Ludo=E2=80=99.