This shouldn't be done in a postinst (because the state can change after NM is installed), and is resolvconf's job to handle.
We can try to play nice and avoid trampling settings if /etc/resolv.conf isn't a symlink though. Didn't we already discuss this and apply such a patch? :) ** Changed in: network-manager (Ubuntu) Status: New => Triaged ** Changed in: network-manager (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060200 Title: Detect in the postinst that resolvconf is installed but /etc/resolv.conf is not a symlink to ../run/resolvconf/resolv.conf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1060200/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs