Re: /etc/resolv.conf replaced!



On Tuesday 06 December 2005 05:25 pm, 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?
>
> Any help is appreciated.
>
> Hal

Thanks for the responses.  Since every response suggested the problem was with
resolvconf (the package, not the file), I checked, even though I had
previously seen aptitude report it as not installed.  I checked with dpkg,
and it reported the same, but I tried 'aptitude purge resolvconf' and it said
it was purging 1 package.  While I had asked about someting similar on
another mailing list, this system is my "money" system that pays the bills,
so I do NOT experiment on it.  I did not install resolvconf on it, and if
anything depended on it, aptitude would have removed it as well.  So I have
two mysteries: 1) How did the package end up there in the first place, and 2)
Why didn't aptitude and dpkg report it as installed, yet aptitude still found
something to remove (and it removed the sub directory).

I haven't rebooted, and likely won't until later this week when I have to shut
everything down to move the systems to where the old ones were (so they can
be connected to my KVM and the UPS).  When that happens, I'll see if there's
any problem.

Hal



Relevant Pages

  • RE: Newbie Aptitude Question about Security Updates
    ... Newbie Aptitude Question about Security Updates ... Install but don't select _any_ tasks, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Question about get-selections
    ... than "install" isn't really necessary to reproduce. ... existing system that you took the backup from, ... the package management wouldn't figure that out on its own. ... the ability to enter commands at the aptitude prompt. ...
    (Debian-User)
  • Re: Total confusion with aptitude. Help, please!
    ... "aptitude install aptitude". ... What, exactly, does "install" mean? ... and put the new version of the package there WITHOUT TOUCHING ... Might it possibly leave programs written in Python non-working? ...
    (Debian-User)
  • Re: Total confusion with aptitude. Help, please!
    ... vim as being broken, giving as further details: ... Just to be a little more clear, you can find out exactly what aptitude ... thinks by examining the status flags on the left-hand side of the package ... "aptitude install aptitude". ...
    (Debian-User)
  • Re: aptitude keeps trying to replace my vim-gtk and ftpd
    ... >> Bluefish is an HTML editor based on GTK, not an aptitude helper. ... > It was part of the workstation install. ... the dependencies of that package will be tagged as automatically installed, ...
    (Debian-User)