Skip to contentSkip to conversation

OpenSSH + systemd + screen fix

PATCH New Paul Eggleton 1 participant 2 messages Oct 14, 2014

lore
Share & tools
lore
#0 lore raw

cover OpenSSH + systemd + screen fix

The following changes since commit fcbd1b19383daf5e160a864df1418130da01be28:

build-appliance-image: Update to dizzy head revision (2014-10-11 08:11:11 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/openssh-systemd-killmode
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/openssh-systemd-killmode

Paul Eggleton (1):
openssh: avoid screen sessions being killed on disconnect with systemd

 meta/recipes-connectivity/openssh/openssh/[email protected] | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 openssh: avoid screen sessions being killed on disconnect with systemd

Tell systemd just to kill the sshd process when the ssh connection drops instead of the entire cgroup for sshd, so that any screen sessions (and more to the point, processes within them) do not get killed.

(This is what the Fedora sshd service file does, and what we're already doing in the dropbear service file).

---
 meta/recipes-connectivity/openssh/openssh/[email protected] | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-connectivity/openssh/openssh/[email protected] +1 -0
index 4eda659..bb2d68e 100644
@@ -8,3 +8,4 @@ ExecStart=-@SBINDIR@/sshd -i
 ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
 StandardInput=socket
 StandardError=syslog
+KillMode=process
Signature · 1 line
1.9.3