Bug 664133 - SELinux is preventing /var/lib/boinc/projects/setiathome.berkeley.edu/setiathome-5.28.x86_64-pc-linux-gnu "search" access on .X11-unix.
Summary: SELinux is preventing /var/lib/boinc/projects/setiathome.berkeley.edu/setiath...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d037933cf03...
: 664134 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-18 14:37 UTC by avc4ge28
Modified: 2011-05-26 20:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-05-26 20:30:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description avc4ge28 2010-12-18 14:37:01 UTC
Summary:

SELinux is preventing
/var/lib/boinc/projects/setiathome.berkeley.edu/setiathome-5.28.x86_64-pc-linux-gnu
"search" access on .X11-unix.

Detailed Description:

[setiathome-5.28 has a permissive type (boinc_project_t). This access was not
denied.]

SELinux denied access requested by setiathome-5.28. It is not expected that this
access is required by setiathome-5.28 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_project_t:s0
Target Context                system_u:object_r:xdm_tmp_t:s0
Target Objects                .X11-unix [ dir ]
Source                        setiathome-5.28
Source Path                   /var/lib/boinc/projects/setiathome.berkeley.edu/se
                              tiathome-5.28.x86_64-pc-linux-gnu
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-16.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.9-64.fc14.x86_64 #1 SMP
                              Fri Dec 3 12:19:41 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Sat 18 Dec 2010 08:34:37 AM CST
Last Seen                     Sat 18 Dec 2010 08:34:37 AM CST
Local ID                      33999075-9cb7-40b4-b098-6948ac829e88
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1292682877.708:30): avc:  denied  { search } for  pid=2762 comm="setiathome-5.28" name=".X11-unix" dev=dm-0 ino=1310724 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1292682877.708:30): avc:  denied  { write } for  pid=2762 comm="setiathome-5.28" name="X0" dev=dm-0 ino=1310725 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=sock_file

node=(removed) type=AVC msg=audit(1292682877.708:30): avc:  denied  { connectto } for  pid=2762 comm="setiathome-5.28" path="/tmp/.X11-unix/X0" scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=SYSCALL msg=audit(1292682877.708:30): arch=c000003e syscall=42 success=yes exit=0 a0=8 a1=7fff6866a640 a2=13 a3=0 items=0 ppid=1438 pid=2762 auid=4294967295 uid=492 gid=487 euid=492 suid=492 fsuid=492 egid=487 sgid=487 fsgid=487 tty=(none) ses=4294967295 comm="setiathome-5.28" exe="/var/lib/boinc/projects/setiathome.berkeley.edu/setiathome-5.28.x86_64-pc-linux-gnu" subj=system_u:system_r:boinc_project_t:s0 key=(null)



Hash String generated from  catchall,setiathome-5.28,boinc_project_t,xdm_tmp_t,dir,search
audit2allow suggests:

#============= boinc_project_t ==============
allow boinc_project_t xdm_tmp_t:dir search;
allow boinc_project_t xdm_tmp_t:sock_file write;
allow boinc_project_t xserver_t:unix_stream_socket connectto;

Comment 1 avc4ge28 2010-12-18 14:49:09 UTC
 I clicked on applications tab, clicked on boinc manager core client gui. While a seti@home project was running I clicked on the show graphics command tab.

Comment 2 Miroslav Grepl 2010-12-20 10:13:44 UTC
Ok, I am also seeing it. 

avc4ge28,
does show graphics command tab work for you?

Comment 3 Miroslav Grepl 2010-12-20 10:14:14 UTC
*** Bug 664134 has been marked as a duplicate of this bug. ***


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