Summary: SELinux is preventing /usr/bin/boinc_client "getattr" access on /dev/pts/ptmx. Detailed Description: [boinc_client has a permissive type (boinc_t). This access was not denied.] SELinux denied access requested by boinc_client. It is not expected that this access is required by boinc_client and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:boinc_t:s0 Target Context system_u:object_r:ptmx_t:s0 Target Objects /dev/pts/ptmx [ chr_file ] Source boinc_client Source Path /usr/bin/boinc_client Port <Unknown> Host (removed) Source RPM Packages boinc-client-6.10.36-1.r20845svn.fc13 Target RPM Packages Policy RPM selinux-policy-3.7.14-3.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.33-1.fc13.i686 #1 SMP Wed Feb 24 20:11:36 UTC 2010 i686 i686 Alert Count 1 First Seen Mon 15 Mar 2010 13:37:02 GMT Last Seen Mon 15 Mar 2010 13:37:02 GMT Local ID 41122bb0-4e05-484c-95b3-0ed8326667de Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1268660222.886:17171): avc: denied { getattr } for pid=1188 comm="boinc_client" path="/dev/pts/ptmx" dev=devpts ino=2 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:ptmx_t:s0 tclass=chr_file node=(removed) type=SYSCALL msg=audit(1268660222.886:17171): arch=40000003 syscall=195 success=yes exit=0 a0=9619c44 a1=bfd6365c a2=d87ff4 a3=3 items=0 ppid=1 pid=1188 auid=4294967295 uid=491 gid=481 euid=491 suid=491 fsuid=491 egid=481 sgid=481 fsgid=481 tty=(none) ses=4294967295 comm="boinc_client" exe="/usr/bin/boinc_client" subj=system_u:system_r:boinc_t:s0 key=(null) Hash String generated from catchall,boinc_client,boinc_t,ptmx_t,chr_file,getattr audit2allow suggests: #============= boinc_t ============== allow boinc_t ptmx_t:chr_file getattr;
Miroslav, does boinc use pseudo terminals?
Dan, let's dontaudit it.
You can dontaudit these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.7.14-5.fc13.noarch
Thanks a lot.
selinux-policy-3.7.15-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-1.fc13
selinux-policy-3.7.15-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
Actually, there are a lot of SELinux problems when running BOINC other than this one.
Please attach your audit.log
Created attachment 407649 [details] audit.log The BOINC bits are from line 153.
Created attachment 407796 [details] boinc patch Dan, the patch for boinc policy.
Fixed in selinux-policy-3.7.19-3.fc13.noarch
selinux-policy-3.7.19-6.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-6.fc13
selinux-policy-3.7.19-6.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-6.fc13
selinux-policy-3.7.19-6.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.