public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>,
	Baurzhan Ismagulov <ibr@ilbers.de>
Subject: Re: [PATCH] sshd-regen-keys: Issue sync after regeneration
Date: Mon, 31 Aug 2020 18:30:30 +0200	[thread overview]
Message-ID: <db6d6248-afd9-d901-f2da-8d2cf3394541@siemens.com> (raw)
In-Reply-To: <b00f0c4e-e7e4-44cf-e7dc-ca85d17d2795@web.de>

On 30.05.20 08:54, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> This reduces the risk that a hard reset or power loss after the
> regeneration leaves invalid key files behind, thus prevents that sshd
> comes up again.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
> index 11fca3b4..910d879b 100644
> --- a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
> +++ b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.sh
> @@ -16,3 +16,5 @@ if test -n $SSHD_ENABLED; then
>      echo "Reenabling ssh server ..."
>      systemctl enable --no-reload ssh
>  fi
> +
> +sync
> --
> 2.26.2
> 

Ping.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

      reply	other threads:[~2020-08-31 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-30  6:54 Jan Kiszka
2020-08-31 16:30 ` Jan Kiszka [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=db6d6248-afd9-d901-f2da-8d2cf3394541@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=ibr@ilbers.de \
    --cc=isar-users@googlegroups.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