D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] apt ate my resolv.conf

 

On 17/05/11 14:48, Gordon Henderson wrote:
On Tue, 17 May 2011, Keith Abraham wrote:

On 16/05/11 16:41, Philip Hudson wrote:
Just did a debian apt-get dist-upgrade, new kernel, so rebooted, stone me, blank resolv.conf WTF!

--
Phil Hudson                  http://hudson-it.no-ip.biz
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63


I don't know if you are using a very recent kernel on a Debian system but if you are then any resolv.conf in /etc/ should no longer exist or at least point to /etc/run/resolv.conf/resolv.conf. I think this is all to do with the new /run directory where many things will live in the future including resolv.conf.


eh?

What has the kernel got to do with it?

I'm runnig various debians including squeeze, some with 2.6.36.x and all have /etc/resolv.conf. it's been that way for 20 years, why change it now?

Is this a new thing... just debian, or all distros?

seems to me they're fixing something that isn't broken...

Gordon


I was only using recent kernels eg 2.6.38 and above to indicate the upgrade state of your system. If you are using the latest kernel then, as I see it, you are more likely keeping your system up to date and be using the latest package versions.

RE: the transition to a /run directory

the maintainer's article

http://lwn.net/Articles/436012/

and other places.

During the transition there will be problems Some versions of udev for example will introduce the /run directory too early in the transitional period and can cause the system to be un-bootable.
eg.

http://aptosid.com/index.php?name=PNphpBB2&file=viewtopic&t=1093&highlight=run

It's happening to linux in general. If your distro uses timed upgrades the /run concept will probably be contained in the next upgrade. But if you do upgrades yourself then beware as odd things may happen until the transition is over.

Keith



--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq