Bug 625961 - 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.
Summary: SELinux is preventing /var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:448d8e91bff...
: 625960 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-20 23:55 UTC by Daniel Stripes
Modified: 2010-08-31 06:38 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-51.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-31 06:38:56 UTC
Type: ---

Attachments (Terms of Use)

Description Daniel Stripes 2010-08-20 23:55:17 UTC

SELinux is preventing
"getattr" access on /etc/nsswitch.conf.

Detailed Description:

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

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

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
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)
                     #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.

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.

Note You need to log in before you can comment on or make changes to this bug.