Bug 625960 - SELinux is preventing /var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86_64-pc-linux-gnu__cuda "read" access on /etc/nsswitch.conf.
Summary: SELinux is preventing /var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86...
Keywords:
Status: CLOSED DUPLICATE of bug 625961
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:40e3111e5e4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 23:54 UTC by Daniel Stripes
Modified: 2010-08-21 10:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-21 10:50:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Stripes 2010-08-20 23:54:43 UTC
Summary:

SELinux is preventing
/var/lib/boinc/projects/www.gpugrid.net/acemd2_6.04_x86_64-pc-linux-gnu__cuda
"read" 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                   6
First Seen                    Fri 20 Aug 2010 12:04:02 PM EDT
Last Seen                     Fri 20 Aug 2010 06:58:40 PM EDT
Local ID                      228c5f1e-aa34-4aa3-a9fe-c5601c26fea2
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282345120.863:29979): avc:  denied  { read } for  pid=21864 comm="acemd2_6.04_x86" name="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=AVC msg=audit(1282345120.863:29979): avc:  denied  { open } for  pid=21864 comm="acemd2_6.04_x86" name="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:29979): arch=c000003e syscall=2 success=yes exit=14 a0=3772542641 a1=0 a2=1b6 a3=2 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,read
audit2allow suggests:

#============= boinc_project_t ==============
allow boinc_project_t etc_t:file { read open };

Comment 1 Daniel Walsh 2010-08-21 10:50:05 UTC

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


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