Bug 913673
Summary: | cgrulesengd has "AVC" record in /var/log/audit/audit.log | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | bleanhar, dwalsh, inode0, jialiu, jpallich, libra-onpremise-devel, lmeyer, mgrepl, mjw, mmalik, sforsber, xjia |
Target Milestone: | rc | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-196.el6 | Doc Type: | Bug Fix |
Doc Text: |
Previously, the cgrulesengd daemon attempted to use inotifyfs scripts for monitoring filesystem changes. Due to a missing rule, the SELinux subsystem denied access to inotifyfs. This update adds an allow rule to selinux-policy and cgrulesengd can now use inotifyfs.
|
Story Points: | --- |
Clone Of: | 906684 | Environment: | |
Last Closed: | 2013-11-21 10:16: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: | |||
Bug Depends On: | |||
Bug Blocks: | 913537, 915519, 917966 |
Comment 2
Mark Wielaard
2013-02-21 22:28:07 UTC
I added a fix to RHEL6.5. I guess we need to get it to RHEL6.4, rght? BTW. As a quick workaround you can feed the log messages to audit2allow -R -M cgrulesengd. This will generate a cgrulesengd.pp that can be added with semodule -i cgrulesengd.pp. The cgrulesengd.te file will show the policy generated: policy_module(cgrulesengd, 1.0) require { type cgred_t; } #============= cgred_t ============== fs_list_inotifyfs(cgred_t) I know that cgrulesengd can use inotifyfs, # strings `which cgrulesengd` | grep inotify Error intializing inotify subsystem inotify_init inotify_add_watch # but I'm unable to persuade cgrulesengd to actually use it, therefore no AVCs appeared on my machine. Could you help me? (In reply to comment #3) > I added a fix to RHEL6.5. I guess we need to get it to RHEL6.4, rght? Yes, we would like this bug Z-Streamed for RHEL 6.4. I don't see any AVCs when the policy module (comment#4) is loaded. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1598.html |