Bug 566997

Summary: SELinux is preventing /usr/bin/metacity "connectto" access on /var/run/pulse/native.
Product: [Fedora] Fedora Reporter: M J <login>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:f7fabd7d111cb7093828f9805c5dd11ce13e928fd638f4ecf03a511e67a78c06
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-22 10:35:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description M J 2010-02-21 00:05:49 UTC
Summary:

SELinux is preventing /usr/bin/metacity "connectto" access on
/var/run/pulse/native.

Detailed Description:

SELinux denied access requested by metacity. It is not expected that this access
is required by metacity and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:system_r:initrc_t:s0
Target Objects                /var/run/pulse/native [ unix_stream_socket ]
Source                        canberra-gtk-pl
Source Path                   /usr/bin/canberra-gtk-play
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           metacity-2.28.0-14.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-89.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1
                              SMP Wed Dec 9 11:00:30 EST 2009 i686 i686
Alert Count                   2
First Seen                    Sat 20 Feb 2010 05:04:05 PM MST
Last Seen                     Sat 20 Feb 2010 05:04:08 PM MST
Local ID                      a69410d7-c0c6-4f06-814d-296807467ac3
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1266710648.333:10): avc:  denied  { connectto } for  pid=1558 comm="metacity" path="/var/run/pulse/native" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket

node=(removed) type=SYSCALL msg=audit(1266710648.333:10): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bf927010 a2=5f9e208 a3=8418dc8 items=0 ppid=1528 pid=1558 auid=4294967295 uid=42 gid=475 euid=42 suid=42 fsuid=42 egid=475 sgid=475 fsgid=475 tty=(none) ses=4294967295 comm="metacity" exe="/usr/bin/metacity" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,canberra-gtk-pl,xdm_t,initrc_t,unix_stream_socket,connectto
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t initrc_t:unix_stream_socket connectto;

Comment 1 Miroslav Grepl 2010-02-22 10:35:15 UTC

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