Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
starting named-chroot vs named in Centos/RHEL 7 #345
In the Client code for fmDNS the function getStartupScript() needs a tweak, in RHEL/Centos 7.x when using a chroot named environment you need to start named-chroot not named. I saw the you do detection of the chroot environment and according to RHEL docs the use of named-chroot is required now. I changed the line for the moment to
'CentOS' => array('/etc/init.d/named start', findProgram('systemctl') . ' start named-chroot.service'),
The fmDNS module should have a option switch asking if chroot is being used and based on it change the startup function.