mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3225] youtube-dl abruptly terminates on firejail 0.9.60-1 without saying anything; works with --noprofile; Fedora 30; youtube-dl version 2020.01.24 #2023
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2023
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MystesofEternity on GitHub (Feb 14, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3225
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
@rusty-snake commented on GitHub (Feb 14, 2020):
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.
@MystesofEternity commented on GitHub (Feb 17, 2020):
The problem persists even if I use just
firejail youtube-dl --helpIt 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.
@rusty-snake commented on GitHub (Feb 17, 2020):
I've three points:
journalctl --followwhile trying ytdl, is there anything related logged?@MystesofEternity commented on GitHub (Feb 22, 2020):
@rusty-snake I did as you said and here are the results:
journalctl --followbut 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?
@rusty-snake commented on GitHub (Feb 22, 2020):
firejail --build youtube-dl --help | grep private-bin@MystesofEternity commented on GitHub (Feb 24, 2020):
Executed that and got this output:
private-bin python2.7,
@rusty-snake commented on GitHub (Feb 24, 2020):
Looks you have the python2 version of ytdl, thats seems to be the reason. I have the python3 version.
@MystesofEternity commented on GitHub (Feb 24, 2020):
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?
@rusty-snake commented on GitHub (Feb 24, 2020):
You have at least four ways to install ytdl:
https://ytdl-org.github.io/youtube-dl/download.html
@rusty-snake commented on GitHub (Feb 24, 2020):
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.
@MystesofEternity commented on GitHub (Feb 27, 2020):
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!