GNU bug report logs - #66306
Too many services depend on ‘networking’

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 2 Oct 2023 12:26:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: Too many services depend on ‘networking’
Date: Mon, 02 Oct 2023 14:24:49 +0200
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/

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?

Ludo’.




This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.