Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/openssh: refactor S50sshd
Date: Mon, 15 Jul 2024 12:20:43 +0200	[thread overview]
Message-ID: <20240715122043.0493514f@windsurf> (raw)
In-Reply-To: <20231123104124.28369-1-nicolas.cavallari@green-communications.fr>

Hello Nicolas,

On Thu, 23 Nov 2023 11:39:52 +0100
Nicolas Cavallari <nicolas.cavallari@green-communications.fr> wrote:

> Make it look more like the example S01syslogd shell script in
> docs/manual/adding-packages-directory.txt.
> 
> Functionnally, it changes the following:
> - Options can be defined in /etc/default/sshd
> - "S50sshd stop" will no longer kill active SSH sessions or sshd daemons
>   that run inside a container or chroot.  It is now safe to stop or
>   restart openssh inside an SSH session.
> - "S50sshd restart" now sleeps between stop and start, reducing the
>   probability of failures caused by sshd taking too much time to stop.
> - "S50sshd reload" will send a SIGHUP instead of restarting sshd.
> - /var/lock/sshd is no longer created.  The daemon does not use it.
>   The only reference to /var/lock is in contrib/redhat/sshd.init, which
>   uses it as a way to test if sshd is (supposed to be) running.
> 
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
> ---
>  package/openssh/S50sshd | 75 +++++++++++++++++++++++++++--------------
>  1 file changed, 49 insertions(+), 26 deletions(-)

Sorry for the slow feedback. There's been more recent discussion
related to init scripts, and these lead to changes in S01syslogd, and a
following improvement of S50sshd to align it with the changes in
S01syslogd. Therefore your patch is in fact no longer needed I believe,
but don't hesitate to check if S50sshd is OK.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-07-15 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23 10:39 [Buildroot] [PATCH 1/1] package/openssh: refactor S50sshd Nicolas Cavallari
2024-07-15 10:20 ` Thomas Petazzoni via buildroot [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=20240715122043.0493514f@windsurf \
    --to=buildroot@buildroot.org \
    --cc=nicolas.cavallari@green-communications.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /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