Bug 796940

Summary: SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'read' accesses on the dossier /dev/pts.
Product: [Fedora] Fedora Reporter: Pascal94 <306power>
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: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c8c34ee220b8e44ecb8fd52f6caf3494db5c0b416e45b6251ca569b53849698f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-27 09:04:50 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 Pascal94 2012-02-23 22:03:58 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.7-1.fc16.x86_64
reason:         SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'read' accesses on the dossier /dev/pts.
time:           jeu. 23 févr. 2012 23:03:44 CET

description:
:SELinux is preventing /usr/lib/virtualbox/VBoxSVC from 'read' accesses on the dossier /dev/pts.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that VBoxSVC should be allowed read access on the pts directory 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 VBoxSVC /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:boinc_project_t:s0
:Target Context                system_u:object_r:devpts_t:s0
:Target Objects                /dev/pts [ dir ]
:Source                        VBoxSVC
:Source Path                   /usr/lib/virtualbox/VBoxSVC
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           VirtualBox-4.1-4.1.8_75467_fedora16-1.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux CM-ELITE-341 3.2.7-1.fc16.x86_64 #1 SMP Tue
:                              Feb 21 01:40:47 UTC 2012 x86_64 x86_64
:Alert Count                   3
:First Seen                    jeu. 23 févr. 2012 22:40:43 CET
:Last Seen                     jeu. 23 févr. 2012 22:48:18 CET
:Local ID                      e2edcacc-2f8c-42c6-a9b3-fb3308e22980
:
:Raw Audit Messages
:type=AVC msg=audit(1330033698.952:221): avc:  denied  { read } for  pid=3927 comm="VBoxSVC" name="/" dev=devpts ino=1 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1330033698.952:221): avc:  denied  { open } for  pid=3927 comm="VBoxSVC" name="/" dev=devpts ino=1 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1330033698.952:221): arch=x86_64 syscall=openat success=yes exit=EXDEV a0=ffffffffffffff9c a1=7fd92000e040 a2=90800 a3=0 items=0 ppid=1 pid=3927 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=VBoxSVC exe=/usr/lib/virtualbox/VBoxSVC subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: VBoxSVC,boinc_project_t,devpts_t,dir,read
:
:audit2allow
:
:#============= boinc_project_t ==============
:allow boinc_project_t devpts_t:dir { read open };
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:allow boinc_project_t devpts_t:dir { read open };
:

Comment 1 Miroslav Grepl 2012-02-27 09:04:50 UTC

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