Description of problem: Trying to run wireshark from a confined staff_u user. Beside create, theres also ioctl, bind, getopt and setopt. SELinux is preventing /usr/sbin/dumpcap from 'create' accesses on the packet_socket . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dumpcap should be allowed create access on the packet_socket 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 dumpcap /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context staff_u:staff_r:staff_t:s0-s0:c0.c1023 Target Context staff_u:staff_r:staff_t:s0-s0:c0.c1023 Target Objects [ packet_socket ] Source dumpcap Source Path /usr/sbin/dumpcap Port <Unknown> Host (removed) Source RPM Packages wireshark-1.10.5-2.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-122.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.12.10-300.fc20.x86_64 #1 SMP Thu Feb 6 22:11:48 UTC 2014 x86_64 x86_64 Alert Count 2 First Seen 2014-02-14 19:03:16 EST Last Seen 2014-02-14 19:04:04 EST Local ID a1b74c82-576c-4141-9822-fd20f950e1fd Raw Audit Messages type=AVC msg=audit(1392422644.186:4659): avc: denied { create } for pid=32139 comm="dumpcap" scontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=packet_socket type=SYSCALL msg=audit(1392422644.186:4659): arch=x86_64 syscall=socket success=yes exit=ESRCH a0=11 a1=3 a2=300 a3=7fff007b6f70 items=0 ppid=32130 pid=32139 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=9 tty=pts4 comm=dumpcap exe=/usr/sbin/dumpcap subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null) Hash: dumpcap,staff_t,staff_t,packet_socket,create Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.12.10-300.fc20.x86_64 type: libreport
c6188e30c20d4327d7c6b24bd5802b16f8eb3bf6 allows this in git.
selinux-policy-3.12.1-126.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-126.fc20
Package selinux-policy-3.12.1-126.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-126.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2801/selinux-policy-3.12.1-126.fc20 then log in and leave karma (feedback).
Package selinux-policy-3.12.1-127.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-127.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2801/selinux-policy-3.12.1-127.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-127.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.