Bug 531867

Summary: SELinux is preventing /usr/bin/metacity "module_request" access.
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:f10b5280a6ce1c4443d9b9a114308c6a1798eb101377d43cb4200385a960b9c5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-29 18:19:53 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 Jóhann B. Guðmundsson 2009-10-29 17:23:26 UTC
Summary:

SELinux is preventing /usr/bin/metacity "module_request" access.

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://fedora.redhat.com/docs/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:kernel_t:s0
Target Objects                None [ system ]
Source                        canberra-gtk-pl
Source Path                   /usr/bin/canberra-gtk-play
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           metacity-2.28.0-6.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-35.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-104.fc12.i686
                              #1 SMP Wed Oct 28 03:07:25 EDT 2009 i686 i686
Alert Count                   21
First Seen                    Tue 20 Oct 2009 10:43:13 AM GMT
Last Seen                     Thu 29 Oct 2009 05:20:55 PM GMT
Local ID                      e2acb3f1-0218-43ed-9512-941f6768b297
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1256836855.278:11): avc:  denied  { module_request } for  pid=1290 comm="metacity" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1256836855.278:11): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=b20ff030 a2=7a8208 a3=b1500a48 items=0 ppid=1232 pid=1290 auid=4294967295 uid=42 gid=481 euid=42 suid=42 fsuid=42 egid=481 sgid=481 fsgid=481 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  selinux-policy-3.6.32-35.fc12,catchall,canberra-gtk-pl,xdm_t,kernel_t,system,module_request
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t kernel_t:system module_request;

Comment 1 Daniel Walsh 2009-10-29 18:19:53 UTC

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