Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 199891 - Metacity fails to start with message [ error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Permission denied ]
Summary: Metacity fails to start with message [ error while loading shared libraries: ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-07-24 03:33 UTC by Wade Mealing
Modified: 2014-06-18 09:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-26 17:45:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wade Mealing 2006-07-24 03:33:29 UTC
Description of problem:

Upgraded to rawhide as of yesterday ( Monday, July 24 2006 ).  Rebooted system
today and metacity wont start.


Version-Release number of selected component (if applicable):
metacity-2.15.5-6.1
mesa-libGL-6.5-13.1
selinux-policy-2.3.3-9


How reproducible:
Every time

Steps to Reproduce:
1. Enable selinux in targeted policy.
2. reboot machine
3. Use gdm to log in to a user that would start the metacity window manager.
  
Actual results:

Metacity fails to start, messages above were shown by starting metacity from
failsafe terminal.

Expected results:

Metacity to start

Additional info:

This is -NOT- the same as the other metacity bugs recently closed in rawhide.

Comment 1 Wade Mealing 2006-07-24 03:54:36 UTC
Messages recieved:

avc: denied { execmem} for pid=3023 comm="metacity"
scontext=user_u:system_r:unconfined_t:s0
tscontextuser_u:system_r:unconfined_t:s0 tclass=process

metacity: error while loading shared libraries: libGL.so.1: failed to map
segment from shared object: Permission denied



Comment 2 Daniel Walsh 2006-07-24 14:53:50 UTC

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

Comment 3 Wade Mealing 2006-07-25 02:08:40 UTC
This is not a duplicate of this bug, note that the avc messages are different,
the error messages are different, and the follow on bug that , the bug that it
is pointed to ( https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188401 )
says it is fixed in rawhide.

I am running versions that are greater than the versions mentioned in that bug,
and the problem still persists.



Comment 4 Adam Jackson 2006-07-26 17:45:31 UTC
Fixed in 6.5-19 or better.

The problem was with how TLS dispatch was implemented.  It used a writable text
section to reduce the textrel cost, but selinux doesn't allow that.  Switching
back to non-TLS dispatch fixes it for now.


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