apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63388] Apache fails to start with "(38)Function not implemented: AH00141: Could not initialize random number generator"
Date Thu, 25 Apr 2019 14:45:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63388

--- Comment #1 from Predrag Zečević <Predrag.Zecevic@2e-Systems.com> ---
>From CentOS 7 OS guest:

:; grep -r getrandom /usr/include/
/usr/include/linux/random.h: * Flags for getrandom(2)
/usr/include/asm/unistd_32.h:#define __NR_getrandom 355
/usr/include/asm/unistd_64.h:#define __NR_getrandom 318
/usr/include/asm/unistd_x32.h:#define __NR_getrandom (__X32_SYSCALL_BIT + 318)
/usr/include/asm-generic/unistd.h:#define __NR_getrandom 278
/usr/include/asm-generic/unistd.h:__SYSCALL(__NR_getrandom, sys_getrandom)
/usr/include/bits/syscall.h:#ifdef __NR_getrandom
/usr/include/bits/syscall.h:# define SYS_getrandom __NR_getrandom


Also, from http://www.apache.org/dist/apr/CHANGES-APR-1.7:

  *) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
     when available. [Christian Weisgerber <naddy openbsd.org, Yann Ylavic]

Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message