mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #927] have systemd apply firejail #628
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#628
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 @valoq on GitHub (Nov 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/927
Is there a way to have systemd apply firejail
On gnome many applications are started by systemd and firejail has no effect even with symbolic links in PATH. I could not get any application automatically started with firejail.
It would be awesome to have a way to tell systemd to start apps with firejail.
@curiosity-seeker commented on GitHub (Nov 20, 2016):
This is actually easy to do. See https://wiki.archlinux.org/index.php/Systemd#Editing_provided_units
Basically, you have to create a new unit file or a drop-in snippet in /etc/systemd/system and change the ExecStart= line to something like:
The first command is necessary to nullify the original command.
This is what I've been doing for dnsmasq and dnscrypt-proxy for some time on Arch and Fedora. Works well.
@valoq commented on GitHub (Nov 20, 2016):
Thanks for the info.
It would be nice to find a way to have firejail do that automatically if possible