configure error because it can not find /dev/random since 4.3.6 and up. Version 4.3.5 works well. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dhcp-4.4.1 --htmldir=/usr/share/doc/dhcp-4.4.1/html --libdir=/usr/lib64 --enable-paranoia --enable-early-chroot --sysconfdir=/etc/dhcp --enable-dhcpv6 --without-ldap --without-ldapcryptoonfigure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/dhcp-4.4.1 --htmldir=/usr/share/doc/dhcp-4.4.1/html --libdir=/usr/lib64 --enable-paranoia --enable-early-chroot --sysconfdir=/etc/dhcp --enable-dhcpv6 --without-ldap --without-ldapcrypto (...) checking for random device... /dev/random checking for /dev/random... no configure: error: cannot find /dev/random Every version since 4.3.5 [ebuild U ] net-misc/dhcp-4.4.1::gentoo [4.3.5::gentoo] USE="client ipv6* ssl -ldap -libressl (-selinux) -server -vim-syntax" 10903 KiB Reproducible: Always Steps to Reproduce: just do emerge -u net-misc/dhcp Actual Results: checking for random device... /dev/random checking for /dev/random... no configure: error: cannot find /dev/random Expected Results: checking for /dev/random... yes emerge --info Portage 2.3.38 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-7.3.0, glibc-2.26-r7, 4.14.39-gentoo x86_64) ================================================================= System uname: Linux-4.14.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.4.1 KiB Mem: 8057552 total, 1662284 free KiB Swap: 7679996 total, 7367704 free Head commit of repository gentoo: 59ceecc592c49f454e33025b5d8b136ab5bb12c7 sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p2) 2.30.0 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.11.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.35.5::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe"
Same problem here. Thus /dev/random does exist here..
I digged further into it. It's a problem with usersandbox. When I do disable the usersandbox with FEATURES="-usersandbox", the Check works and /dev/random is found.
Still a problem with newest version in tree.
Closing, as it's a configuration problem. My test system had NAMESPACE_USER_ENABLE="yes" enabled. This is not the default and not supposed enabled by a user by default.