Bug 642673
| Summary: | SELinux is preventing /usr/libexec/gstreamer-0.10/gst-plugin-scanner from making the program stack executable. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | gstreamer | Assignee: | Benjamin Otte <otte> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | aravindvijayan224185, boris, dwalsh, mgrepl, otte, pauwel.coppieters, reelkaas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:a687b643570d4de0cf7a84877150458bcc4ccfee32427c0f73b4c87573ee9255 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-28 20:09:22 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
Joachim Frieben
2010-10-13 14:37:29 UTC
I don't think gstreamer should require execstack. Considering that gst-plugin-scanner just initializes all GStreamer plugins to scan them, this sounds like a lot of places where this can be caused. Is there a way to get a stack trace for SELinux audit failures? First take a look at the shared library and see if it has the execstack flag turned on . execstack -q I can tell you that neither the GStreamer libraries nor any of the GStreamer plugins require execstack. That doesn't mean however that there might be plugins (that load other plugins) that link to libraries that are broken. Which is why I'm asking. So unless there's a way to figure out what's causing the problem, I'm gonna close this as INSUFFICIENT_DATA. On my system (Linux 2.6.35.10-74.fc14.i686) the libraries with the execstack flag are /usr/lib/libxvidcore.so.4 and /usr/lib/libxvidcore.so.4.2 (from xvidcore-1.2.2-1.fc14.i686) and these are used by libgstffmpeg.so and libgstpostproc.so from gstreamer-ffmpeg-0.10.11-1.fc14.i686 and libgstxvid.so from gstreamer-plugins-bad-0.10.20-2.fc14.i686. If you turn the flag off, does everything work? Hard to say if 'everything' works, but if I leave the execstack flag active, totem won't play an XVID file at all : If I remove ~/.gstreamer-0.10 and the run gst-inspect , this refuses to add the xvid library (because of the exestack flag). and Totem reports it doesn't have a plugin to handle the xvid file. If I remove the flag, and re-run gst-inspect, the xvid library is added, and totem does play the same xvid file. I used the file http://samples.mplayerhq.hu/V-codecs/XVID/ttm1.avi to test (cause I don't have any XVID samples) and the quality is horrible. Don't know if it is the sample or somethings else. Ok this means the flag is not necessary, I believe. Not sure why the quality would stink, but I am pretty sure this is not caused by SELinux. *** This bug has been marked as a duplicate of bug 652297 *** |