Bug 1359927
| Summary: | SELinux is preventing vboxdrv.sh from 'open' accesses on the file /etc/udev/rules.d/60-vboxdrv.rules. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mrummuka <mrummuka> |
| 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: | 24 | CC: | alfedoraso, awrhodes9723, devin, dominick.grift, dwalsh, iv.istvan.varga, joelesalas, lvrabec, mgrepl, plautrba, raffaellobertini |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:0b601b4a27aad2fd83abfe469d8a6a1f904d3398d71a036f7b8280aa969b1180;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-30 12:12:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
mrummuka
2016-07-25 19:44:39 UTC
*** Bug 1360153 has been marked as a duplicate of this bug. *** Description of problem: I downloaded virtualbox from Oracle's website and installed via gnome software center. After opening it, I set up an arch vm and tried to run it. SELinux threw an error preventing virtual box from reading or writing a config file. SELinux gave a workaround that I followed: # ausearch -c 'vboxdrv.sh' --raw | audit2allow -M my-vboxdrvsh # semodule -X 300 -i my-vboxdrvsh.pp However it fails everytime I try it (as root) and I cannot get virtualbox to reconfigure the file. Version-Release number of selected component: selinux-policy-3.13.1-191.8.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.4-301.fc24.x86_64 type: libreport Description of problem: Attempted to install VirtualBox 5.1 from the Oracle yum repositories. The driver/module setup seems to trigger this SELinux problem. Version-Release number of selected component: selinux-policy-3.13.1-191.8.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.5-300.fc24.x86_64 type: libreport (In reply to Alex Rhodes from comment #2) > Description of problem: > I downloaded virtualbox from Oracle's website and installed via gnome > software center. > After opening it, I set up an arch vm and tried to run it. SELinux threw an > error preventing virtual box from reading or > writing a config file. > SELinux gave a workaround that I followed: > # ausearch -c 'vboxdrv.sh' --raw | audit2allow -M my-vboxdrvsh > # semodule -X 300 -i my-vboxdrvsh.pp > However it fails everytime I try it (as root) and I cannot get virtualbox to > reconfigure the file. > > Version-Release number of selected component: > selinux-policy-3.13.1-191.8.fc24.noarch > > Additional info: > reporter: libreport-2.7.2 > hashmarkername: setroubleshoot > kernel: 4.6.4-301.fc24.x86_64 > type: libreport Try `dnf remove -y VirtualBox-5.1` then set SELinux to permissive with `setenforce 0`. Now reinstall with `dnf install -y path/to/rpm` and it'll create the file. Description of problem: I can't run one S.O. in VirtualBox when I run a S.O. SELinux stop it Version-Release number of selected component: selinux-policy-3.13.1-191.8.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.5.5-300.fc24.x86_64 type: libreport Description of problem: the rpm package should set up the required policy for vboxdrv.sh Version-Release number of selected component: selinux-policy-3.13.1-191.13.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.7-300.fc24.x86_64 type: libreport Description of problem: /sbin/vbconfigure Version-Release number of selected component: selinux-policy-3.13.1-191.13.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.6.7-300.fc24.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1358950 *** |