Bug 575019

Summary: SELinux is preventing /usr/bin/boinc_client "getattr" access on /etc/pki/tls/certs/ca-bundle.crt.
Product: [Fedora] Fedora Reporter: Vaclav "sHINOBI" Misek <misek>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:608603274b13ab921d2d56fcd867ca9a555db37bdb29c9da1cc17b7c8b14248b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-19 07:44:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vaclav "sHINOBI" Misek 2010-03-19 06:33:46 UTC
Summary:

SELinux is preventing /usr/bin/boinc_client "getattr" 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                   2
First Seen                    Fri 19 Mar 2010 12:10:56 AM CET
Last Seen                     Fri 19 Mar 2010 12:11:17 AM CET
Local ID                      cf6f39e1-061e-4776-9f58-812e979a4274
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1268953877.602:41852): avc:  denied  { getattr } for  pid=2019 comm="boinc_client" path="/etc/pki/tls/certs/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.602:41852): arch=c000003e syscall=4 success=yes exit=0 a0=e9ce80 a1=7fff1f9bbda0 a2=7fff1f9bbda0 a3=30 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,getattr
audit2allow suggests:

#============= boinc_t ==============
allow boinc_t cert_t:file getattr;

Comment 1 Miroslav Grepl 2010-03-19 07:44:48 UTC

*** This bug has been marked as a duplicate of bug 575020 ***