Description of problem: dnf update SELinux is preventing /usr/bin/python3.5 from 'read' accesses on the file /usr/lib/python3.5/site-packages/mkosi-1-py3.5.egg. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /usr/lib/python3.5/site-packages/mkosi-1-py3.5.egg default label should be lib_t. Then you can run restorecon. Do # /sbin/restorecon -v /usr/lib/python3.5/site-packages/mkosi-1-py3.5.egg ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that python3.5 should be allowed read access on the mkosi-1-py3.5.egg 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: # ausearch -c 'firewalld' --raw | audit2allow -M my-firewalld # semodule -X 300 -i my-firewalld.pp Additional Information: Source Context system_u:system_r:firewalld_t:s0 Target Context unconfined_u:object_r:user_home_t:s0 Target Objects /usr/lib/python3.5/site-packages/mkosi-1-py3.5.egg [ file ] Source firewalld Source Path /usr/bin/python3.5 Port <Unknown> Host (removed) Source RPM Packages python3-3.5.2-3.fc24.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-191.19.fc24.noarch selinux- policy-3.13.1-191.20.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.6-201.fc24.x86_64+debug #1 SMP Thu Nov 3 14:24:27 UTC 2016 x86_64 x86_64 Alert Count 22 First Seen 2016-10-06 11:49:34 CEST Last Seen 2016-11-14 10:24:22 CET Local ID 66da00c3-a5aa-4fbf-80cd-d6f810696960 Raw Audit Messages type=AVC msg=audit(1479115462.891:5002): avc: denied { read } for pid=7677 comm="firewalld" name="mkosi-1-py3.5.egg" dev="sda6" ino=1497374 scontext=system_u:system_r:firewalld_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 type=SYSCALL msg=audit(1479115462.891:5002): arch=x86_64 syscall=open success=no exit=EACCES a0=7fdf84eba680 a1=0 a2=1b6 a3=0 items=1 ppid=1 pid=7677 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=firewalld exe=/usr/bin/python3.5 subj=system_u:system_r:firewalld_t:s0 key=(null) type=CWD msg=audit(1479115462.891:5002): cwd=/ type=PATH msg=audit(1479115462.891:5002): item=0 name=/usr/lib/python3.5/site-packages/mkosi-1-py3.5.egg inode=1497374 dev=08:06 mode=0100644 ouid=0 ogid=0 rdev=00:00 obj=unconfined_u:object_r:user_home_t:s0 nametype=NORMAL Hash: firewalld,firewalld_t,user_home_t,file,read Version-Release number of selected component: selinux-policy-3.13.1-191.19.fc24.noarch selinux-policy-3.13.1-191.20.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.6-201.fc24.x86_64+debug type: libreport Potential duplicate: bug 1299195
*** This bug has been marked as a duplicate of bug 1299195 ***