mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6742] add profile with only /bin /sbin /usr + partly /etc and optionally Wayland, X11, DRM and audio #3352
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#3352
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 @kolAflash on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6742
Is your feature request related to a problem? Please describe.
As a software developer I regularly need a clean environment to test untrusted things (software, files to open, ...) from the WWW. Then I usually spin up this command:
Side note: I'd like simply use
--blacklist=/runbut I can't because of #6740Assuming the then allowed directories contain only files known to the public, because I got them from my Linux distribution. So I can run software without risking information leakage.
The only exceptions I know, and which are intended, are for Wayland, X11, DRI (
/dev/dri/) and audio (Pulseaudio / Pipewire).Also no real directory should be writeable from inside the container, except
$HOME/Downloads/which I use like a "shared folder" known from the concept of virtual machines. So if I wipeDownloadsafterwards, I can be sure nothing from the virtual environment is left.See also my Mini Debian Conference talk on that topic:
https://meetings-archive.debian.net/pub/debian-meetings/2025/MiniDebConf-Hamburg/hamburg2025-10-secure-developer-containers-dont-fear-opening-files-from-the-bugtracker.webm
Describe the solution you'd like
Have my configuration checked and if it's fine, add a profile based on it.
I'd maybe call the profile
test-environmentordeveloper.