Gstreamer operations not permitted on latest container builds
jxs opened this issue · 1 comments
jxs commented
Hi, running the 2022-08-09T14-21-00Z-prod
container and invoking Gstreamer outputs the following errors:
ERROR GST_PLUGIN_LOADING gstpluginloader.c:442:gst_plugin_loader_try_helper: Spawning gst-plugin-scanner helper failed: Failed to close file descriptor for child process (Operation not permitted)
GStreamer-WARNING **: 10:44:03.965: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
GStreamer-WARNING **: 10:44:04.256: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstxvimagesink.so': libXv.so.1: cannot open shared object file: No such file or directory
GStreamer-WARNING **: 10:44:04.316: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory
GLib-ERROR **: 10:44:04.323: file ../../../glib/gthread-posix.c: line 1339 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'
probably is reason for #24 ?
pyldin601 commented
It's better to not rely on the timestamp in the image tag, because recent builds not always the latest.
Operation not permitted
can be fixed by running container with privileged
flag.