From: Jan Kiszka <jan.kiszka@siemens.com>
To: Florian Bezdeka <florian.bezdeka@siemens.com>,
isar-users@googlegroups.com
Cc: henning.schild@siemens.com
Subject: Re: [PATCH 2/2] sshd-regen-keys: Fix some systemd obsolete warnings about using syslog
Date: Fri, 8 Oct 2021 10:23:15 +0200 [thread overview]
Message-ID: <899dc917-a08c-67d9-3fce-93f286a89ed9@siemens.com> (raw)
In-Reply-To: <20211008074732.212145-3-florian.bezdeka@siemens.com>
On 08.10.21 09:47, Florian Bezdeka wrote:
> Fixes the following warnings:
>
> [ 11.450104] systemd[1]: /lib/systemd/system/sshd-regen-keys.service:15:
> [ 11.450806] systemd[1]: /lib/systemd/system/sshd-regen-keys.service:16:
> Standard output type syslog is obsolete, automatically updating to journal.
> Please update your unit file, and consider removing the setting altogether.
>
Interesting. We are using that downstream as well, sometimes to divert
from syslog, sometimes to append the console (syslog+console). Do you
know what exactly is deprecated?
Jan
> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> ---
> .../sshd-regen-keys/files/sshd-regen-keys.service | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.service b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.service
> index 4d0a8c6..ebcee86 100644
> --- a/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.service
> +++ b/meta/recipes-support/sshd-regen-keys/files/sshd-regen-keys.service
> @@ -13,8 +13,6 @@ RemainAfterExit=yes
> Environment=DEBIAN_FRONTEND=noninteractive
> ExecStart=/usr/sbin/sshd-regen-keys.sh
> ExecStartPost=-/bin/systemctl disable sshd-regen-keys.service
> -StandardOutput=syslog
> -StandardError=syslog
>
> [Install]
> WantedBy=sysinit.target
>
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-10-08 8:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 7:47 [PATCH 0/2] sshd-regen-keys: Fix boot hang on low end hardware Florian Bezdeka
2021-10-08 7:47 ` [PATCH 1/2] sshd-regen-keys: Start key generation after entropy seed Florian Bezdeka
2021-10-08 7:47 ` [PATCH 2/2] sshd-regen-keys: Fix some systemd obsolete warnings about using syslog Florian Bezdeka
2021-10-08 8:23 ` Jan Kiszka [this message]
2021-10-08 9:07 ` Bezdeka, Florian
2021-10-13 15:04 ` [PATCH 0/2] sshd-regen-keys: Fix boot hang on low end hardware Anton Mikanovich
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=899dc917-a08c-67d9-3fce-93f286a89ed9@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=henning.schild@siemens.com \
--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