Bug 748097 - SELinux is preventing /usr/lib64/vte-2.90/gnome-pty-helper from read, write access on the chr_file ptmx.
Summary: SELinux is preventing /usr/lib64/vte-2.90/gnome-pty-helper from read, write a...
Keywords:
Status: CLOSED DUPLICATE of bug 748085
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:64fa1e7b2409fa37d03aca6d982...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 01:25 UTC by James Cape
Modified: 2011-10-24 05:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-24 05:42:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Cape 2011-10-22 01:25:35 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         SELinux is preventing /usr/lib64/vte-2.90/gnome-pty-helper from read, write access on the chr_file ptmx.
time:           Fri Oct 21 20:25:26 2011

description:
:SELinux is preventing /usr/lib64/vte-2.90/gnome-pty-helper from read, write access on the chr_file ptmx.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gnome-pty-helper should be allowed read write access on the ptmx chr_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 gnome-pty-helpe /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:ptmx_t:s0
:Target Objects                ptmx [ chr_file ]
:Source                        gnome-pty-helpe
:Source Path                   /usr/lib64/vte-2.90/gnome-pty-helper
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           vte3-0.30.1-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-40.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux orwell.ignore-your.tv
:                              3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19
:                              05:02:17 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 21 Oct 2011 08:23:13 PM CDT
:Last Seen                     Fri 21 Oct 2011 08:23:13 PM CDT
:Local ID                      f4a7e8f6-0757-4eea-8a67-36065fdd9751
:
:Raw Audit Messages
:type=AVC msg=audit(1319246593.864:415): avc:  denied  { read write } for  pid=4799 comm="gnome-pty-helpe" name="ptmx" dev=devtmpfs ino=1122 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ptmx_t:s0 tclass=chr_file
:
:
:type=AVC msg=audit(1319246593.864:415): avc:  denied  { open } for  pid=4799 comm="gnome-pty-helpe" name="ptmx" dev=devtmpfs ino=1122 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ptmx_t:s0 tclass=chr_file
:
:
:type=SYSCALL msg=audit(1319246593.864:415): arch=x86_64 syscall=open success=yes exit=ESRCH a0=7ff2515df28d a1=2 a2=0 a3=7fff11504b60 items=0 ppid=4794 pid=4799 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=22 fsgid=1000 tty=(none) ses=4294967295 comm=gnome-pty-helpe exe=/usr/lib64/vte-2.90/gnome-pty-helper subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: gnome-pty-helpe,xdm_t,ptmx_t,chr_file,read,write
:
:audit2allow
:
:#============= xdm_t ==============
:#!!!! The source type 'xdm_t' can write to a 'chr_file' of the following types:
:# event_device_t, console_device_t, sound_device_t, xserver_misc_device_t, null_device_t, zero_device_t, agp_device_t, apm_bios_t, usb_device_t, devtty_t, virtio_device_t, v4l_device_t, tty_device_t, zero_device_t, dri_device_t
:
:allow xdm_t ptmx_t:chr_file { read write open };
:
:audit2allow -R
:
:#============= xdm_t ==============
:#!!!! The source type 'xdm_t' can write to a 'chr_file' of the following types:
:# event_device_t, console_device_t, sound_device_t, xserver_misc_device_t, null_device_t, zero_device_t, agp_device_t, apm_bios_t, usb_device_t, devtty_t, virtio_device_t, v4l_device_t, tty_device_t, zero_device_t, dri_device_t
:
:allow xdm_t ptmx_t:chr_file { read write open };
:

Comment 1 Miroslav Grepl 2011-10-24 05:42:40 UTC

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


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