Bug 1126266
| Summary: | skip AVC checking if selinux is not enabled | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | beah | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.17 | CC: | aigao, asaha, dcallagh, rmancy, xma |
| Target Milestone: | 0.18 | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-27 06:52:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dan Callaghan
2014-08-04 03:51:24 UTC
On Gerrit: http://gerrit.beaker-project.org/3105 Suggested test cases: 1. Run an ordinary reservesys job -> Each result should have a log file named avc_log--*.log showing AVC checking happening (this is the existing behaviour) 2. Run a reservesys job with ks_meta="selinux=--permissive" -> Each result should have a log file named avc_log--*.log showing AVC checking happening (this is the existing behaviour) 3. Run a job which uses /distribution/command to run a command which triggers an AVC denial, for example "runcon -u system_u -t httpd_sys_content_t cat /etc/passwd". -> Task should have an "avc" Fail result (this is the existing behaviour) 4. Run a reservesys job with ks_meta="selinux=--disabled" -> avc_log--*.log should be absent from every result, no AVC checking is performed. rhts 4.64 has been released. |