| Summary: | SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'add_name' accesses on the dossier .VirtualBox. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pascal94 <306power> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f519c89400afa46475efe86e8336fae1cf67a9830c9d575cb2be32b776a53923 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-16 14:45:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
What boinc project does it cause? *** This bug has been marked as a duplicate of bug 790949 *** Hi Miroslav, it is the Test4Theory project from CERN : http://lhcathome.web.cern.ch/LHCathome/Physics/ By the past, I did run this project with either VirtualBox and VirtualBox_OSE on Ubuntu. Now, I try to run this project on Fedora, with VirtualBox_OSE and/or VirtualBox. Here you can see the output of my workunits : http://lhcathome2.cern.ch/test4theory/results.php?hostid=14878 From my last workunit, here is the output of sudo /etc/init.d/vboxdrv setup : Stopping VirtualBox kernel modules [ OK ] Uninstalling old VirtualBox DKMS kernel modules [ OK ] Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.2.6-3.fc16.x86_64 (x86_64) Consult /var/lib/dkms/vboxhost/4.1.8/build/make.log for more information. [ÉCHOUÉ] (Failed, trying without DKMS) Recompiling VirtualBox kernel modules [ÉCHOUÉ] (Look at /var/log/vbox-install.log to find out what went wrong) bash-4.2$ |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.6-3.fc16.x86_64 reason: SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'add_name' accesses on the dossier .VirtualBox. time: mer. 15 févr. 2012 20:36:30 CET description: :SELinux is preventing /usr/lib64/virtualbox/VBoxManage from 'add_name' accesses on the dossier .VirtualBox. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that VBoxManage should be allowed add_name access on the .VirtualBox 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 VBoxManage /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 .VirtualBox [ dir ] :Source VBoxManage :Source Path /usr/lib64/virtualbox/VBoxManage :Port <Inconnu> :Host (removed) :Source RPM Packages VirtualBox-OSE-4.1.8-2.fc16.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.6-3.fc16.x86_64 #1 SMP Mon : Feb 13 20:35:42 UTC 2012 x86_64 x86_64 :Alert Count 9 :First Seen mer. 15 févr. 2012 20:35:29 CET :Last Seen mer. 15 févr. 2012 20:35:49 CET :Local ID 4b773377-fdfe-4b75-9a3c-005bbacec24b : :Raw Audit Messages :type=AVC msg=audit(1329334549.677:117): avc: denied { add_name } for pid=3165 comm="VBoxManage" name=".VirtualBox" scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1329334549.677:117): arch=x86_64 syscall=mkdir success=no exit=EACCES a0=7fff882f9650 a1=1ff a2=0 a3=7fff882f9310 items=0 ppid=2999 pid=3165 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VBoxManage exe=/usr/lib64/virtualbox/VBoxManage subj=system_u:system_r:boinc_project_t:s0 key=(null) : :Hash: VBoxManage,boinc_project_t,boinc_var_lib_t,dir,add_name : :audit2allow : :#============= boinc_project_t ============== :allow boinc_project_t boinc_var_lib_t:dir add_name; : :audit2allow -R : :#============= boinc_project_t ============== :allow boinc_project_t boinc_var_lib_t:dir add_name; :