Bug 770242

Summary: SELinux is preventing /usr/lib/virtualbox/VBoxManage from write access on the fifo_file fifo_file
Product: [Fedora] Fedora Reporter: Germano Massullo <germano.massullo>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-26 22:41:20 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 Germano Massullo 2011-12-24 18:42:24 UTC
SELinux is preventing /usr/lib/virtualbox/VBoxManage from write access on the fifo_file fifo_file.

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

If you believe that VBoxManage should be allowed write access on the fifo_file fifo_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 VBoxManage /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Contesto della sorgente       system_u:system_r:boinc_t:s0
Contesto target               system_u:system_r:boinc_t:s0
Oggetti target                fifo_file [ fifo_file ]
Sorgente                      VBoxManage
Percorso della sorgente       /usr/lib/virtualbox/VBoxManage
Porta                         <Sconosciuto>
Host                          Portatile
Sorgente Pacchetti RPM        VirtualBox-4.1-4.1.6_74713_fedora16-1
Pacchetti RPM target          
RPM della policy              selinux-policy-3.10.0-67.fc16
Selinux abilitato             True
Tipo di policy                targeted
Modalità Enforcing            Permissive
Host Name                     Portatile
Piattaforma                   Linux Portatile 3.1.5-6.fc16.i686.PAE #1 SMP Thu
                              Dec 15 16:19:31 UTC 2011 i686 i686
Conteggio avvisi              1
Primo visto                   sab 24 dic 2011 19:40:20 CET
Ultimo visto                  sab 24 dic 2011 19:40:20 CET

Messaggi Raw Audit
type=AVC msg=audit(1324752020.958:3259728): avc:  denied  { write } for  pid=29420 comm="VBoxManage" path="pipe:[208184]" dev=pipefs ino=208184 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:boinc_t:s0 tclass=fifo_file


type=SYSCALL msg=audit(1324752020.958:3259728): arch=i386 syscall=write success=yes exit=ENOMEM a0=1 a1=b7564000 a2=c a3=b7564000 items=0 ppid=1096 pid=29420 auid=4294967295 uid=495 gid=491 euid=495 suid=495 fsuid=495 egid=491 sgid=491 fsgid=491 tty=(none) ses=4294967295 comm=VBoxManage exe=/usr/lib/virtualbox/VBoxManage subj=system_u:system_r:boinc_t:s0 key=(null)

Hash: VBoxManage,boinc_t,boinc_t,fifo_file,write

audit2allow

#============= boinc_t ==============
allow boinc_t self:fifo_file write;

audit2allow -R

#============= boinc_t ==============
allow boinc_t self:fifo_file write;

Comment 1 Miroslav Grepl 2011-12-26 22:41:20 UTC

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