Comment 26 for bug 923685

Revision history for this message
Thomas Hood (jdthood) wrote : Re: New resolver package overwrites manually created resolv.conf on server

Here's the next iteration of the proposal.

1) /etc/resolv.conf contains no nameserver information => exit
2) "Generated by NetworkManager" in /etc/resolv.conf => exit
3) /etc/network/interfaces contains "mapping" or "source" lines => append
4) /etc/network/interfaces contains a logical interface definition with name N and configuration method name "dhcp" and the file also contains an "auto N" line => exit
5) /etc/network/interfaces contains a logical interface definition with name N and a "dns-nameservers" option and the file also contains an "auto N" line => exit
6) Append

Time is short so I'd say we should go ahead and do link-tail-to-original rather than something fancier as described in #25.