Bug 436820

Summary: too many AVC denials to make individuals bugs to
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ajax, mcepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-10 18:44:44 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:
Attachments:
Description Flags
/var/log/audit/audit.log none

Description Matěj Cepl 2008-03-10 17:21:16 UTC
Description of problem:
I have tried to run current Rawhide with SELinux enforcing and X crashes pretty
much everytime after no more than half an hour (now it is almost instant). When
reparsing /var/log/audit with sealert (file/scan logfile) I got A LOT of
different AVC denials.

So, although the primary reason why I have now problems with SELinux is that it
apparently crashes X (bug 436819).

Version-Release number of selected component (if applicable):
[matej@hubmaier ~]$ rpm -qa xorg-x11\*server\*
xorg-x11-server-debuginfo-1.4.99.1-0.23.20080222.fc9.x86_64
xorg-x11-server-common-1.4.99.901-1.20080307.fc9.x86_64
xorg-x11-server-Xorg-1.4.99.901-1.20080307.fc9.x86_64
xorg-x11-server-utils-7.3-3.fc9.x86_64
[matej@hubmaier ~]$ rpm -q selinux-policy-targeted
selinux-policy-targeted-3.3.1-12.fc9.noarch

Comment 1 Matěj Cepl 2008-03-10 17:21:17 UTC
Created attachment 297468 [details]
/var/log/audit/audit.log

Comment 2 Matěj Cepl 2008-03-10 17:22:54 UTC
needless to say is that I have pretty freshly relabelled hard disk.

Comment 3 Daniel Walsh 2008-03-10 18:44:44 UTC
Most of these AVC's are related to XWindows policy, which is really in it's
infancy.  Although it should not have crashed your xserver.

The only XServer AVC's I see are related to nsplugin.

I am updating policy tonight and I think the next version of xserver will remove
the ability to run xserver as an SELInux policy manager by default.

Fixed in selinux-policy-3.3.1-13.fc9