#21 sctp_test needs to clean up after itself and other issues reported by @mmalik
Closed 4 years ago by plautrba. Opened 4 years ago by plautrba.

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:

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.


Metadata Update from @plautrba:
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata