[Pkg-openssl-devel] Bug#912087: Bug#912087: Bug#912087: openssh-server: Slow startup after the upgrade to 7.9p1

Kurt Roeckx kurt at roeckx.be
Mon Oct 29 22:33:34 GMT 2018


On Mon, Oct 29, 2018 at 09:58:20PM +0100, Sebastian Andrzej Siewior wrote:
> On 2018-10-29 18:22:08 [+0100], Kurt Roeckx wrote:
> > So I believe this is not an openssl issue, but something in the
> > order that the kernel's RNG is initialized and openssh is started.
> > Potentionally the RNG isn't initialized at all and you actually
> > have to wait for the kernel to get it's random data from the slow
> > way.
> > 
> > So I'm reassigning this to systemd and openssh-server, I have no
> > idea where the problem really is.
> 
> I see it, too. So during boot someone invokes "sshd -t" which invokes

That's:
ExecStartPre=/usr/sbin/sshd -t

> 	getrandom(, 32, 0)
> and this blocks.

And did systemd-random-seed.service get run before that?


Kurt



More information about the Pkg-openssl-devel mailing list