resolv.conf broken :-(
Karl Auer
kauer at biplane.com.au
Mon Aug 5 10:52:34 UTC 2013
On Mon, 2013-08-05 at 20:27 +1000, Karl Auer wrote:
> At some point that I sadly cannot identify, /etc/resolv.conf stopped
> being created/updated by network manager on my Ubuntu 12.04 system.
Oh, isn't it alwaysthe way. You post a question, then figure out the
answer minutes later. Sigh.
I had forgotten that /etc/resolv.conf is in fact a link to a file
maintained by resolvconf. At some stage while I was testing something or
other I must have removed /etc/resolv.conf, then in my haste put back
actual data rather than just restoring the link.
The solution was as follows:
sudo rm /etc/resolv.conf
sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
sudo restart resolvconf
Sorry for the noise.
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
Old fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
More information about the ubuntu-users
mailing list