-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg 4.2.2 does not work with the included firejail profile #3157
Comments
@the-lost-bit We are aware of this. See #3147 and #3150. To summarize: the ffmpeg profile saw some changes after releasing 0.9.62. Until a decision is made on a follow-up release you can fix this by adding
to your ffmpeg.local (or create that file if you don't have one yet). Would you be so kind as to confirm/deny whether the above changes fix the ffmpeg issue? |
Many thanks glitsj16 for the swift reply, and my apologies for not doing a proper search among the issues! Yes, your suggested ffmpeg.local file seems to do the trick. I did note however that the issue persisted with youtube-dl which calls ffmpeg to merge video and audio after download, so I just made a youtube-dl.local file with the exact same contents as per your suggestion above, and indeed this works. Are there any obvious negative security implications with my ad hoc solution to the youtube-dl+ffmpeg combo issue? Thanks again, and sorry if I went a bit off topic. |
@the-lost-bit No worries, that happens. A duplicate is still better than no report at all. Firejail by design relies heavily on user input for keeping profiles in good condition and your input is appreciated.
Great, thanks for confirming.
Indeed, I forgot to mention youtube-dl. The relevant changes to that profile look like this:
... so you should be fine by replacing the private-etc line in your youtube-dl.local with the above.
None, your ad-hoc workarounds now offer the exact same security level as those in git master. It's only too bad the relevant profile changes happened after releasing firejail 0.9.62. I suggested a new release after users started reporting ffmpeg issues, but no decision on that yet. Just make a note to remove your private-etc .local fixes when a future update arrives, that will make those superfluous. I'll close this, but do feel free to re-open when you notice anything fishy with your ffmpeg/youtube-dl usage. Thank you for the cooperation! |
Duplicate of #3147 |
First I would like to thank all the developers for this really nice piece of security software.
My issue is with the latest version of FFmpeg, version 4.2.2 (pacman says 1:4.2.2-1). If I try to run ffmpeg like so, firejail ffmpeg, I get the following error:
/usr/bin/ffmpeg: error while loading shared libraries: libmfx.so.1: cannot open shared object file: No such file or directory
If I use the --noprofile option the above command runs without errors though, so it seems like this may be an issue with the included FFmpeg profile. The library that ffmpeg complains about is located in /opt/intel/mediasdk/lib This intel-directory was created (not by me) when I updated FFmpeg to the latest version.
There is no error when using the previous version of FFmpeg, that is 4.2.1 (pacman says 1:4.2.1-4). I tried to do some whitelisting of the above directory but to no avail. Hopefully someone more skilled in setting up profiles can help me on the way to solve this problem. I am a beginner.
Manjaro: 18.1.5
Firejail: 0.9.62
FFmpeg: 4.2.2
The text was updated successfully, but these errors were encountered: