Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1377047 - SELinux is preventing vboxdrv.sh from 'create' accesses on the file vbox-install.log.
Summary: SELinux is preventing vboxdrv.sh from 'create' accesses on the file vbox-inst...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d6b53ff203fa077bd9359a25599...
: 1381179 1624595 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-18 01:13 UTC by Raffaello Bertini
Modified: 2018-09-04 16:13 UTC (History)
39 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 19:05:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Raffaello Bertini 2016-09-18 01:13:59 UTC
Description of problem:
start virtual box service
SELinux is preventing vboxdrv.sh from 'create' accesses on the file vbox-install.log.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that vboxdrv.sh should be allowed create access on the vbox-install.log file 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:
# ausearch -c 'vboxdrv.sh' --raw | audit2allow -M my-vboxdrvsh
# semodule -X 300 -i my-vboxdrvsh.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:var_log_t:s0
Target Objects                vbox-install.log [ file ]
Source                        vboxdrv.sh
Source Path                   vboxdrv.sh
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.14.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.7.3-200.fc24.x86_64 #1 SMP Wed
                              Sep 7 17:31:21 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-09-18 02:05:39 BST
Last Seen                     2016-09-18 02:05:39 BST
Local ID                      7ea8b55d-2480-4531-b126-1b158e155a28

Raw Audit Messages
type=AVC msg=audit(1474160739.945:146): avc:  denied  { create } for  pid=1379 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=0


Hash: vboxdrv.sh,init_t,var_log_t,file,create

Version-Release number of selected component:
selinux-policy-3.13.1-191.14.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.3-200.fc24.x86_64
type:           libreport

Comment 1 babak keshavarz 2016-09-22 04:59:36 UTC
Description of problem:
when i open the Vivaldi	browser 1.4.589.15 (Stable channel) (32-bit)

Version-Release number of selected component:
selinux-policy-3.13.1-191.14.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.3-200.fc24.i686+PAE
type:           libreport

Comment 2 Fedora Admin XMLRPC Client 2016-09-27 15:05:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 A. Lloyd Flanagan 2016-10-02 17:37:22 UTC
Description of problem:
Immediately upon login to gnome classic.

Version-Release number of selected component:
selinux-policy-3.13.1-191.16.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.5-200.fc24.x86_64
type:           libreport

Comment 4 Lukas Vrabec 2016-10-03 10:31:26 UTC
*** Bug 1381179 has been marked as a duplicate of this bug. ***

Comment 5 Raffaello Bertini 2016-11-06 15:22:26 UTC
Description of problem:
dnf upgrade

Version-Release number of selected component:
selinux-policy-3.13.1-191.18.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.7-200.fc24.x86_64
type:           libreport

Comment 6 Lukas Vrabec 2016-11-07 19:05:43 UTC
Virtualbox si not part of Official Fedora repo. Closing this issue as WONTFIX. Solution here is local policy module.

Comment 7 Danie de Jager 2016-11-14 07:34:16 UTC
*** Bug 1394660 has been marked as a duplicate of this bug. ***

Comment 8 Sam Song 2016-11-22 01:00:02 UTC
Description of problem:
install virtualbox-5.0
update the system
restart the system and the avc alert display

Version-Release number of selected component:
selinux-policy-3.13.1-191.20.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.7-200.fc24.x86_64
type:           libreport

Comment 9 Raffaello Bertini 2016-11-26 17:02:38 UTC
Description of problem:
boot up the system

Version-Release number of selected component:
selinux-policy-3.13.1-191.21.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.8-200.fc24.x86_64
type:           libreport

Comment 10 A. Lloyd Flanagan 2016-12-06 17:54:36 UTC
Description of problem:
Normal operation. Sorry no more details, but it can't write an install log? Really?

Version-Release number of selected component:
selinux-policy-3.13.1-191.21.fc24.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.10-300.fc25.x86_64
type:           libreport

Comment 11 Samyn 2017-02-21 13:17:21 UTC
Description of problem:
The problem has occured after a reboot, to start the new kernel version after upgrade. 

Version-Release number of selected component:
selinux-policy-3.13.1-225.6.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.10-200.fc25.x86_64
type:           libreport

Comment 12 Dino Conti 2017-02-28 06:13:54 UTC
Description of problem:
on startup of laptop

Version-Release number of selected component:
selinux-policy-3.13.1-225.10.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.11-200.fc25.x86_64
type:           libreport

Comment 13 Dino Conti 2017-02-28 06:33:54 UTC
Description of problem:
showed up after updates and restart

Version-Release number of selected component:
selinux-policy-3.13.1-225.10.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.12-200.fc25.x86_64
type:           libreport

Comment 14 Alessio 2017-02-28 11:32:46 UTC
Description of problem:
This problem appears once logged in.

Version-Release number of selected component:
selinux-policy-3.13.1-225.10.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.12-200.fc25.x86_64
type:           libreport

Comment 15 Albert 2017-02-28 19:49:45 UTC
Description of problem:
I have updated the release with last released by the command >dnf -y update .
After the update the virtualbox doesn't run ,the virtualbox 5.1.14 in one pop-up informed   run  '/sbin/vboxconfig' .
when  I have run this command on the display :
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why
dmesg =
[  625.056827] audit: type=1305 audit(1488310436.051:265): audit_pid=0 old=870 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[  625.058344] audit: type=1130 audit(1488310436.052:266): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  625.058370] audit: type=1131 audit(1488310436.052:267): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  626.069096] audit: type=1305 audit(1488310437.063:268): audit_enabled=1 old=1 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[  626.069112] audit: type=1305 audit(1488310437.063:269): audit_pid=25388 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1

Version-Release number of selected component:
selinux-policy-3.13.1-225.10.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.9.11-200.fc25.x86_64
type:           libreport

Comment 16 Andre Costa 2017-06-12 12:28:58 UTC
Description of problem:
This was part of the regular boot process. I had installed a new kernel before the reboot.

Version-Release number of selected component:
selinux-policy-3.13.1-225.16.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.11.3-202.fc25.x86_64
type:           libreport

Comment 17 Francisco 2017-06-23 02:25:15 UTC
Description of problem:
gparted no open.

Version-Release number of selected component:
selinux-policy-3.13.1-225.16.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.11.5-200.fc25.x86_64
type:           libreport

Comment 18 krp 2017-09-15 07:13:30 UTC
Description of problem:
I tried to update via
sudo dnf update

And after reboot i have message from SELinux

Version-Release number of selected component:
selinux-policy-3.13.1-225.22.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.12.11-200.fc25.x86_64
type:           libreport

Comment 19 Lukas Vrabec 2018-09-04 16:13:44 UTC
*** Bug 1624595 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.