All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] OpenSSH + systemd + screen fix
@ 2014-10-14 13:39 Paul Eggleton
  2014-10-14 13:39 ` [PATCH 1/1] openssh: avoid screen sessions being killed on disconnect with systemd Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2014-10-14 13:39 UTC (permalink / raw)
  To: openembedded-core

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/sshd@.service | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.3



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] openssh: avoid screen sessions being killed on disconnect with systemd
  2014-10-14 13:39 [PATCH 0/1] OpenSSH + systemd + screen fix Paul Eggleton
@ 2014-10-14 13:39 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2014-10-14 13:39 UTC (permalink / raw)
  To: openembedded-core

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).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-connectivity/openssh/openssh/sshd@.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/openssh/openssh/sshd@.service b/meta/recipes-connectivity/openssh/openssh/sshd@.service
index 4eda659..bb2d68e 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshd@.service
+++ b/meta/recipes-connectivity/openssh/openssh/sshd@.service
@@ -8,3 +8,4 @@ ExecStart=-@SBINDIR@/sshd -i
 ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
 StandardInput=socket
 StandardError=syslog
+KillMode=process
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-14 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-14 13:39 [PATCH 0/1] OpenSSH + systemd + screen fix Paul Eggleton
2014-10-14 13:39 ` [PATCH 1/1] openssh: avoid screen sessions being killed on disconnect with systemd Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.