mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4186] Enhancement starting firejail before runit,openrc,sysinitv and systemd service, and sandboxing early startup process. #2569
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#2569
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 @osevan on GitHub (Apr 13, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4186
https://gitlab.com/apparmor/apparmor/-/wikis/FullSystemPolicy
With this method above, we can trying to start sysinitv and rest of system startup apps like big attackvector systemd in sandbox with own networknamespace and profile.
Profiles needed for these apps :
Sysinitv
Systemd
Runit
Openrc
Upstart
@rusty-snake commented on GitHub (Apr 13, 2021):
AppArmor is in an other position, it is part of the kernel which is started before the init. Firejail runs in the userspace.
--> https://github.com/netblue30/firejail/discussions/4163#discussioncomment-568144 <--
systemd needs to be pid1 IIRC and we don't want to be pid1 because
It's possible to integrate firejail is start scripts. Network setup and deamons (if possible) run sandboxed.
For systemd you should use it's native sandboxing features. Examples: https://github.com/netblue30/firejail/discussions/4077.
Is dead, is't it?