mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3616] Can't use newsboat through torsocks #2272
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#2272
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 @Unser395 on GitHub (Aug 30, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3616
Write clear, concise and in textual form.
Bug and expected behavior
No profile or disabling firejail
firejail --noprofile PROGRAMin a shell? Not sure on how to do this with the torsocks command. I use firejail by default for all program and don't usually type the firejail command in a terminal.Reproduce
Steps to reproduce the behavior:
torsocks newsboatERROR: newsboat is setuid. torsocks will not work on a setuid executable.Environment
firejail --version) exclusive or used git commit (git rev-parse HEAD) : firejail version 0.9.62.4Checklist
find / -name 'firejail' 2>/dev/null/fd firejailto locate profiles ie in/usr/local/etc/firejail/PROGRAM.profile)debug output : not sure on how to do that with torsocks.
Thank you very much
@rusty-snake commented on GitHub (Aug 30, 2020):
If you executed
sudo firecfg, the first "newsboat" in $PATH is a symlink to firejail. So you call at the endtorsocks firejail newsboat. You could fix this by removing this symlink ortorsocks /usr/bin/newsboatbut then is newsboat not firejailed. It would be better to usefirejail --profile=newsboat torsocks /usr/bin/newsboat. To do so you need to tweak the newsboat profile a bit (private-bin torsocks,private-etc <some tor configs>,noblacklist ${PATH}/nc? and maybe others, but I can not tell you which excatly).@Minoru commented on GitHub (Aug 31, 2020):
Newsboat also has built-in support for proxies, just add something like this to your config:
@Unser395 commented on GitHub (Aug 31, 2020):
Thank you very much to both of you.
I ended up using the built-in support for proxies, but I learned some things I didn't know about Firejail and how it works thanks to your answer rusty-snake.
Have a nice day !