Bug 518832
Summary: | setroubleshoot: SELinux is preventing restorecon "associate" access on /dev/pts/ptmx. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Frank Murphy <frankly3d> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dwalsh, jkubin, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:23bd5d4613118361ee78297be1738e3664f7b8505431ee360ee6d10a33cb4e0e | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-24 14:17:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Frank Murphy
2009-08-23 14:08:26 UTC
was running as su restorecon -R -v '/' after moving some files. I ran this bug through audit2why and it says that it is fixed in poliyc in -5 release, So something is strange on you machine. # grep associate /var/log/audit/audit.log | audit2allow -w What does it say? If you execute semodule -B Do you get any errors? (In reply to comment #2) > I ran this bug through audit2why and it says that it is fixed in poliyc in -5 > release, So something is strange on you machine. > > # grep associate /var/log/audit/audit.log | audit2allow -w > > What does it say? type=AVC msg=audit(1251036330.846:19669): avc: denied { associate } for pid=2030 comm="restorecon" name="ptmx" dev=devpts ino=2 scontext=system_u:object_r:ptmx_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=filesystem Was caused by: Missing type enforcement (TE) allow rule. You can use audit2allow to generate a loadable module to allow this access. > > If you execute semodule -B > > Do you get any errors? No Strange, I believe that line is in -5 policy. I just built selinux-policy-3.6.28-6.fc12.noarch And verified that this allow rule is in the policy. Please update to it when it shows up in rawhide or download it from koji. |