Bug 967645 - SELinux is preventing /usr/bin/bash from 'create' accesses on the file vboxadd-service.
Summary: SELinux is preventing /usr/bin/bash from 'create' accesses on the file vboxad...
Keywords:
Status: CLOSED DUPLICATE of bug 966544
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:90e0549baa6f7a3ff653e2dce92...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-27 18:46 UTC by Moez Roy
Modified: 2013-05-28 11:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-28 11:05:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2013-05-27 18:46:07 UTC
Description of problem:
SELinux is preventing /usr/bin/bash from 'create' accesses on the file vboxadd-service.

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

If you believe that bash should be allowed create access on the vboxadd-service 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:
# grep vboxadd-service /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:var_lock_t:s0
Target Objects                vboxadd-service [ file ]
Source                        vboxadd-service
Source Path                   /usr/bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.2.45-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-44.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.9.4-300.fc19.x86_64 #1 SMP Fri
                              May 24 22:17:06 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-05-27 14:43:06 EDT
Last Seen                     2013-05-27 14:43:06 EDT
Local ID                      3bd8c8ab-81a3-4c08-968b-cd690cbd4f85

Raw Audit Messages
type=AVC msg=audit(1369680186.678:31): avc:  denied  { create } for  pid=395 comm="vboxadd-service" name="vboxadd-service" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file


type=SYSCALL msg=audit(1369680186.678:31): arch=x86_64 syscall=open success=no exit=EACCES a0=ba61d0 a1=241 a2=1b6 a3=0 items=0 ppid=1 pid=395 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=vboxadd-service exe=/usr/bin/bash subj=system_u:system_r:init_t:s0 key=(null)

Hash: vboxadd-service,init_t,var_lock_t,file,create

Additional info:
reporter:       libreport-2.1.4
hashmarkername: setroubleshoot
kernel:         3.9.4-300.fc19.x86_64
type:           libreport

Potential duplicate: bug 966544

Comment 1 Miroslav Grepl 2013-05-28 11:05:23 UTC

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


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