[Bug 733001] New: Selinux enhanced file rights not handled correctly
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jul 10 06:29:42 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=733001
GStreamer | gstreamer (core) | 2.x
Summary: Selinux enhanced file rights not handled correctly
Classification: Platform
Product: GStreamer
Version: 2.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: kasberger at heidenhain.de
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Following steps to reproduce
1. Installing Fluendo Code package
2. Enable Selinux
3. run gst-inspect-1.0
4. now all newy added codecs are blacklisted because we have not relabled the
new installation
5. Disable Selinux
6. run gst-inspect will not change anything because files are unchanged and
already on blacklist
Only deleting the registry would help.
Correct handling would be in
gst/gstregistry.c in function gst_registry_scan_path_level
and add in the checks for regular file
if (access(filename,X_OK)!=0) {
GST_TRACE_OBJECT (context->registry, "%s file status SeLinux executable
file, ignoring",
filename);
g_free (filename);
continue;
}
So we check if the file is executable ( normal file rights and SeLinux). If not
executable we just ignore it.
Tested on Linux it is working.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list