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

Thu Oct 8 21:27:02 UTC 2009
Meenoo Shivdasani <meenoo at gmail.com>

> You guessed right. But the question remains, what software is writing the file?

/etc/init.d/network calls /etc/sysconfig/network-scripts/ifup which
calls /sbin/dhclient which calls /sbin/dhclient-script which
overwrites your resolv.conf with the info it gets from the DHCP server
on the network.

M