Discussion:
9.16.3 make tests on centos 8
(too old to reply)
Carl Byington
2020-05-31 20:36:57 UTC
Permalink
Trying to build on centos 8, all the tests except one pass. I get a
failure in bin/tests/system/runtime/tests.sh

I:runtime:checking that named logs an ellipsis when the command line is
larger than 8k bytes (13)
I:runtime:verifying that named switches UID (14)
I:runtime:failed
I:runtime:stopping servers

Ignoring that, the resulting binary seems to run properly.
Mark Andrews
2020-05-31 23:38:56 UTC
Permalink
Opened ticket. That system test appears to be very linux capabilities specific when run as root.
Post by Carl Byington
I:runtime:verifying that named switches UID (14)
I:runtime:failed
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ***@isc.org
Petr Menšík
2020-06-01 08:00:00 UTC
Permalink
Hi, I have fixed this on RHEL by chmod o+x $HOME before build.
I think it should autodetect nobody's access at least to current $HOME.

Not sure what would be the best fix. named-checkconf is missing user
switch. That check should be skipped if not configured properly. I am
unsure which bind utility can detect just missing rights to read file
under specified user.

It was also hit by Red Hat.

Regards,
Petr
Post by Carl Byington
Trying to build on centos 8, all the tests except one pass. I get a
failure in bin/tests/system/runtime/tests.sh
I:runtime:checking that named logs an ellipsis when the command line is
larger than 8k bytes (13)
I:runtime:verifying that named switches UID (14)
I:runtime:failed
I:runtime:stopping servers
Ignoring that, the resulting binary seems to run properly.
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: ***@redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
Petr Menšík
2020-06-01 08:02:13 UTC
Permalink
It seems okay to test it. It just should be able to skip the test if
chosen user cannot reach test directory. This test also fails on 9.11.19
version.
Post by Mark Andrews
Opened ticket. That system test appears to be very linux capabilities specific when run as root.
Post by Carl Byington
I:runtime:verifying that named switches UID (14)
I:runtime:failed
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: ***@redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
Loading...