| Summary: | SELinux is preventing /sbin/setfiles from 'read' accesses on the file /var/lib/mock/fedora-16-x86_64/root/lib64/libselinux.so.1. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sandro Mathys <sandro> |
| 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: | 17 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ff2a0ac66bb8a0abf1dc017721fef7f826b0f903156f9ec8efb9e0643dce82bc | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-19 14:18:36 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 814076 *** |
libreport version: 2.0.10 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-1.fc17.x86_64 time: Thu 19 Apr 2012 09:56:39 AM CEST description: :SELinux is preventing /sbin/setfiles from 'read' accesses on the file /var/lib/mock/fedora-16-x86_64/root/lib64/libselinux.so.1. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that setfiles should be allowed read access on the libselinux.so.1 file 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:unconfined_r:setfiles_t:s0-s0:c0.c102 : 3 :Target Context unconfined_u:object_r:mock_var_lib_t:s0 :Target Objects /var/lib/mock/fedora-16-x86_64/root/lib64/libselin : ux.so.1 [ file ] :Source restorecon :Source Path /sbin/setfiles :Port <Unknown> :Host (removed) :Source RPM Packages policycoreutils-2.1.10-29.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-110.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.0-1.fc17.x86_64 : #1 SMP Mon Mar 19 03:03:39 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Thu 19 Apr 2012 09:53:17 AM CEST :Last Seen Thu 19 Apr 2012 09:53:17 AM CEST :Local ID 8fd1afd2-3846-407e-9902-915f20ea361c : :Raw Audit Messages :type=AVC msg=audit(1334821997.376:9337): avc: denied { read } for pid=7787 comm="restorecon" name="libselinux.so.1" dev="dm-0" ino=2622712 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mock_var_lib_t:s0 tclass=file : : :type=SYSCALL msg=audit(1334821997.376:9337): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffa7cf31f0 a1=80000 a2=0 a3=7f9fb83c4fb4 items=0 ppid=7785 pid=7787 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=restorecon exe=/sbin/setfiles subj=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 key=(null) : :Hash: restorecon,setfiles_t,mock_var_lib_t,file,read : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :