FS#57535 - [bind] 'openssl_link.c:296: fatal error' - bind9 not starting
Attached to Project:
Arch Linux
Opened by Andrzej (sunblade) - Friday, 16 February 2018, 17:49 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 16 May 2018, 23:27 GMT
Opened by Andrzej (sunblade) - Friday, 16 February 2018, 17:49 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 16 May 2018, 23:27 GMT
|
Details
Description:
Today after upgrade system i decided to reboot machine due new kernel version. After boot bind9 was not running. I have restarted named service using systemd, and named started without any error. After that i rebooted machine again, and named failed to start, and started working after service restart. Additional info: - kernel: 4.15.3-1-ARCH #1 SMP PREEMPT Mon Feb 12 23:01:17 UTC 2018 x86_64 GNU/Linux - openssl: 1.1.0.g-1 - bind9: 9.12.0-1 Logs: Feb 16 18:41:41 dns named[1557]: starting BIND 9.12.0 <id:71a4086> Feb 16 18:41:41 dns named[1557]: running on Linux x86_64 4.15.3-1-ARCH #1 SMP PREEMPT Mon Feb ... Feb 16 18:41:41 dns named[1557]: openssl_link.c:296: fatal error: Feb 16 18:41:41 dns named[1557]: OpenSSL pseudorandom number generator cannot be initialized (see the `PRNG not seeded' message in the OpenSSL FAQ) Feb 16 18:41:41 dns named[1557]: exiting (due to fatal error in library) Feb 16 18:41:41 dns systemd[1]: Started Process Core Dump (PID 1562/UID 0). |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Wednesday, 16 May 2018, 23:27 GMT
Reason for closing: No response
Wednesday, 16 May 2018, 23:27 GMT
Reason for closing: No response
# pacman -Q openssl bind ; uname -a
openssl 1.1.0.g-1
bind 9.12.0-1
Linux horus.seblu.net 4.15.0-seblu #1 SMP PREEMPT Mon Jan 29 22:49:55 CET 2018 x86_64 GNU/Linux
Might also be worth checking with upstream that the PRNG failure causing a fatal error is expected.
«By default, BIND now uses the random number functions provided by the crypto library ... This is suitable for virtual machine environments which have limited entropy pools and lack hardware random number generators.»
This should be reported upstream.
On previous ver. of bind there was no issue. Seblu, are you able to point me how to resolve this issue?
I have tried running Rng-tools - the same issue.
Thank you
If that prevents the issue then report that commit upstream.