Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: Andre McCurdy <armccurdy@gmail.com>,
	Alex Kiernan <alex.kiernan@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-Core][PATCH 1/6] openssh: Move sshdgenkeys.service to sshd.socket
Date: Fri, 24 Apr 2020 18:43:22 -0700	[thread overview]
Message-ID: <e2745c5f-8856-56f5-3fa0-84a89fd26216@gmail.com> (raw)
In-Reply-To: <CAJ86T=W1jP=eMiJmcQLYfKamsD3v2+ycbS8Q3V-iEc+HVDT=Gw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1166 bytes --]



On 4/23/20 10:14 AM, Andre McCurdy wrote:
> On Thu, Apr 23, 2020 at 1:30 AM Alex Kiernan <alex.kiernan@gmail.com> wrote:
>> On Wed, Apr 22, 2020 at 7:48 PM Andre McCurdy <armccurdy@gmail.com> wrote:
>>> On Wed, Apr 22, 2020 at 6:52 AM Alex Kiernan <alex.kiernan@gmail.com> wrote:
>>>>
>>>> sshd.socket launches the templated sshd@.service, so by moving the
>>>> sshdgenkeys.service to sshd.socket, key generation can start in advance
>>>> of a connection.
>>>
>>> Is deferring key generation until the first connection a bug or by design?
>>
>> If you've installed it, presumably you're expecting connections. But I
>> agree you could argue it either way.
> 
> The trade off is between slower first boot (or every boot for
> read-only rootfs if host keys are not persistent) -vs- slower first
> incoming ssh connection.
> 
> Since the first incoming ssh connection may never happen (especially
> if ssh is only used for debugging or development), optimising it at
> the expense of boot time doesn't seem to be an obvious improvement.
> 

I tend to agree. Perhaps it could be covered under read-only-rootfs
DISTRO_FEATURE

> 
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2020-04-25  1:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 13:52 [OE-Core][PATCH 1/6] openssh: Move sshdgenkeys.service to sshd.socket Alex Kiernan
2020-04-22 13:52 ` [OE-Core][PATCH 2/6] rngd-tools: Install as part of sysinit.target Alex Kiernan
2020-04-22 13:52 ` [OE-Core][PATCH 3/6] rng-tools: Restrict rngd.service Alex Kiernan
2020-04-22 13:52 ` [OE-Core][PATCH 4/6] run-postinsts: Set RemainAfterExit on systemd unit Alex Kiernan
2020-04-22 13:52 ` [OE-Core][PATCH 5/6] systemd: Drop RDEPEND on systemd-compat-units when sysvinit is disabled Alex Kiernan
2020-04-22 13:52 ` [OE-Core][PATCH 6/6] systemd: upgrade v244.3 -> v245.5 Alex Kiernan
2020-04-22 18:48 ` [OE-Core][PATCH 1/6] openssh: Move sshdgenkeys.service to sshd.socket Andre McCurdy
2020-04-23  8:30   ` Alex Kiernan
2020-04-23 17:14     ` Andre McCurdy
2020-04-25  1:43       ` Khem Raj [this message]
2020-04-25 10:44         ` Alex Kiernan
2020-04-25 15:12           ` Khem Raj
     [not found] ` <160828A1D0F44509.29104@lists.openembedded.org>
2020-04-23  8:38   ` [OE-Core][PATCH 3/6] rng-tools: Restrict rngd.service Alex Kiernan

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=e2745c5f-8856-56f5-3fa0-84a89fd26216@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=alex.kiernan@gmail.com \
    --cc=armccurdy@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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