Info:
Fedora 30
Firejail version 0.9.60-1
youtube-dl version 2020.01.24
Command executed:
firejail --seccomp --netfilter=/etc/firejail/nolocal.net youtube-dl --help
Command expectation:
Help text provided by youtube-dl will show.
Command result:
Command ended without any feedback.
--noprofile works for reasons I am incapable of identifying.
Previously, I used firejail-0.9.58.2-1 and it worked flawlessly with youtube-dl.
Installing firejail-0.9.60-1 caused this issue for me. However, firejail-0.9.60-1 works flawlessly with my Firefox 72
What happens if you start it "normal" with firejail youtube-dl --help?
For me this is working. Fedora 31 ytdl 2020.01.24 firejail git.
The problem persists even if I use just firejail youtube-dl --help
It might be a Fedora 30-only problem at this version of firejail D:
As much as I'd like to upgrade to Fedora 31, the Fedora 31 template for the security-oriented Xen hypervisor that I am using is still in the middle of testing and I cannot upgrade yet RIP
I'm all game if ever you need more logs or stuff from me but I'm also fine with leaving this problem in the dark since I can pretty much live with --noprofile until the Fedora 31 template that I am waiting for graduates out of testing.
I've three points:
journalctl --follow while trying ytdl, is there anything related logged?@rusty-snake I did as you said and here are the results:
journalctl --follow but nothing came up when I executed the commands that caused this problem.private-bin youtube-dl,python*,ffmpegIDK why this line causes the problem, it's quite weird. Maybe cause I don't have ffmpeg installed?
firejail --build youtube-dl --help | grep private-bin
Executed that and got this output:
private-bin python2.7,
Looks you have the python2 version of ytdl, thats seems to be the reason. I have the python3 version.
Oh what, I don't even know if I'm getting the python2 version or the python3
All I do is go to the releases page and get the plain youtube-dl
https://github.com/ytdl-org/youtube-dl/releases/download/2020.02.16/youtube-dl
I tried getting the tar.gz archive and it contained two different youtube-dl binaries; one in the main directory of the extracted archive and one located within the bin folder.
How do I tell which is the python3 version?
You have at least four ways to install ytdl:
Oh what, I don't even know if I'm getting the python2 version or the python3
All I do is go to the releases page and get the plain youtube-dl
https://github.com/ytdl-org/youtube-dl/releases/download/2020.02.16/youtube-dl
This file uses #!/usr/bin/env python as shebang.
/usr/bin/python is an symlink to python3 for Arch and Fedora 31, for Debian, Ubuntu, Fedora 30, .. it is still python2.
Thank you for this! I have totally forgotten about that change to python defaults so this really helped me realize things.
That should just about solve this case I believe, I am grateful for your close assistance in solving this mystery!
Most helpful comment
This file uses
#!/usr/bin/env pythonas shebang./usr/bin/python is an symlink to python3 for Arch and Fedora 31, for Debian, Ubuntu, Fedora 30, .. it is still python2.