From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: u.kleine-koenig@pengutronix.de
Subject: Re: [ptxdist] [APPLIED] openssh: Don't kill ssh sessions when isolating a unit
Date: Sun, 14 Mar 2021 14:35:38 +0100 [thread overview]
Message-ID: <E1lLQuA-007JNe-1j@dude03.red.stw.pengutronix.de> (raw)
In-Reply-To: <20210305170435.4466-1-u.kleine-koenig@pengutronix.de>
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
prev parent reply other threads:[~2021-03-14 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-05 17:04 [ptxdist] [PATCH] " Uwe Kleine-König
2021-03-14 13:35 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1lLQuA-007JNe-1j@dude03.red.stw.pengutronix.de \
--to=mol@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox