I still don't follow. There were no significant changes to how NM handles /etc/resolv.conf from the version in 12.04 to the version in 12.10; and certainly nothing that would cause things to be handled differently if /etc/resolv.conf is not a symlink or is absent.
The IP address change has no impact to this -- if people decided to break their setup by making resolv.conf a standard file, by removing it or otherwise, we should also be respectful of *that* and ultimately not revert their changes (which may or may not have been done for a good reason). Can you further explain what you mean? Provide an example setup, or even a patch? However, there really *should not be* any such changes to the postinst or any NM maintainer scripts to touch /etc/resolv.conf; it's just not the right place to do these things. Instead, if we need to cover an extra case where NM is failing to do the right thing, that fix can go in src/dns-manager/nm-dns-manager.c or one of the other source files in that directory. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1060200 Title: Detect in the postinst that resolvconf is installed but /etc/resolv.conf is not a symlink to ../run/resolvconf/resolv.conf Status in “network-manager” package in Ubuntu: Triaged Bug description: I would like to start a discussion about a danger I see for 12.10. Resolvconf was introduced to Ubuntu core rather shortly before 12.04. Although resolvconf has been in Debian since 2003, popcon statistics suggest that this optional package is only installed on about 5% of Debian systems. Resolvconf proper hasn't been adopted by other major distros. Consequently resolvconf is not very well known yet. Consequently there are quite a few admins out there who don't know how to configure it. From the fact that there are so few resolvconf-related bug reports I think we can conclude that in the majority of cases the transition to resolvconf went fairly smoothly. The issues giving rise to bug #1000244 are, however, not negligible: there are images and tools out there that have set up Ubuntu 12.04 systems lacking the /etc/resolv.conf symlink. We can only imagine what has been done to fix up name resolving on those systems. I believe further that a significant number of admins out there have disabled resolvconf on their systems by deleting the /etc/resolv.conf symbolic link --- this was the quick way to get their system working without having to learn out how to configure resolvconf properly. The danger is that 12.10 will break a significant number of machines out there that lack symlink /etc/resolv.conf. Because of what was done to solve bug#959037, namely changing nm-dnsmasq's listen address to 127.0.1.1, any system that lacks the symlink and uses NetworkManager will have broken name service after upgrade. And it won't be obvious why name service is broken, either. Will we save ourselves and others a lot of trouble if we detect such cases and say in the network-manager postinst: "If resolvconf is installed and there is no symlink to ../run/resolvconf/resolv.conf at /etc/resolv.conf then put up a debconf warning telling the admin to address the issue, preferably by running 'dpkg-reconfigure resolvconf'"? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1060200/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

