← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #76554]: Want to avoid DNS update

 

Question #76554 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76554

    Status: Open => Answered

Derek White proposed the following answer:
chmod should be 440/444, there is no reason to allow it to be executed,
especially since  ubuntu's default is 644 for that file. But, alas, it
doesn't work. You can also try using /etc/ppp/resolv.conf, but it seems
that will get over-written as well at times. You can try disabling
networkmanager, it seems to like to over-write files.

Disable: sudo rm -i /etc/rc?.d/?50NetworkManager          [Will be re-activated if the program is upgraded.]
Re-enable: sudo update-rc.d NetworkManager start 50 2 3 4 5 .          [Be sure to include the period!]

If that works, then you can make it permanent by re-enabling them, then
renaming each symlink to a K50 from S50. This will ensure they remain
deactivated throughout future updates.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.