On Tue, 2005-09-27 at 01:31 -0700, Bob Young wrote:
> Installed 2.6.11-hardnend-r15 to use as a secondary DNS server for the
> four domains I have. I can get named to start but it's by brute force,
> and I want to understand/fix the problem with it not starting via the
> default init script.
> 
> Here is what the start{} section of /etc/init.d/named looked like
> originally:
> 
> start() {
>         ebegin "Starting ${CHROOT:+chrooted }named"
>         checkconfig || return 1
>         start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec
> /usr/sbin/named -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT}
>         eend $?
> }
> 
> 
> With that init script, here is the result I get:
> 
> ns BYoung # /etc/init.d/named start
>  * Starting named ...
> usage: named [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus]
>              [-p port] [-s] [-t chrootdir] [-u username]
> named: extra command line arguments                [ !! ]
> ns BYoung #
> 
> 
> *******************************************************************
Try setting "set -x" somewhere at the start of the init script and look
at the verbose output.

I figure it's something to do with ${OPTIONS} ${CHROOT:+-t $CHROOT}
which I presume would be in /etc/conf.d/named(?)


-- 
gentoo-user@gentoo.org mailing list

Reply via email to