upgrade bind8.x to bind9.x in RH6.2

Mark Andrews Mark_Andrews at isc.org
Thu Oct 7 21:34:23 UTC 2004


> Hai,
>   Due to some reasons, still I am using RH6.2 where
> bind8.2 is running. Now I need to upgrade to bind 9.x 
> and got the following error when I start named after
> upgradation 
> 
> # /etc/rc.d/init.d/named start
> 
> Starting named: named: -u not supported on Linux
> kernels older than 2.3.99-pre3 or 2.2.18 when using
> threads
>                                                       
>     [FAILED]
> 
> If I haven't specified '-u named' option in named
> script, then it will try to start bind as root user.
> 
> Is there any way I can run bind using 'named' user?
> 
> 
> Sarav

	-u fails at this point, with a threaded build, for one of
	these reasons.

	* The kernel is to old to support capabilities.
	* The kernel does not have the capabilities module loaded.
	* You have disabled capabilities at build time.
	* PR_SET_KEEPCAPS is not supported.

	Linux's threads are broken.  You cannot call setuid() once
	you are multithreaded.  Named uses Linux's capabilities to
	work around this by keeping the ability to bind to reserved
	sockets after the setuid() call.

	Mark

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list