On 11/5/24 11:27 AM, Grant Taylor wrote: > On 11/5/24 9:38 AM, Peter Humphrey wrote: >> The Network Manager man page says to 'chattr +i /etc/resolv.conf', so >> I did, and that one move enabled the wireless network to work as it >> should. > > What?!?!?! Network Manager can't be made to keep it's hands off of / > etc/resolv.conf so the workaround is to leverage file system features to > break Network Manager's hands when it tries to touch the file? > > That's a hell of a bad design in my opinion.
Yeah, and it's also nonsense as far as I can tell. Here's what the man page for Network Manager actually says: dns Set the DNS processing mode. none: NetworkManager will not modify resolv.conf. This implies rc-manager unmanaged rc-manager Set the resolv.conf management mode. This option is about how NetworkManager writes to /etc/resolv.conf, if at all. If you configure dns=none or make /etc/resolv.conf immutable with chattr +i, NetworkManager will ignore this setting and always choose unmanaged (below). symlink: If /etc/resolv.conf is a regular file or does not exist, NetworkManager will write the file directly. file: NetworkManager will write /etc/resolv.conf as regular file. unmanaged: don't touch /etc/resolv.conf. -- Eli Schwartz
OpenPGP_signature.asc
Description: OpenPGP digital signature