Closed nsednev closed 3 months ago
This test case should test inside QM the command setenforce 0 which must fail.
bash-5.1# setenforce 0 setenforce: security_setenforce() failed: Permission denied
What is Selinux? A test tool insures that inside the QM the command setenforce 0 must fail.
Why? QM environment should not allow setenforce to change its state and must always fail. It should be validated via FFI tests.
How the deny is made? SELinux internal policies prevent a user inside QM change the SELinux setstaus.
How to test?
# podman exec -it qm setenforce 0 setenforce: security_setenforce() failed: Permission denied
or
# podman exec -it qm bash bash-5.1# setenforce 0 setenforce: security_setenforce() failed: Permission denied
should add polarion-id to main.fmf
This test case should test inside QM the command setenforce 0 which must fail.
bash-5.1# setenforce 0 setenforce: security_setenforce() failed: Permission denied
What is Selinux? A test tool insures that inside the QM the command setenforce 0 must fail.
Why? QM environment should not allow setenforce to change its state and must always fail. It should be validated via FFI tests.
How the deny is made? SELinux internal policies prevent a user inside QM change the SELinux setstaus.
How to test?
or