apache2 is taking a long time "generating secret for digest
authentication".  Bryan suggested the following fixes a little while
back:

1. Use a hardware RNG (random number generator), some chipsets provide
that but you need to enable support in the kernel.
2. emerge apr with USE=urandom. This makes apr use /dev/urandom
instead of /dev/random. urandom isn't as strong cryptographically
speaking as random but might be good enough for your use.
3. Disable digest authentication in the apache configuration.
4. Use some entropy gathering daemon like sys-apps/clrngd,
media-sound/sound-entropyd or media-video/video-entropyd.

I emerged and started clrngd and it seems to work nicely.  I'd rather
use a hardware RNG if I have one.  Where in the kernel should I find
RNG support?  Are #1 followed by #4 the preferred options?

- Grant
--
gentoo-user@gentoo.org mailing list

Reply via email to