rc.d/named
Derek Ragona
derek at computinginnovations.com
Sat Jun 7 00:32:57 UTC 2008
At 02:19 PM 6/6/2008, Casey Scott wrote:
>I have quite a bit of trouble with the /etc/rc.d/named script. The source
>of the biggest issue was the rc_run_command was not issuing the run command
>with "/usr/sbin/named". It was just running the arguments w/o the executable.
>
>e.g. -t /var/named vs. /usr/sbin/named -t /var/named
>
>I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf
>related to named is a correction to the chroot directory... For the time
>being that issue has been resolve by hacking the rc.conf to issue the
>executable where the flags are specified. However, when issuing
>/etc/rc.d/named
>I get:
>
>named not running? (check /var/run/named/pid).
>
>
>/var/run/named/pid contains the correct PID, and has permissions:
>
>lrwxr-xr-x 1 root bind
>
>Anyone else having trouble with this? None of the other init scripts are
>having
>problems.
You need to set:
named_chroot_autoupdate
named_chrootdir
named_flags
and possibly:
named_uid
in /etc/rc.conf
I have all of these values set.
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the freebsd-questions
mailing list