etc/resolv.conf gets overwritten with blank file upon boot.

jludwig wralphie at comcast.net
Wed Mar 9 00:50:20 UTC 2005


On Tuesday 08 March 2005 01:04 pm, Nat Gross wrote:
> Hi;
> I recently changed my stations to NOT use dhcp (as well as the Linksys
> router) and everything is fine and dandy.
> EXCEPT, that upon every re-boot, the etc/resolv.conf which has my isp's
> dns's, gets overwritten with a blank file, and my web programs cease to
> operate. The resolv.conf sitting in etc/sysconfig/networking.... is ok,
> and I just copy it over to etc/resolv.conf.
> Which program is doing this, and how do I tell it to stop.
>
> Thank you;
> -nat
> ps. While I was using dhcp, the router was also supplying the
> nameservers, so I didn't need /etc/resolv.conf.
You could chattr the file to immutable, and this should cause some sort of 
errer message.




More information about the fedora-list mailing list