Red Hat Bugzilla – Bug 24980
bind uses "named -u named" unconitionally.
Last modified: 2008-03-13 15:18:51 EDT
/etc/init.d/named uses "named -u named" unconitionally.
It will be nice to check the running kernel to see if
it supports it or not.
That's not trivial. BIND 9 running as root refuses to write its PID file to
/var/run/named/named.pid the (chown root:root /var/run/named needed). Same goes
for /var/named directory which needs to be chown'ed to root.
Yes, all that sucks hard. *sigh* :-(
Everything aside, running named as root is never a good idea.