[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/resolv.conf file is empty



On 08/05/11 18:01, Andrei Popescu wrote:
On Du, 08 mai 11, 16:48:43, AG wrote:
dpkg -l | grep resolvconf
rc  resolvconf
1.48                              name server information handler
Thanks all - learn something everyday: didn't know that is what rc
referred to.
dpkg would tell you so if you wouldn't cut it's output with the
construct 'dpkg -l | grep<pattern>' instead of 'dpkg -l pattern' ;)

$ dpkg -l resolvconf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                          Version                           Description
+++-=============================================-=================================-==============================================================================
in  resolvconf<none>                             (no description available)

If you look at the pipes and slashes you can tell what each character
means. In my case it's

Desired = Install
Status = Not

(hmm, this is curious, I'll have to investigate...)

Anyway, purged those using Brian's dpkg method rebooted ... and
still no resolv.conf file.

So, Hans suggested that I delete the symlink to resolvconf, but
resolvconf isn't installed.  However, since its config files are
there I wonder if a symlink was created?

Are there other options that might explain and remedy why the
/etc/resolv.conf file is being erased at shutdown/ reboot.  It is
definitely this file that is the critical piece here, because when
ever I repopulate the file connectivity is restored.  How do I keep
that file immutable? Will changing permissions help across
shutdowns?
AFAIK that file should be managed by Network Manager (you mentioned you
installed it), but are you using NM to connect or some other means?

I've now disabled NM, removed the config files for resolvconf and am trying to keep the /etc/resolv.conf file immutable. Working with the theory that NM is over-writing the resolv.conf file, so am going to try rebooting without NM and the config files and see what happens. Then, if still no dice, I'll try pinging as Brian suggested to determine if it is no connectivity or whether it is just not resolving. I assume the difficulty resolving also impacts on POP3 email downloading (handshaking, etc.).

Cheers
AG
Regards,
Andrei


Reply to: