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.
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).
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 /run/resolv. conf /etc/resolv.conf
$ sudo rm /etc/resolv.conf
$ sudo ln -s /etc/resolvconf
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).