Bug 24980 - bind uses "named -u named" unconitionally.
bind uses "named -u named" unconitionally.
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-25 17:31 EST by Red Hat Bugzilla
Modified: 2008-03-13 15:18 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-28 23:54:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Red Hat Bugzilla 2001-01-25 17:31:03 EST
/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.
Comment 1 Red Hat Bugzilla 2001-01-28 23:54:42 EST
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* :-(
Comment 2 Red Hat Bugzilla 2001-03-06 10:10:29 EST
Everything aside, running named as root is never a good idea.

Note You need to log in before you can comment on or make changes to this bug.