[Syslog-ng-maintainers] Bug#913754: syslog-ng hangs in getrandom(2) on boot

Kókai Péter kokaipeter at gmail.com
Thu Nov 15 07:33:13 GMT 2018


Hello,

Which was the previous syslog-ng version ?

--
Kokan

On Wed, 14 Nov 2018 at 21:21 Eugene Berdnikov <bd4 at protva.ru> wrote:

> Package: syslog-ng
> Version: 3.13.2-5
> Severity: minor
>
>  On boot start of syslog-ng as daemon from /etc/init.d (SysV-init)
>  leads to hangup of boot process for several minutes. Strace shows
>  that delay caused by getrandom(2) syscall:
>
> 1501 22:44:00
> getrandom("\x74\x78\x56\x35\x28\xad\x52\xd2\xcb\x51\xb1\x30\xc7\x67\x14\x26\x01\xa4\x2d\xa0\x30\x1d\xad\x09\x9e\xe3\x2c\x4e\x07\x55\x0d\x29",
> 32, 0) = 32 <322.583360>
>
>  Got with "strace -Tt", means reading of 32 random bytes tooks 322 seconds.
>  This is expectable: on boot system has no enоuph entropy, so this syscall
>  blocks until entropy is collected by kernel from device drivers.
>
>  Previous versions of syslog-ng do not hang.
> --
>  Eugene Berdnikov
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/syslog-ng-maintainers/attachments/20181115/7d26b8e4/attachment-0001.html>


More information about the Syslog-ng-maintainers mailing list