Bug 1381179

Summary: SELinux is preventing vboxdrv.sh from 'create' accesses on the file vbox-install.log.
Product: [Fedora] Fedora Reporter: Alexander Mayorov <alexus_m>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: arturpolak1, dominick.grift, dwalsh, flydove, lvrabec, mgrepl, plautrba, pmoore, sami
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d6b53ff203fa077bd9359a2559988acdc3420cdc04ece0f02d28f2b9767ab9b8;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 10:31:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alexander Mayorov 2016-10-03 10:28:14 UTC
Description of problem:
SELinux is preventing vboxdrv.sh from 'create' accesses on the file vbox-install.log.

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

If вы считаете, что vboxdrv.sh следует разрешить доступ create к vbox-install.log file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
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-215.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-0.rc8.git0.1.fc25.x86_64 #1
                              SMP Mon Sep 26 17:12:24 UTC 2016 x86_64 x86_64
Alert Count                   17
First Seen                    2016-09-17 18:40:45 MSK
Last Seen                     2016-10-03 01:06:02 MSK
Local ID                      96820861-48af-49cc-8421-715043210422

Raw Audit Messages
type=AVC msg=audit(1475445962.512:205): avc:  denied  { create } for  pid=1446 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-215.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc8.git0.1.fc25.x86_64
type:           libreport

Potential duplicate: bug 1377047

Comment 1 Lukas Vrabec 2016-10-03 10:31:26 UTC

*** This bug has been marked as a duplicate of bug 1377047 ***

Comment 2 FlyDove 2017-02-28 06:56:25 UTC
*** Bug 1427410 has been marked as a duplicate of this bug. ***

Comment 3 arturpolak1 2017-03-22 08:23:37 UTC
*** Bug 1434700 has been marked as a duplicate of this bug. ***