Upstream fix: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2618 (upstream issue: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/work_items/2080)
Attached reproducer: repro-stale-pidfile.sh. It needs root, creates a dummy interface and a throwaway shared connection (10.42.99.1/24) plus a decoy dnsmasq on 127.0.0.1:5399 that owns /run/nm-dnsmasq-<iface>.pid, activates the connection and checks whether NetworkManager killed the decoy. It does not restart NetworkManager or touch other connections, and cleans up on exit. Exit 1 = bug present, 0 = fixed. Result on 1.54.3-2ubuntu3.2: exit 1, the decoy survives and the pidfile is overwritten with the PID of NetworkManager's new dnsmasq. With the fix applied to upstream main, the same scenario logs "kill process 'dnsmasq' (...): process is gone after sending signal SIGKILL (9)". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178314 Title: Shared connection (ipv4.method=shared) breaks after network-manager upgrade: stale dnsmasq not killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2178314/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
