* [ptxdist] [PATCH] openssh: Don't kill ssh sessions when isolating a unit
@ 2021-03-05 17:04 Uwe Kleine-König
2021-03-14 13:35 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2021-03-05 17:04 UTC (permalink / raw)
To: ptxdist
When system state is switched using systemctl isolate ssh sessions
usually shouldn't be killed. Make this the default.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
projectroot/usr/lib/systemd/system/sshd@.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/projectroot/usr/lib/systemd/system/sshd@.service b/projectroot/usr/lib/systemd/system/sshd@.service
index 3814e9f7b095..269127c8f3ac 100644
--- a/projectroot/usr/lib/systemd/system/sshd@.service
+++ b/projectroot/usr/lib/systemd/system/sshd@.service
@@ -1,6 +1,7 @@
[Unit]
Description=SSH Per-Connection Server
DefaultDependencies=no
+IgnoreOnIsolate=true
[Service]
ExecStart=/usr/sbin/sshd -i
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] openssh: Don't kill ssh sessions when isolating a unit
2021-03-05 17:04 [ptxdist] [PATCH] openssh: Don't kill ssh sessions when isolating a unit Uwe Kleine-König
@ 2021-03-14 13:35 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-03-14 13:35 UTC (permalink / raw)
To: ptxdist; +Cc: u.kleine-koenig
Thanks, applied as ca462509e90c4418159444f1972046a374eb96af.
Michael
[sent from post-receive hook]
On Sun, 14 Mar 2021 14:35:38 +0100, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> When system state is switched using systemctl isolate ssh sessions
> usually shouldn't be killed. Make this the default.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20210305170435.4466-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/projectroot/usr/lib/systemd/system/sshd@.service b/projectroot/usr/lib/systemd/system/sshd@.service
> index 3814e9f7b095..269127c8f3ac 100644
> --- a/projectroot/usr/lib/systemd/system/sshd@.service
> +++ b/projectroot/usr/lib/systemd/system/sshd@.service
> @@ -1,6 +1,7 @@
> [Unit]
> Description=SSH Per-Connection Server
> DefaultDependencies=no
> +IgnoreOnIsolate=true
>
> [Service]
> ExecStart=/usr/sbin/sshd -i
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-14 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 17:04 [ptxdist] [PATCH] openssh: Don't kill ssh sessions when isolating a unit Uwe Kleine-König
2021-03-14 13:35 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox