On Fri, 2020-09-18 at 17:16 -0700, Khem Raj wrote:
> enabling shadow drags sshd key generation service into boot path and
> serial console launch over getty gets delayed until ssh key
> generation
> is done, on slowers platforms eg. non-kvm qemu this can take minutes
> to
> get ssh keys service to finish on first boot.
> 
> On qemumips
> 56.963s sshdgenkeys.service
> 
> Disabling shadow, pulls this out of boot chain, and ssh keys are
> still
> generated but this time it will happen when ssh'ing first time into
> the
> machine.
> 
> [YOCTO #13646]
> 
> Signed-off-by: Khem Raj <[email protected]>
> ---
>  meta/recipes-core/systemd/systemd_246.2.bb | 1 -
>  1 file changed, 1 deletion(-)

I tested this locally and disabling gshadow didn't seem to affect the
qemumips serial login time. That matches the fact we didn't see it
blocking on ssh keygen in the traces :/.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142670): 
https://lists.openembedded.org/g/openembedded-core/message/142670
Mute This Topic: https://lists.openembedded.org/mt/76946360/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to