Comment 15 for bug 324233

Revision history for this message
hashstat (hashstat) wrote :

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).