Bug 1451479 - virtualbox needs more selinux privileges
Summary: virtualbox needs more selinux privileges
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-16 18:27 UTC by David Hill
Modified: 2017-11-20 16:57 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-3.13.1-283.16.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-20 16:57:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Hill 2017-05-16 18:27:38 UTC
Description of problem:

virtualbox needs more selinux privileges


[root@otto devel]# cat /var/log/audit/audit.log  | grep denied | grep vbox
type=AVC msg=audit(1492297378.201:112): avc:  denied  { create } for  pid=1193 comm="vboxdrv.sh" name="vbox-install.log" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file permissive=1


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install rawhide
2. Install virtualbox
3. Reboot and wait for vboxdrv.sh to do some nasty things while booting up

Actual results:
selinux blocks it

Expected results:
selinux should allow it or oracle should fix it.

Additional info:

Comment 1 Jan Kurik 2017-08-15 09:28:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 2 John Freed 2017-10-01 07:19:35 UTC
I believe this is a duplicate of the more specific bug #1471296

Still a problem.

Comment 3 Lukas Vrabec 2017-10-03 14:34:15 UTC
Hi, 

Could you try following: 

# chcon -t bin_t /etc/init.d/vboxdrv

And then reproduce the scenario? 

Thanks,
Lukas.

Comment 5 Fedora Update System 2017-11-16 15:13:26 UTC
selinux-policy-3.13.1-283.16.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393

Comment 6 Fedora Update System 2017-11-17 18:56:57 UTC
selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5178e6a393

Comment 7 Fedora Update System 2017-11-20 16:57:15 UTC
selinux-policy-3.13.1-283.16.fc27 has been pushed to the Fedora 27 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.