Hello,
sorry for posting it again and again but i hope this post will sort out
any doubts you could have before.

Running named from /etc/init.d/ is not working:
$ /etc/init.d/named start
 * Starting named ...
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n
number_of_cpus]
             [-p port] [-s] [-t chrootdir] [-u username]
             [-m {usage|trace|record}]
named: extra command line arguments

but running it with the same command from shell is.
$ start-stop-daemon --start --quiet --pidfile \
/var/run/named/named.pid --exec /usr/sbin/named -- -u named -n 1

Is that a diffrence between my shell enviroment - bash and the script
enviroment - #!/sbin/runscript ?

In my /etc/conf.d/named I only have these 2 vars set:
OPTIONS=""
CPU="1"


-- 
Pozdrowienia
Piotr Jaroszynski

-- 
gentoo-user@gentoo.org mailing list

Reply via email to