Bug 796935 - SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'remove_name' accesses on the dossier BOINC_VM.vbox.
Summary: SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'remove_name' accesses...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eaab4b20244af0eba7e509944b2...
: 796936 796938 796940 797400 797401 797403 797432 797433 797436 802136 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-23 21:58 UTC by Pascal94
Modified: 2012-04-22 03:36 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-84.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-22 03:36:40 UTC
Type: ---


Attachments (Terms of Use)

Description Pascal94 2012-02-23 21:58:17 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/VBoxSVC from 'remove_name' accesses on the dossier BOINC_VM.vbox.
time:           jeu. 23 févr. 2012 22:58:07 CET

description:
:SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'remove_name' accesses on the dossier BOINC_VM.vbox.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that VBoxSVC should be allowed remove_name access on the BOINC_VM.vbox directory 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 VBoxSVC /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:object_r:boinc_var_lib_t:s0
:Target Objects                BOINC_VM.vbox [ dir ]
:Source                        VBoxSVC
:Source Path                   /usr/lib/virtualbox/VBoxSVC
: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                   9
:First Seen                    jeu. 23 févr. 2012 20:18:18 CET
:Last Seen                     jeu. 23 févr. 2012 22:48:26 CET
:Local ID                      058f287b-13b8-4367-b9ec-955b5f0fea24
:
:Raw Audit Messages
:type=AVC msg=audit(1330033706.269:225): avc:  denied  { remove_name } for  pid=3972 comm="VBoxSVC" name="BOINC_VM.vbox" dev=sda1 ino=798732 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1330033706.269:225): avc:  denied  { rename } for  pid=3972 comm="VBoxSVC" name="BOINC_VM.vbox" dev=sda1 ino=798732 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=file
:
:
:type=AVC msg=audit(1330033706.269:225): avc:  denied  { unlink } for  pid=3972 comm="VBoxSVC" name="BOINC_VM.vbox-prev" dev=sda1 ino=798728 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1330033706.269:225): arch=x86_64 syscall=rename success=yes exit=0 a0=7fd914021510 a1=7fd92c154720 a2=7fd92c153500 a3=422f4d565f434e49 items=0 ppid=1 pid=3972 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VBoxSVC exe=/usr/lib/virtualbox/VBoxSVC subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: VBoxSVC,boinc_project_t,boinc_var_lib_t,dir,remove_name
:
:audit2allow
:
:#============= boinc_project_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow boinc_project_t boinc_var_lib_t:dir remove_name;
:#!!!! This avc is allowed in the current policy
:
:allow boinc_project_t boinc_var_lib_t:file { rename unlink };
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow boinc_project_t boinc_var_lib_t:dir remove_name;
:#!!!! This avc is allowed in the current policy
:
:allow boinc_project_t boinc_var_lib_t:file { rename unlink };
:

Comment 1 Miroslav Grepl 2012-02-27 09:03:39 UTC
Pascal, 
what projects does it cause? 

I would like to see what is wrong and why there is boinc_var_lib_t instead of boinc_project_var_lib_t.

Comment 2 Miroslav Grepl 2012-02-27 09:04:05 UTC
*** Bug 796936 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2012-02-27 09:04:38 UTC
*** Bug 796938 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-02-27 09:04:50 UTC
*** Bug 796940 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2012-02-27 09:05:25 UTC
*** Bug 797432 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2012-02-27 09:05:33 UTC
*** Bug 797433 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2012-02-27 09:06:47 UTC
*** Bug 797436 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2012-02-27 09:07:47 UTC
*** Bug 797400 has been marked as a duplicate of this bug. ***

Comment 9 Miroslav Grepl 2012-02-27 09:08:06 UTC
*** Bug 797401 has been marked as a duplicate of this bug. ***

Comment 10 Miroslav Grepl 2012-02-27 10:01:50 UTC
*** Bug 797403 has been marked as a duplicate of this bug. ***

Comment 11 Pascal94 2012-02-27 17:41:10 UTC
Hi Miroslav,

The project wich uses VirtualBox with Boinc is Test4Theory : http://lhcathome2.cern.ch/test4theory/

Comment 12 Miroslav Grepl 2012-03-12 08:07:56 UTC
*** Bug 802136 has been marked as a duplicate of this bug. ***

Comment 13 Miroslav Grepl 2012-03-16 11:10:21 UTC
Fixed in selinux-policy-3.10.0-81.fc16

Comment 14 Fedora Update System 2012-04-18 12:54:31 UTC
selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16

Comment 15 Fedora Update System 2012-04-22 03:36:40 UTC
selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 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.