mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2380] firejail 0.9.58 breaks many programs (execute permission denied) #1588
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#1588
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 @odiferousmint on GitHub (Jan 29, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2380
I have no idea why, but I get:
for many programs. 0.9.56 is the last version that works.
I have the directory whitelisted, so I have no idea why it would not work whereas 0.9.56 works just fine.
The programs in question are wire and vivaldi. Probably breaks many other programs which I have not tried yet.
Any ideas? What am I missing? Do I need to add something to my local profile to be able to run an executable inside ${HOME}?
Edit: it seems like it runs if I get rid of
noexec ${HOME}. How come that it works in 0.9.56 but not in 0.9.58 withnoexec ${HOME}present?In the meantime I think I found a bug. If I include
disable-programs.incthat blacklists 2 paths, I will get a permission denied error even after I have manually whitelisted and noblacklisted them at the end of the profile file. It seems like as if thatnoblacklistandwhitelistdoes not overwrite the previousblacklist. This is a bug, right?@SkewedZeppelin commented on GitHub (Jan 29, 2019):
See https://github.com/netblue30/firejail/issues/2375#issuecomment-458379200
also noblacklist must always come before a blacklist
@netblue30 commented on GitHub (Feb 1, 2019):
@odiferousmint what programs are you having problems with noexec home? So far we figured out the browsers, but there could be more.
@ghost commented on GitHub (Feb 3, 2019):
help something must be wrong with latest updates
if i use
sudo firecfg -> reboot -> my script is broken -> sudo firecfg --clean -> my screen is still broken, -> reboot -> my script works -> sudo firecfg -> my script work -> reboot -> my script is broken.
i'm getting many errors including some about python can't be found even if i don't use a firejail for the app!
nyx
/bin/bash: /usr/bin/nyx: /usr/bin/python: bad interpreter: Permission deniedchromium
[1285:1285:0203/081649.144751:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755.mpv
i have tried to remove all my custom profiles and .local
nyx which don't have profile and don't run firejailed now return
/bin/bash: /usr/bin/nyx: /usr/bin/python: bad interpreter: Permission deniedwhen launched from my script but it is working when launching by typing nyx in Konsole, same for chromium etc.my firecfg output
edit, i think that the programs are not launched in an sandbox anymore when launched from the script, i don't see them in firejail --top and i have this message Warning: an existing sandbox was detected. /usr/bin/mpv will run without any additional sandboxing features
@ghost commented on GitHub (Feb 6, 2019):
everything works for me now, not sure if it's because i have updated firejail today or something else was wrong with my pc, anyways it's fixed for me. thx
@chiraag-nataraj commented on GitHub (Feb 7, 2019):
I'll go ahead and close this, as it looks like the issue has been resolved.
@odiferousmint commented on GitHub (Feb 12, 2019):
So far I had issues with
wire-desktopandvivaldionly.