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 1381179 - 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 DUPLICATE of bug 1377047
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d6b53ff203fa077bd9359a25599...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-03 10:28 UTC by Alexander Mayorov
Modified: 2018-02-25 20:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-03 10:31:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. ***


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