Bug 796938

Summary: SELinux is preventing /usr/lib/virtualbox/VirtualBox from using the 'setcap' accesses on a process.
Product: [Fedora] Fedora Reporter: Pascal94 <306power>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:beae88de7a05ab00c16595734a9c628e0c56cde868ab0172b32c1c20e9097ae8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-27 09:04:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pascal94 2012-02-23 22:01:31 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.x86_64
reason:         SELinux is preventing /usr/lib/virtualbox/VirtualBox from using the 'setcap' accesses on a process.
time:           jeu. 23 févr. 2012 23:01:22 CET

description:
:SELinux is preventing /usr/lib/virtualbox/VirtualBox from using the 'setcap' accesses on a process.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that VirtualBox should be allowed setcap access on processes labeled boinc_project_t by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep VirtualBox /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:boinc_project_t:s0
:Target Context                system_u:system_r:boinc_project_t:s0
:Target Objects                 [ process ]
:Source                        VirtualBox
:Source Path                   /usr/lib/virtualbox/VirtualBox
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           VirtualBox-4.1-4.1.8_75467_fedora16-1.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux CM-ELITE-341 3.2.7-1.fc16.x86_64 #1 SMP Tue
:                              Feb 21 01:40:47 UTC 2012 x86_64 x86_64
:Alert Count                   4
:First Seen                    jeu. 23 févr. 2012 21:11:30 CET
:Last Seen                     jeu. 23 févr. 2012 22:48:25 CET
:Local ID                      3aca51f4-1e9d-40ec-be41-dd361a250912
:
:Raw Audit Messages
:type=AVC msg=audit(1330033705.99:223): avc:  denied  { setcap } for  pid=4177 comm="VirtualBox" scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:system_r:boinc_project_t:s0 tclass=process
:
:
:type=SYSCALL msg=audit(1330033705.99:223): arch=x86_64 syscall=capset success=yes exit=0 a0=7fff182775f0 a1=7fff182775d0 a2=1 a3=22 items=0 ppid=3920 pid=4177 auid=4294967295 uid=993 gid=990 euid=0 suid=0 fsuid=0 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VirtualBox exe=/usr/lib/virtualbox/VirtualBox subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: VirtualBox,boinc_project_t,boinc_project_t,process,setcap
:
:audit2allow
:
:#============= boinc_project_t ==============
:allow boinc_project_t self:process setcap;
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:allow boinc_project_t self:process setcap;
:

Comment 1 Miroslav Grepl 2012-02-27 09:04:38 UTC

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