BIND 9.4.x vs 9.6.x - pid-file check and creation

Jan Arild Lindstrøm jal at telenor.net
Wed Jan 28 08:08:18 UTC 2009


Hi,

ah, of course. I did not think about it as a Solaris bug.

I patched BIND 9.6.0-P1 os.c code so it first checks for the diretory before 
it tries the fast approach of just running mkdir. And that of course works fine.

But, since I do not want to run a self-patch BIND in production, I will instead 
run with pid-file "/var/run/named/named/named.pid" and be happy with that.

Thanks
Jan Arild Lindstrøm


At 15:35 27/01/2009, Mark Andrews wrote:

>Looking at the publically available parts of SunSolve there are at least
>bug reports about it.
>
>Requires Support Contract tmp_mkdir()/xmemfs_mkdir() inconsistent with other xxxfs_mkdir() functions.  |  Open in a new window
>bug 6253984
>http://sunsolve.sun.com/search/document.do?assetkey=1-1-6253984-1 - Sep 10, 2007
> 
>Requires Support Contract tmp_mkdir()/xmemfs_mkdir() inconsistent with other xxxfs_mkdir() functions.  |  Open in a new window
>bug 2152581
>http://sunsolve.sun.com/search/document.do?assetkey=1-1-2152581-1 - Sep 10, 2007 
>I don't have a copy of the POSIX standard that covers mkdir(2) to
>see what it has to say about it.  Historically however EACCES on
>search failure,  EEXIST if the file/directory exists, then EACCES on
>parent directory write permissions was the error determination order.
>
>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