Summary: SELinux is preventing /usr/bin/boinc_client "read" access on /etc/pki/tls/certs/ca-bundle.crt. 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:SystemLow Target Context system_u:object_r:cert_t:SystemLow Target Objects /etc/pki/tls/certs/ca-bundle.crt [ 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 ca-certificates-2010-2.fc13 Policy RPM selinux-policy-3.7.15-1.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.33-10.fc13.x86_64 #1 SMP Mon Mar 15 00:46:45 UTC 2010 x86_64 x86_64 Alert Count 4 First Seen Fri 19 Mar 2010 12:10:56 AM CET Last Seen Fri 19 Mar 2010 12:11:17 AM CET Local ID 8c9455b6-18fb-42d2-8f55-34bd1b1357c1 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1268953877.603:41853): avc: denied { read } for pid=2019 comm="boinc_client" name="ca-bundle.crt" dev=dm-0 ino=535923 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file node=(removed) type=AVC msg=audit(1268953877.603:41853): avc: denied { open } for pid=2019 comm="boinc_client" name="ca-bundle.crt" dev=dm-0 ino=535923 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1268953877.603:41853): arch=c000003e syscall=2 success=yes exit=26 a0=ebc4d0 a1=0 a2=0 a3=0 items=0 ppid=1 pid=2019 auid=4294967295 uid=495 gid=491 euid=495 suid=495 fsuid=495 egid=491 sgid=491 fsgid=491 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,cert_t,file,read audit2allow suggests: #============= boinc_t ============== allow boinc_t cert_t:file { read open };
Vaclav, could you try to copy ca-bundle.crt to /var/lib/boinc ?
*** Bug 575019 has been marked as a duplicate of this bug. ***
The rights should be left default or should I change them to boinc:boinc?
Leave the default. Does it work? Are you still getting AVC messages with this change? ausearch -m avc -ts recent
Miroslav, if boinc uses certs it seems reasonable to add this access.
Yes, it is. Let's add this rule.
Anyway, after copying ca-bundle.crt boinc still tries to open /etc/pki/tls/certs/ca-bundle.crt. I agree the rule should be best, at least the ca-certs are placed in one location :-). Thanks a lot.
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.7.15-4.fc13.noarch
selinux-policy-3.7.15-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-4.fc13
selinux-policy-3.7.15-4.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-4.fc13
selinux-policy-3.7.15-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.