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

MHR mhullrich at gmail.com
Thu Oct 8 18:44:45 UTC 2009

On Thu, Oct 8, 2009 at 10:41 AM, Dave <tdbtdb+centos at gmail.com> wrote:
> My machine has a static IP, with dhcp and IPv6 disabled. Every time I
> reboot, some process rewrites /etc/resolv.conf, including a comment
> about dhcpclient. The only package I have installed that shows up in
> "rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in
> there is named dhcpclient.

I don't know that answer, but one workaround would be to maintain a
backup copy of the file and initiate a late-boot service that replaces
the rewritten one with the backup if they don't match.


More information about the CentOS mailing list