Bug 521816

Summary: setroubleshoot: SELinux is preventing winemenubuilder (wine_t) "getattr" usr_t.
Product: [Fedora] Fedora Reporter: Antonio A. Olivares <olivares14031>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:c32b87d6a1774c1a12d7c558a19ce6c23e8a43d9103920732b843850c6fb1818
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-08 14:27:33 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 Antonio A. Olivares 2009-09-08 12:34:45 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing winemenubuilder (wine_t) "getattr" usr_t.

Detailed Description:

[winemenubuilder has a permissive type (wine_t). This access was not denied.]

SELinux denied access requested by winemenubuilder. It is not expected that this
access is required by winemenubuilder 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 (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Additional Information:

Source Context                unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Target Context                system_u:object_r:usr_t:s0
Target Objects                /usr/share/X11/XKeysymDB [ file ]
Source                        winemenubuilder
Source Path                   /usr/bin/wine-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           wine-core-1.1.26-1.fc12
Target RPM Packages           libX11-common-1.2.99-5.20090805.fc12
Policy RPM                    selinux-policy-3.6.28-5.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-0.162.rc6.git2.fc12.i686 #1 SMP Mon Aug 17
                              16:22:01 EDT 2009 i686 i686
Alert Count                   1
First Seen                    Mon 24 Aug 2009 12:01:09 PM CDT
Last Seen                     Mon 24 Aug 2009 12:01:09 PM CDT
Local ID                      10766347-c844-48be-9c0a-a0a235222758
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1251133269.387:159): avc:  denied  { getattr } for  pid=4710 comm="winemenubuilder" path="/usr/share/X11/XKeysymDB" dev=dm-0 ino=2990 scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usr_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1251133269.387:159): arch=40000003 syscall=197 success=yes exit=0 a0=a a1=33e77c a2=682d6ff4 a3=3 items=0 ppid=1 pid=4710 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="winemenubuilder" exe="/usr/bin/wine-preloader" subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= wine_t ==============
allow wine_t usr_t:file getattr;

Comment 1 Daniel Walsh 2009-09-08 14:27:33 UTC

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