NM's config is always just written out to an interface file with
resolvconf, under /run/resolvconf/interface/NetworkManager. What's the
content of that file when resolution fails? (Should contain just
127.0.0.1, or at least the configured DNS)
The procedure described above where resolvconf didn't get the right
symlinks sounds wrong. Perhaps it was disabled, and the maintainer
scripts improperly handle this particular case?
** Changed in: network-manager (Ubuntu)
Status: New => Incomplete
--
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/1053236
Title:
does not write static nameservers into resolvconf config
Status in “network-manager” package in Ubuntu:
Incomplete
Bug description:
I just helped a friend upgrade to 12.04, he lost DNS after the
upgrade. /run/resolvconf/resolv.conf only had the comment, but no
actual contents.
He has a static IP/DNS etc. configured in NetworkManager (no DHCP at
all). Before resolvconf, NM wrote a correct /etc/resolv.conf with the
configured DNS server.
After the upgrade, /var/lib/dpkg/info/resolvconf.config decided that
/etc/resolv.conf was generated by NM and decided to not set resolvconf
/link-tail-to-original, so that it was only moved to
/etc/resolvconf/resolv.conf.d/original, but not linked to "tail"
(where it would get active). This is a correct behaviour from
resolvconf's point of view, I think.
So NM needs to be taught where to write DNS servers for static
configurations when resolvconf is installed/enabled. NM should not
constantly touch files in /etc/ at all then (i. e. please don't just
write it into /etc/resolvconf/resolv.conf.d/tail), instead it should
either be written directly to /run, or resolvconf should get a script
which queries the current DNS and puts it into the generated script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1053236/+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