mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #677] --blacklist=/proc does not blacklist all of /proc #465
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#465
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 @Fred-Barclay on GitHub (Aug 1, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/677
When I try
firejail --blacklist=/procand thenls /procthere are still 58 files and directories visible inside the sandbox. It's certainly a lot fewer than the 244 files/directories that are visible outside the sandbox, but is this normal/expected?Blacklisting practically any other directory hides the contents entirely, unless I blacklist something important like /bin which won't allow /bin/bash to run inside firejail.
@reinerh commented on GitHub (Aug 1, 2016):
A lot of /proc files are actually needed by many programs to work correctly.
@netblue30 commented on GitHub (Aug 3, 2016):
Fixed. Keep an eye on closing the sandbox, my monitoring program depends on reading /proc to see if the sandbox is still alive. You'll get some error messages when you close the program, just disregard them for now.
@Fred-Barclay commented on GitHub (Aug 11, 2016):
Forgot to say earlier... thanks, mate! 👍
@netblue30 commented on GitHub (Aug 11, 2016):
No problem.