mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4870] [MERGED] profiles: enable deterministic shutdown for ssh #5277
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#5277
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/4870
Author: @reinerh
Created: 1/19/2022
Status: ✅ Merged
Merged: 1/20/2022
Merged by: @reinerh
Base:
master← Head:ssh_shutdown📝 Commits (1)
730a84eprofiles: enable deterministic shutdown for ssh📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
etc/profile-m-z/ssh.profile(+1 -0)📄 Description
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 sshtries 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.
does anyone see something negative with enabling this flag?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.