i have got a suse machine, where ISC Bind and ISC Dhcp installed with chroot.
Linux lab-suse-bind 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
#ps -A -o comm,pid,args | grep dhcpd
dhcpd 30143 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0
as per my research on ISC bind and DHCP on other distribution , when machine is configured with chroot, then the config file will be available in (/configfilepath)
- But this machine has config file in both /etc/dhcpd.conf and /var/lib/dhcp/etc/dhcpd.conf
in every restart It copies file from “etc/dhcpd.conf” to " /var/lib/dhcp/etc/dhcpd.conf " and start the service
i just want to know , is it a normal behavior in suse, because i do not find similarity in other distribution . (other distributions do point to a single file , and no replacing in every restart)