I installed net-dns/resolvconf-symlink which probably replaced my /etc/resolv.conf with a symlink to /var/run/resolv.conf After a unlucky reboot (laptop battery died), the system failed to resolve hostnames via DNS. The symlink was not working since /var/run/resolv.conf did not exist. I'm using net-misc/networkmanager-1.42.6-r1 with USE="-resolvconf". Should net-dns/resolvconf-symlink depend on +resolvconf ? Reproducible: Always
Here's the dependency tree (why did resolvconf-symlink to emerged?): momo ~ # equery d net-dns/resolvconf-symlink * These packages depend on net-dns/resolvconf-symlink: net-dns/openresolv-3.13.2 (net-dns/resolvconf-symlink) momo ~ # equery d net-dns/openresolv * These packages depend on net-dns/openresolv: virtual/resolvconf-1 (net-dns/openresolv) momo ~ # equery d virtual/resolvconf * These packages depend on virtual/resolvconf: net-misc/networkmanager-1.42.6-r1 (resolvconf ? virtual/resolvconf) net-vpn/wireguard-tools-1.0.20210914 (virtual/resolvconf) net-wireless/iwd-2.6 (!systemd ? virtual/resolvconf) net-vpn/wireguard-tools is part of my @world
Please run emerge -pvc net-dns/resolvconf-symlink.
Created attachment 865164 [details] emerge --info
(In reply to Sam James from comment #2) > Please run emerge -pvc net-dns/resolvconf-symlink. kripton@momo ~ $ emerge -pvc net-dns/resolvconf-symlink Calculating dependencies... done! net-dns/resolvconf-symlink-0 pulled in by: net-dns/openresolv-3.13.2 requires net-dns/resolvconf-symlink >>> No packages selected for removal by depclean Packages installed: 3054 Packages in world: 417 Packages in system: 48 Required packages: 3054 Number to remove: 0
kripton@momo ~ $ emerge -pvc net-dns/resolvconf-symlink net-dns/openresolv virtual/resolvconf Calculating dependencies... done! net-dns/openresolv-3.13.2 pulled in by: virtual/resolvconf-1 requires net-dns/openresolv net-dns/resolvconf-symlink-0 pulled in by: net-dns/openresolv-3.13.2 requires net-dns/resolvconf-symlink virtual/resolvconf-1 pulled in by: net-vpn/wireguard-tools-1.0.20210914 requires =virtual/resolvconf-1, virtual/resolvconf net-wireless/iwd-2.6 requires virtual/resolvconf, =virtual/resolvconf-1 >>> No packages selected for removal by depclean Packages installed: 3054 Packages in world: 417 Packages in system: 48 Required packages: 3054 Number to remove: 0
If I understand this right, you are saying that if resolvconf-symlink is installed, it will break NetworkManager usage unless USE=resolvconf is set on net-misc/networkmanager? Maybe we could solve this with a blocker on one side or the other?