[Bug 1231248] New: NetworkManager keeps updating resolv.conf
https://bugzilla.suse.com/show_bug.cgi?id=1231248 Bug ID: 1231248 Summary: NetworkManager keeps updating resolv.conf Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: nettezzaumanaa@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Hello, NM supports following for dns (see NETWORKMANAGER.CONF(5) or https://people.freedesktop.org/~lkundrak/nm-docs/NetworkManager.conf.html) default, dnsmasq, systemd-resolved, none or unbound (depends on version) it doesn't cover a scenario where user has an external application (like a vpn client) that modifies the resolv.conf outside NM (and ideally restores original NM-created resolv.conf on her exit) and NM keeps updating resolv.conf and overwrites resolv.conf automatically .. It does automatically every 30 minutes and it is extremely annoying # journalctl -u NetworkManager | tail Oct 02 10:24:49 linux-1b6m NetworkManager[1878]: <info> [1727857489.7784] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 10:54:49 linux-1b6m NetworkManager[1878]: <info> [1727859289.8773] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 11:24:50 linux-1b6m NetworkManager[1878]: <info> [1727861090.0820] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 11:54:50 linux-1b6m NetworkManager[1878]: <info> [1727862890.3865] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 12:24:50 linux-1b6m NetworkManager[1878]: <info> [1727864690.2814] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 12:54:50 linux-1b6m NetworkManager[1878]: <info> [1727866490.3791] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 13:24:50 linux-1b6m NetworkManager[1878]: <info> [1727868290.5834] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 13:54:50 linux-1b6m NetworkManager[1878]: <info> [1727870090.6823] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 14:24:51 linux-1b6m NetworkManager[1878]: <info> [1727871891.0870] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS Oct 02 14:54:50 linux-1b6m NetworkManager[1878]: <info> [1727873690.9813] policy: set 'Pecka' (wlan0) as default for IPv6 routing and DNS I would expect that the dns=default behaviour would be - ``keep the dns=default behaviour if the file is NM-created, non-existing or empty, otherwise don't touch it'' .. thanks and regards, ~dan -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1231248 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nettezzaumanaa@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com