See https://src.fedoraproject.org/tests/selinux/pull-request/20#comment-33709 and lateR:
The test needs to clean up after itself. Once the test finishes, /usr/bin/sctp_test is mislabeled:
/usr/bin/sctp_test
which sctp_test /usr/bin/sctp_test ls -Z which sctp_test system_u:object_r:unlabeled_t:s0 /usr/bin/sctp_test restorecon -Rv which sctp_test Relabeled /usr/bin/sctp_test from system_u:object_r:unlabeled_t:s0 to system_u:object_r:bin_t:s0
Sorry to bother again. I would like to see something like the following checks in the test:
rlRun "semanage port -l | grep \"${PORT_TYPE}.sctp.${CLIENT_PORT}\"" rlRun "semanage port -l -C | grep \"${PORT_TYPE}.sctp.${SERVER_PORT}\""
which prove that SCTP portcon was added and is listed.
https://src.fedoraproject.org/tests/selinux/c/34b485bf017da922307fc4a6b7cec0aaf3154284?branch=master https://src.fedoraproject.org/tests/selinux/pull-request/22
Metadata Update from @plautrba: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.