Bug 625961

Summary: SELinux is preventing /var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86_64-pc-linux-gnu__cuda "getattr" access on /etc/nsswitch.conf.
Product: [Fedora] Fedora Reporter: Daniel Stripes <dlstripes-fedorabugs>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:448d8e91bff28d836946760cd04feb2e3fa963ad57e1b603c697072e03d55d16
Fixed In Version: selinux-policy-3.7.19-51.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-31 06:38:56 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 Daniel Stripes 2010-08-20 23:55:17 UTC
Summary:

SELinux is preventing
/var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86_64-pc-linux-gnu__cuda
"getattr" access on /etc/nsswitch.conf.

Detailed Description:

[acemd2_6.04_x86 has a permissive type (boinc_project_t). This access was not
denied.]

SELinux denied access requested by acemd2_6.04_x86. It is not expected that this
access is required by acemd2_6.04_x86 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                unconfined_u:system_r:boinc_project_t:s0
Target Context                system_u:object_r:etc_t:s0
Target Objects                /etc/nsswitch.conf [ file ]
Source                        acemd2_6.04_x86
Source Path                   /var/lib/boinc/projects/www.gpugrid.net/acemd2_6.0
                              4_x86_64-pc-linux-gnu__cuda
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           glibc-2.12-3
Policy RPM                    selinux-policy-3.7.19-47.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23
                              17:14:44 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Fri 20 Aug 2010 12:04:02 PM EDT
Last Seen                     Fri 20 Aug 2010 06:58:40 PM EDT
Local ID                      3fb69567-4ccf-47ec-9f9a-02e2a59a72fd
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282345120.863:29980): avc:  denied  { getattr } for  pid=21864 comm="acemd2_6.04_x86" path="/etc/nsswitch.conf" dev=dm-0 ino=1110 scontext=unconfined_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1282345120.863:29980): arch=c000003e syscall=5 success=yes exit=0 a0=e a1=7fffc10906a0 a2=7fffc10906a0 a3=78 items=0 ppid=6502 pid=21864 auid=501 uid=490 gid=477 euid=490 suid=490 fsuid=490 egid=477 sgid=477 fsgid=477 tty=(none) ses=4 comm="acemd2_6.04_x86" exe="/var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86_64-pc-linux-gnu__cuda" subj=unconfined_u:system_r:boinc_project_t:s0 key=(null)



Hash String generated from  catchall,acemd2_6.04_x86,boinc_project_t,etc_t,file,getattr
audit2allow suggests:

#============= boinc_project_t ==============
allow boinc_project_t etc_t:file getattr;

Comment 1 Daniel Walsh 2010-08-21 10:50:05 UTC
*** Bug 625960 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-08-24 11:41:06 UTC
Fixed in selinux-policy-3.7.19-50.fc13

Comment 3 Fedora Update System 2010-08-25 15:35:47 UTC
selinux-policy-3.7.19-51.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-51.fc13

Comment 4 Fedora Update System 2010-08-26 00:58:33 UTC
selinux-policy-3.7.19-51.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-51.fc13

Comment 5 Fedora Update System 2010-08-31 06:37:44 UTC
selinux-policy-3.7.19-51.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.