After playing with resolvconf and Network Manager, I noticed that
running resolvconf directly always resulted in an error due to a missing
postfix configuration file (/etc/postfix/main.cf).  Because resolvconf
was always returning an error, Network Manager always moved on to the
default behavior: replace /etc/resolv.conf.  The following commands
fixed it for me.

    $ sudo touch /etc/postfix/main.cf
    $ sudo rm /etc/resolv.conf
    $ sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf

I'm not sure if this is a problem in the resolvconf package (should
there be a test for the existence of /etc/postfix/main.cf or for the
results of postconf in /etc/resolvconf/update-libc.d/postfix) or in the
postfix package (did the maintainers forget to install the configuration
file that postconf depends on).

-- 
Network Manager 0.7 doesn't use resolvconf to remove nameserver info if it 
didn't use resolvconf for adding its nameserver info - wipes /etc/resolv.conf 
link
https://bugs.launchpad.net/bugs/324233
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to