[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Running Bind as Named Update 1.0.1 PROBLEMS
- Subject: [cobalt-developers] Running Bind as Named Update 1.0.1 PROBLEMS
- From: Support <support@xxxxxxxxxxxxxxxx>
- Date: Fri Dec 14 11:11:39 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi everyone,
The above patch seems to have fixed named by starting it as a new user
"named" when called from the initscripts using "start" but when "restart"
is used, /usr/sbin/ndc (name daemon control program) restarts the server
and once again causes it to be run as root user.
I'm assuming the same thing would happen if calling the initscript with
"reload" since it also uses /usr/sbin/ndc.
My fix to this is to replace the "restart" case in the initscript with:
restart)
$0 stop
$0 start
;;
Anyone know of how to fix this differently and continue to use the name
daemon control program?
Best Regards,
Shameel Bhimji
Systems Manager
Merchantpark Communications, Inc.
Vancouver, BC San Diego, CA
T/604-990-7691 T/619-865-0494
F/604-990-7693 F/619-615-2038
Email: shameel@xxxxxxxxxxxxxxxx
Website: www.merchantpark.com