Re: /etc/resolv.conf replaced!
On Tuesday 06 December 2005 06:23 pm, mikepolniak wrote:
> On 17:25 Tue 06 Dec , Hal Vaughan wrote:
> > During the past two days I've had power flickers and outages from snow.
> > I have not yet been able to attach a new system to a UPS (too many things
> > to move), and it's lost power a few times. When it reboots, it cannot
> > communicate with the network. I checked, and /etc/resolv.conf is no
> > longer there. It has been replaced by a link to
> > /etc/resolvconf/run/resolv.conf, and /etc/resolvconf/run is linked to
> > /dev/shm/resolvconf. There is no corresponding file in
> > /dev/shm/resolvconf to work with.
> >
> > I've found references to the other files on Google, but nothing clear
> > telling what is going on. There are references that make me think some
> > program *thinks* it is supposed to do this (so I doubt it's a virus), but
> > I need to find out what is going on so I can either stop it or make sure
> > it does it right.
> >
> > So how can I stop this from happening at reboot? What is doing it? Is
> > it a boot thing, or a re-configure thing?
>
> dpkg -l resolvconf will show you now have resolvconf installed. This is
> actually a good thing as it will dynamically create a new
> /etc/resolv.conf file if the nameserver info is updated by some server
> program like dhcp-client.
[root@threshnet:~]$ dpkg -l resolvconf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
So it doesn't seem to be installed. I'm going to purge it just in case.
> You proably need to edit /etc/network/interfaces and set the dns-* lines.
> Then run /etc/init.d/resolvconf reload.
I'll check on that, too.
Thanks!
Hal
Reply to: