aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2022-01-19 22:44:39 +0100
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2022-01-19 22:44:39 +0100
commit730a84e6233a58b32a3efafb70d1210068826857 (patch)
treec4920bf86056d04f840fdcc4221a873cb5ed8110
parentsteam.profile: allow /etc/vulkan (#4862) (diff)
downloadfirejail-ssh_shutdown.tar.gz
firejail-ssh_shutdown.tar.zst
firejail-ssh_shutdown.zip
profiles: enable deterministic shutdown for sshssh_shutdown
ssh can start in master mode, which will spawn an additional long running process, which keeps connections to a server open, so that it can be reused by later connection attempts. But the lingering master process will prevent the jail from shutting down, when `firejail ssh` tries to exit. This breaks for example ansible when using a firejailed ssh, as it calls ssh with ControlMaster flags. deterministic-shutdown will kill the other process when the parent exits.
-rw-r--r--etc/profile-m-z/ssh.profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile
index 9295013e7..4da0db517 100644
--- a/etc/profile-m-z/ssh.profile
+++ b/etc/profile-m-z/ssh.profile
@@ -50,4 +50,5 @@ writable-run-user
50dbus-user none 50dbus-user none
51dbus-system none 51dbus-system none
52 52
53deterministic-shutdown
53memory-deny-write-execute 54memory-deny-write-execute