[CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

Dave tdbtdb+centos at gmail.com
Thu Oct 29 21:03:35 UTC 2009


On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani <meenoo at gmail.com> wrote:
>
>
> BOOTPROTO=bootp is triggering it.
>

I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
/etc/sysconfig/network-scripts/ifup-eth, it did not rewrite
/etc/resolv.conf.

Okay, my goof, the one with the problem is actually running fc9. Sorry.

I will try

 sed -i "s/BOOTPROTO=bootp/BOOTPROTO=none/"
/etc/sysconfig/network-scripts/ifup-eth

mahalo,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20091029/67ed24b3/attachment.html 


More information about the CentOS mailing list