paperlined.org
apps > ubuntu > annoyances
document updated 11 years ago, on Sep 10, 2012
for the summary/background of this problem, see:

    http://paperlined.org/work/2010_Nov/Juniper_Network_Connect__resolv.conf.html



=====================
==== manual fix =====
=====================

The package 'resolvconf' manages your resolver by editing /run/resolvconf/resolv.conf and never
actually changes the file in /etc/.

/etc/resolv.conf is SUPPOSED to be a symlink to /run/resolvconf/resolve.conf.

Sometimes this symlink gets overwritten with a normal file, located at
/etc/resolv.conf.  When this happens, the 'resolvconf' program stops working
entirely.



To test it, run this from the command line:

    sudo resolvconf

If it says "Error: /etc/resolv.conf isn't a symlink, not doing anything", then you need to fix it
by doing this:

    sudo ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf 
    sudo -i
        cd /etc/resolvconf/update.d
        ./libc