"make test" fails on Fedora 10
Luther, Dan
Dan.Luther at Level3.com
Wed Mar 27 19:40:46 UTC 2013
Several months ago, I reported that several of the make tests were failing due to "couldn't start server ns2" and the like.
Working with the BIND 9.9.2-P2 compile, I just spent several minutes tracking the source of this down with some judicious use of "print" in the 'bin/tests/system/start.pl' script and viewing the "*.run" output. It really comes down to file permissions -- a particular line from "bin/tests/system/inline/ns1/named.run" pointed me in that direction:
27-Mar-2013 14:24:53.970 could not open file 'named.pid': Permission denied
Apparently, the file ownerships for this entire test suite are for a user and group I do not have:
-rw-rw-r-- 1 10292 9901 2806 Mar 6 11:56 run.sh
For the tests, BIND starts up with an empty group descriptor:
I:issuing command '/home/luther/bind-9.9.2-P2/bin/named/named -m record,size,mctx -T clienttest -c named.conf -d 99 -g >named.run 2>&1 &echo $!'
I:Checking that reconfiguring empty zones is silent (1)
... which may be part of the problem, at least in my case. So I cheated by issuing a "find . -type d -exec chmod 777 {} \;" command.
Now, all the tests are successful.
FYI in case anyone runs into this issue.
Dan Luther
Operations Engineer
Systems Operation Engineering
Level 3 Communications
One Technology Center, Tulsa OK 74103
p: 918-547-4370
e: dan.luther at level3.com<mailto:name.name at level3.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130327/72679fed/attachment.html>
More information about the bind-users
mailing list