Description of problem: Run dnf upgrade on F22 as a confined root user. SELinux is preventing /usr/bin/python2.7 from using the 'transition' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that python2.7 should be allowed transition access on processes labeled rpm_script_t 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 dnf /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 Target Context staff_u:sysadm_r:rpm_script_t:s0-s0:c0.c1023 Target Objects /usr/bin/bash [ process ] Source dnf Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages bash-4.3.39-1.fc22.x86_64 Policy RPM selinux-policy-3.13.1-126.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.4-303.fc22.x86_64 #1 SMP Thu May 28 12:37:06 UTC 2015 x86_64 x86_64 Alert Count 49 First Seen 2015-06-06 09:23:29 ACST Last Seen 2015-06-09 06:56:45 ACST Local ID 5027a44c-589d-475e-a620-eeed7738c065 Raw Audit Messages type=AVC msg=audit(1433798805.921:7660): avc: denied { transition } for pid=10701 comm="dnf" path="/usr/bin/bash" dev="dm-3" ino=198146 scontext=staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 tcontext=staff_u:sysadm_r:rpm_script_t:s0-s0:c0.c1023 tclass=process permissive=0 type=SYSCALL msg=audit(1433798805.921:7660): arch=x86_64 syscall=execve success=no exit=EACCES a0=2e9dba0 a1=27b9380 a2=7fff922cb010 a3=3fa4c8bea0 items=0 ppid=10225 pid=10701 auid=1343600009 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=dnf exe=2F7573722F62696E2F707974686F6E322E37202864656C6574656429 subj=staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 key=(null) Hash: dnf,sysadm_t,rpm_script_t,process,transition Version-Release number of selected component: selinux-policy-3.13.1-126.fc22.noarch Additional info: reporter: libreport-2.5.1 hashmarkername: setroubleshoot kernel: 4.0.4-303.fc22.x86_64 type: libreport
commit 3ae681c5fb57ea40356d8180c43a07b0b9d7dd11 Author: Miroslav Grepl <mgrepl> Date: Wed Jun 17 13:22:31 2015 +0200 Call rpm_transition_script() from rpm_run() interface.
selinux-policy-3.13.1-128.2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-128.2.fc22
Package selinux-policy-3.13.1-128.2.fc22: * should fix your issue, * was pushed to the Fedora 22 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.13.1-128.2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10299/selinux-policy-3.13.1-128.2.fc22 then log in and leave karma (feedback).
selinux-policy-3.13.1-128.2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.