Public bug reported: Currently network-manager bin:pkg on Ubuntu 24.04 and up ships /usr/lib/NetworkManager/conf.d/10-dns-resolved.conf which forces NetworkManger to configure systemd-resolved as DNS resolver. However network-manager does not Depends: on systemd-resolved bin:pkg, which can lead to a situation where /etc/resolv.conf points to non-existent systemd-resolved.
Since it's possible to use NetworkManager without systemd-resolved, we should not enforce the use of systemd-resolved from network-manager bin:pkg. Instead, I think it might be more appropriate to ship this file from systemd-resolved bin:pkg instead. It might look strange, but I think it's an OK thing to do. If NetworkManger is not installed, then nothing happens. But if NetworkManger is installed, then NetworkManager will start using systemd-resolved. What do you think? ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/2097792 Title: Don't ship 10-dns-resolved.conf within network-manager bin:pkg Status in network-manager package in Ubuntu: New Bug description: Currently network-manager bin:pkg on Ubuntu 24.04 and up ships /usr/lib/NetworkManager/conf.d/10-dns-resolved.conf which forces NetworkManger to configure systemd-resolved as DNS resolver. However network-manager does not Depends: on systemd-resolved bin:pkg, which can lead to a situation where /etc/resolv.conf points to non-existent systemd-resolved. Since it's possible to use NetworkManager without systemd-resolved, we should not enforce the use of systemd-resolved from network-manager bin:pkg. Instead, I think it might be more appropriate to ship this file from systemd-resolved bin:pkg instead. It might look strange, but I think it's an OK thing to do. If NetworkManger is not installed, then nothing happens. But if NetworkManger is installed, then NetworkManager will start using systemd-resolved. What do you think? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2097792/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp