Bug 625446 - SELinux is preventing /usr/bin/boinc_client "sigkill" access .
Summary: SELinux is preventing /usr/bin/boinc_client "sigkill" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3cd0eb178ad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-19 13:28 UTC by Bruce Cowan
Modified: 2010-08-30 09:42 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.7.19-49.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-24 21:13:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruce Cowan 2010-08-19 13:28:24 UTC
Summary:

SELinux is preventing /usr/bin/boinc_client "sigkill" access .

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:s0
Target Context                system_u:system_r:boinc_project_t:s0
Target Objects                None [ process ]
Source                        boinc_client
Source Path                   /usr/bin/boinc_client
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           boinc-client-6.10.45-1.r21128svn.fc13
Target RPM Packages           
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                    Wed 18 Aug 2010 20:53:45 BST
Last Seen                     Wed 18 Aug 2010 22:12:12 BST
Local ID                      9d01615d-1894-4fba-b227-154afa175e23
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1282165932.856:63): avc:  denied  { sigkill } for  pid=1705 comm="boinc_client" scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:boinc_project_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1282165932.856:63): arch=c000003e syscall=62 success=yes exit=0 a0=180d a1=9 a2=2 a3=73775f78616d2f3c items=0 ppid=1 pid=1705 auid=4294967295 uid=492 gid=482 euid=492 suid=492 fsuid=492 egid=482 sgid=482 fsgid=482 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,boinc_project_t,process,sigkill
audit2allow suggests:

#============= boinc_t ==============
allow boinc_t boinc_project_t:process sigkill;

Comment 1 Miroslav Grepl 2010-08-20 09:12:13 UTC
You can add these rules for now using

grep boinc_t /var/log/audit/audit.log | audit2allow -M myboinc
semodule -i myboic.pp

Comment 2 Miroslav Grepl 2010-08-20 11:54:12 UTC
Fixed in selinux-policy-3.7.19-49.fc13

Comment 3 Fedora Update System 2010-08-20 13:02:13 UTC
selinux-policy-3.7.19-49.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-49.fc13

Comment 4 Fedora Update System 2010-08-21 04:33:57 UTC
selinux-policy-3.7.19-49.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-49.fc13

Comment 5 Fedora Update System 2010-08-24 21:12:45 UTC
selinux-policy-3.7.19-49.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.