Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2008 19:32:36 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        Casey Scott <casey@phantombsd.org>, freebsd-questions@freebsd.org
Subject:   Re: rc.d/named
Message-ID:  <6.0.0.22.2.20080606193040.0256da00@mail.computinginnovations.com>
In-Reply-To: <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.or g>
References:  <11264046.61212779984113.JavaMail.root@tomcat.phantombsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080606193040.0256da00>