From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 66306@debbugs.gnu.org
Subject: bug#66306: Too many services depend on ‘networking’
Date: Thu, 5 Oct 2023 10:12:39 +0300 [thread overview]
Message-ID: <ZR5h58e0Hx2Jh-Tj@3900XT> (raw)
In-Reply-To: <87cyxxjjou.fsf@inria.fr>
[-- Attachment #1: Type: text/plain, Size: 1835 bytes --]
On Mon, Oct 02, 2023 at 02:24:49PM +0200, Ludovic Courtès wrote:
> I believe too many services depend on ‘networking’ for no good reason.
> There’s a good discussion of the problem at:
>
> https://systemd.io/NETWORK_ONLINE/
This exactly! How much 'network' counts as 'good enough' to start the
next services?
> For example, bitlbee, ntpd, hurd-vm, and avahi-daemon all depend on
> ‘networking’.
>
> Is it always justified? For example, avahi-daemon unconditionally
> listens on 0.0.0.0 and [::], so there’s no need to depend on
> ‘networking’.
>
> --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
> udp6 0 0 [::]:mdns [::]:* 650/avahi-daemon: r
> --8<---------------cut here---------------end--------------->8---
>
> In other cases, such as bitlbee, it’s not as obvious because users can
> specify different addresses to listen to, and those might depend on
> ‘networking’ to set up the corresponding interfaces.
>
> Thoughts? Should we do an audit of these?
Probably should do an audit. For bitlbee, I guess the question is how
does it respond to changes in networking? If it comes up when only
loopback is up will it need to be restarted once an actual network shows
up?
For ntpd, I've had trouble with openntpd coming up while only loopback
was active and then I'd have to restart it for it to get the initial big
jump when starting.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-10-05 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-02 12:24 bug#66306: Too many services depend on ‘networking’ Ludovic Courtès
2023-10-05 7:12 ` Efraim Flashner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZR5h58e0Hx2Jh-Tj@3900XT \
--to=efraim@flashner.co.il \
--cc=66306@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.