Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gstreamer
gstreamer
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 422
    • Issues 422
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 83
    • Merge Requests 83
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Issues
  • #61

Closed
Open
Created Jul 10, 2014 by Bugzilla Migration User@bugzilla-migration

pluginscanner: Selinux enhanced file rights not handled correctly

Submitted by kas..@..ain.de

Link to original bug (#733001)

Description

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None