Antes de tudo, é um AVISO .
Aqui está a abordagem para sua pergunta
da página do man do resolvconf :
Normally the resolvconf program is run only by network interface configuration programs
such as ifup(8), ifdown, NetworkManager(8), dhclient(8), and pppd(8); and by local
nameservers such as dnsmasq(8). These programs obtain nameserver information from some
source and push it to resolvconf.
...
To make the resolver use this dynamically generated resolver configuration file the
administrator should ensure that /etc/resolv.conf is a symbolic link to
/run/resolvconf/resolv.conf. This link is normally created on installation of the
resolvconf package. The link is never modified by the resolvconf program itself. If you
find that /etc/resolv.conf is not being updated, please check to make sure that the link
is intact.
Então, o que você precisa fazer para se livrar do AVISO é recriar o link simbólico que você tem duas opções:
-
Você recria o link simbólico de acordo com a página man com
rm -f /etc/resolv.conf # Delete actual file/symlink ln -s /run/resolvconf/resolv.conf /etc/resolv.conf # recreate the symlink
Você precisa apontar para o arquivo correto:
/run/resolvconf/resolv.conf
, não para/var/run/NetworkManager/resolv.conf
. -
Diga ao resolvconf para não mostrar a você AVISO usando REPORT_ABSENT_SYMLINK opção:
echo 'REPORT_ABSENT_SYMLINK="no"' >> /etc/default/resolvconf