Description of problem: Occured during RDO installation. Answer file attached. SELinux is preventing /usr/bin/python2.7 from 'getattr' accesses on the file . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that python2.7 should be allowed getattr access on the 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 swift-container /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:swift_t:s0 Target Context system_u:object_r:rpm_exec_t:s0 Target Objects [ file ] Source swift-container Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.5-11.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-122.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.13.5-200.fc20.x86_64 #1 SMP Mon Feb 24 16:51:35 UTC 2014 x86_64 x86_64 Alert Count 3 First Seen 2014-03-03 11:31:18 EST Last Seen 2014-03-03 11:31:20 EST Local ID c0e1a0a1-f2c0-4753-a465-31424c9ec933 Raw Audit Messages type=AVC msg=audit(1393864280.157:12074): avc: denied { getattr } for pid=29073 comm="swift-object-se" path="/usr/bin/rpm" dev="dm-0" ino=2228792 scontext=system_u:system_r:swift_t:s0 tcontext=system_u:object_r:rpm_exec_t:s0 tclass=file type=SYSCALL msg=audit(1393864280.157:12074): arch=x86_64 syscall=stat success=no exit=EACCES a0=28c16b0 a1=7fffdbe99800 a2=7fffdbe99800 a3=3dd67c55d0 items=0 ppid=1 pid=29073 auid=4294967295 uid=1001 gid=1001 euid=1001 suid=1001 fsuid=1001 egid=1001 sgid=1001 fsgid=1001 ses=4294967295 tty=(none) comm=swift-object-se exe=/usr/bin/python2.7 subj=system_u:system_r:swift_t:s0 key=(null) Hash: swift-container,swift_t,rpm_exec_t,file,getattr Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.5-200.fc20.x86_64 type: libreport
Created attachment 870036 [details] File: packstack-answers-20140303-103051.txt
commit 1e9ece815a4863368930dc2b6f667d7c48ac3eb3 Author: Miroslav Grepl <mgrepl> Date: Wed Mar 5 08:58:09 2014 +0100 Allow swift to exec rpm in swift_t and allow to create tmp files/dirs
selinux-policy-3.12.1-135.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-135.fc20
Package selinux-policy-3.12.1-135.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-135.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3813/selinux-policy-3.12.1-135.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-135.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.