Alright, my init(8) can now spawn a dhclient(8) for each network interface, logging to /var/log/dhclient@em0.log (and such). When the network is configured, dhclient writes 'r' to the fd named by the READYFD environment variable, so init(8) can start sshd, httpd, and such.
-
-
Yeah when a network interface is statically configured, dhclient will immediately configure it and become ready. But it's also possible for daemons to listen to a particular network interface, whatever its address is, but it needs to wait until that address becomes available.
-
Of course for the case where a daemon listens on 0.0.0.0 or ::, there's no reason for the daemon to wait for any network interfaces to come up.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.