Commit 0184a3b7 authored by Michael Shigorin's avatar Michael Shigorin

net: +nm shouldn't provoke races

Brief version: otherwise DNS resolving might fail to perform until dnsmasq service restart or system reboot (ouch!). The problem: 1) NetworkManager requires dnsmasq; 2) dnsmasq can win a race against dhcpcd on ethernet. The result: 1) /etc/resolv.conf looks fine; 2) dnsmasq is running; 3) resolving beyond /etc/hosts fails. Suggested-by: 's avatarMikhail Efremov <sem@altlinux.org>
parent a3f47946
+nm: use/net/nm/nodelay; @:
+nm: use/net/nm; @:
use/net: use/services
@$(call add_feature)
......@@ -21,6 +21,8 @@ use/net/nm: use/net
@$(call add,DEFAULT_SERVICES_ENABLE,NetworkManager ModemManager)
@$(call add,DEFAULT_SERVICES_ENABLE,livecd-save-nfs) # keep interface up
# NOT recommended unless you know what you're doing
# (e.g. dnsmasq can win a race against dhcpcd)
use/net/nm/nodelay: use/net/nm
@$(call add,DEFAULT_SERVICES_DISABLE,NetworkManager-wait-online)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment