unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66306: Too many services depend on ‘networking’
@ 2023-10-02 12:24 Ludovic Courtès
  2023-10-05  7:12 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2023-10-02 12:24 UTC (permalink / raw)
  To: 66306

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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-05  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-02 12:24 bug#66306: Too many services depend on ‘networking’ Ludovic Courtès
2023-10-05  7:12 ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).