Created attachment 1248590 [details]
Description of problem:
In the tortilla script, there's check for selinux role and typy. Currently the problem is missing MCS range which is not detected by tortilla script. The issue appears since RHEL-7.3 AFAIK.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run id as a task in beaker
2. run 'sandbox true' as a task in beaker
/usr/bin/sandbox: User account must be setup with an MCS Range
command should pass
In the tortilla script, there is an insufficient check for context. If the check passes, no context change is done. This can be safely omitted and the context change can be done everytime as it does not break anything. I'm using attached workaround for quite long time and it works as expected.
Beah is no longer supported by Beaker development team.
Instead of that, we are working on Restraint test harness. You can find all the features of Restraint here.
If you think your RFE should be still implemented as part of Restraint feel free to create a new BZ ticket.
In case you have any question feel free to reach out to me
Martin Styk <email@example.com>