| Summary: | SELinux is preventing /usr/sbin/setfiles from 'associate' accesses on the filesystem /dev/pts. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, ignatenko, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:3748dc77d9f29b9186323e1b840490812764db303115e5b3a21e018d5f79668b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-06 10:05:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 1038791 *** |
Description of problem: SELinux is preventing /usr/sbin/setfiles from 'associate' accesses on the filesystem /dev/pts. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that setfiles should be allowed associate access on the pts filesystem by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep restorecon /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:object_r:mock_var_lib_t:s0 Target Context system_u:object_r:devpts_t:s0 Target Objects /dev/pts [ filesystem ] Source restorecon Source Path /usr/sbin/setfiles Port <Unknown> Host (removed) Source RPM Packages policycoreutils-2.2.2-2.fc20.x86_64 policycoreutils-2.2.2-3.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-90.fc20.noarch selinux- policy-3.12.1-106.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.11.10-300.fc20.x86_64 #1 SMP Fri Nov 29 19:16:48 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-12-06 00:04:05 MSK Last Seen 2013-12-06 00:04:05 MSK Local ID 935bdcc7-8726-445d-add8-34c739c5b0cc Raw Audit Messages type=AVC msg=audit(1386273845.138:606): avc: denied { associate } for pid=9907 comm="restorecon" name="/" dev="devpts" ino=1 scontext=unconfined_u:object_r:mock_var_lib_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=filesystem type=SYSCALL msg=audit(1386273845.138:606): arch=x86_64 syscall=lsetxattr success=no exit=EACCES a0=7f9e63c68fb0 a1=7f9e62c37d3e a2=7f9e63c610d0 a3=28 items=0 ppid=8460 pid=9907 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=1 tty=pts1 comm=restorecon exe=/usr/sbin/setfiles subj=unconfined_u:system_r:setfiles_t:s0-s0:c0.c1023 key=(null) Hash: restorecon,mock_var_lib_t,devpts_t,filesystem,associate Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.10-300.fc20.x86_64 type: libreport