Bug 188401 - metacity no longer starts with selinux in enforcing mode
Summary: metacity no longer starts with selinux in enforcing mode
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa   
(Show other bugs)
Version: rawhide
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: X/OpenGL Maintenance List
: 188069 188295 189354 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2006-04-09 03:19 UTC by Christopher Aillon
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version: mesa-libGL-6.5-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-11 18:32:15 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Christopher Aillon 2006-04-09 03:19:38 UTC
% metacity &
% metacity: error while loading shared libraries: libGL.so.1: cannot enable
executable stack as shared object requires: Permission denied

[1]  + exit 127   metacity

Version-Release number of selected component (if applicable):


How reproducible: ALWAYS

Steps to Reproduce:
1. Enable selinux
2. Start metacity

Actual results:
It fails to load, with selinux avc messages denying it

Expected results:
Sexy window management

Additional info:

Apr  8 19:12:07 anduin kernel audit(1144537927.494:219)  avc: denied  {
execstack }  for pid=3006 comm="metacity"
tcontext=user_u:system_r:unconfined_t:s0 tclass=process

Comment 1 Christopher Aillon 2006-04-10 19:46:52 UTC
Appears to be a mesa issue.  I think this can be solved by adding 

   .section .note.GNU-stack, "", @progbits ; .previous

to the x86-64 assembly code generated in src/mesa/glapi/gl_x86-64_asm.py

Comment 2 Christopher Aillon 2006-04-11 18:32:15 UTC
krh added the above bits and this is now fixed in today's mesa update.

Comment 3 Christopher Aillon 2006-04-11 18:33:06 UTC
*** Bug 188069 has been marked as a duplicate of this bug. ***

Comment 4 Christopher Aillon 2006-04-11 18:33:26 UTC
*** Bug 188295 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Walsh 2006-04-19 14:29:43 UTC
*** Bug 189354 has been marked as a duplicate of this bug. ***

Comment 6 W. Michael Petullo 2006-04-30 17:27:08 UTC
Confirmed fixed with:


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