CentOS 7: Problem With Named-chroot Service After Last Update

Home » CentOS » CentOS 7: Problem With Named-chroot Service After Last Update
CentOS No Comments

After last update, the named-chroot service not start anymore with this error:

All file into /var/named/chroot/var/named/ are not found

After investigate I have found this error, into file:
 
/etc/systemd/system/multi-user.target.wants/named-chroot.service

the¬†ExecStartPre named-checkconf command is wrong: the option ‘-t
/var/named/chroot’ is missing.

Solution:

Add ‘-t /var/named/chroot’ option before the ‘-z’ option into ExecStartPre command or disable zone check via /etc/sysconfig/named

Hope this help


Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

LEAVE A COMMENT