Description of problem: plugged in iphone SELinux is preventing /usr/sbin/usbmuxd from using the 'setrlimit' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that usbmuxd should be allowed setrlimit access on processes labeled usbmuxd_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 usbmuxd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:usbmuxd_t:s0 Target Context system_u:system_r:usbmuxd_t:s0 Target Objects [ process ] Source usbmuxd Source Path /usr/sbin/usbmuxd Port <Unknown> Host (removed) Source RPM Packages usbmuxd-1.0.9-0.6.c24463e.fc20.i686 Target RPM Packages Policy RPM selinux-policy-3.12.1-193.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.17.3-200.fc20.i686+PAE #1 SMP Fri Nov 14 19:59:49 UTC 2014 i686 i686 Alert Count 2 First Seen 2014-12-09 12:58:06 CST Last Seen 2014-12-09 13:17:12 CST Local ID f29d00da-4f8a-42db-acde-b9f10083c4ba Raw Audit Messages type=AVC msg=audit(1418102232.587:28496): avc: denied { setrlimit } for pid=1802 comm="usbmuxd" scontext=system_u:system_r:usbmuxd_t:s0 tcontext=system_u:system_r:usbmuxd_t:s0 tclass=process permissive=1 type=SYSCALL msg=audit(1418102232.587:28496): arch=i386 syscall=setrlimit success=yes exit=0 a0=7 a1=bfc31acc a2=4712f000 a3=4 items=0 ppid=1 pid=1802 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=usbmuxd exe=/usr/sbin/usbmuxd subj=system_u:system_r:usbmuxd_t:s0 key=(null) Hash: usbmuxd,usbmuxd_t,usbmuxd_t,process,setrlimit Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.17.3-200.fc20.i686+PAE type: libreport
145afe9d9c77e566a85bed7c34167c007cfc8c98 fixes this in git. Looks like it is in F21.
commit b9206ea8997fa57e80c259b5a5f38c05db1f1fe2 Author: Dan Walsh <dwalsh> Date: Fri Sep 19 16:58:27 2014 -0400 Additional access required by usbmuxd
selinux-policy-3.12.1-197.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-197.fc20
Package selinux-policy-3.12.1-197.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-197.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1398/selinux-policy-3.12.1-197.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-197.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.