mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #494] Firejail broken in Debian sid #346
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#346
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 @netblue30 on GitHub (May 1, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/494
A recent libselinux1 update (2.5-1) introduces a bug where it attempts to re-mount /proc directory. The library is in use by a number of very common utilities such as ls, mv, sed, tar.
mount syscall is detected by seccomp, and Firejail kills the process. Inside the sandbox it looks something like this:
You will get an entry in system log such as:
The problem also affects a number of desktop programs such as icedove and iceweasel. The workaround for now is to build a seccomp list without mount, or to disable seccomp.
There is already a bug report here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822679, although is not specific to Firejail. A fix for the problem is available upstream, it needs to be ported a new libselinux1 version released. On my side, I will put a workaround in the latest version here on GitHub in the next few days.
@Micha-Btz commented on GitHub (May 2, 2016):
ok, thanks. didn't check that are bug reports there. day was too long :-)
debian has released a new version libselinux1 update 2.5-2 i will test today if it work and i will report back.
@netblue30 commented on GitHub (May 2, 2016):
Indeed, libxelinux1 update 2.5-2 fixed the problem. Thanks.
@Wadkar07 commented on GitHub (May 22, 2018):
how to use "--noprofile" help plz I am extreme noob
@Fred-Barclay commented on GitHub (May 22, 2018):
@Wadkar07 like this:
firejail --noprofile <some_program>from inside your terminal.For instance, if you wanted to do it for firefox, it would be
firejail --noprofile firefox.