Red Hat Bugzilla – Bug 825467
systemd fails to start named daemon due to error in PIDFile parameter in /usr/lib/system.d/system/named.service
Last modified: 2013-04-30 19:51:25 EDT
Description of problem:
The named daemon fails to start with error message in /var/log/messages:
systemd: PID file /run/named/named.pid not readable (yet?) after start.
systemd: named.service operation timed out. Terminating.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. systemctl start|restart named.service
Named cannot be started using systemd. It runs well when started in a console using 'named -fg'.
systemd succeeds starting named
In /usr/lib/systemd/system/named.service (provided by bind package) there is a parameter 'PIDFile' that is set to '/run/named/named.pid'. When changed to '/var/run/named/named.pid' named can be started using systemctl after running 'systemctl --system daemon-reload'.
*** This bug has been marked as a duplicate of bug 825466 ***