After this morning's commits apache was dieing on startup with the following errors in it's log: [Fri May 07 12:53:55 2010] [notice] Digest: generating secret for digest authentication ... [Fri May 07 12:53:55 2010] [crit] (2)No such file or directory: Digest: error generating secret: No such file or directory Configuration Failed due to a failed connect() from the apr port. The problem appears also when using included apr. This affect only people using mod_auth_digest. After some search I found out that apr enables and prefers egd when any configure options references it (so both --with-egd and --without-egd DO enable it), so ignoring /dev/random. I noticed also that the apr code conditionally includes egd support XOR /dev/random support (never both). I assume it is, then, safe to remove any reference to egd in our ports. AFAIK we do not have egd on FreebSD, and anyway do provide a decent /dev/random, which I think is to be preferred anyway. How-To-Repeat: install apache, enable mod_auth_digest and try to start apache.
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer.
pgollucci 2010-05-07 18:32:28 UTC FreeBSD ports repository Modified files: devel/apr Makefile Log: - FreeBSD doesn't use EGD sockets. Also the option handling doesn't honor without-egd. PR: ports/146376 Submitted by: Guido Falsi <mad@madpilot.net> With Hat: apache@ Revision Changes Path 1.100 +0 -12 ports/devel/apr/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
pgollucci 2010-05-07 18:33:45 UTC FreeBSD ports repository Modified files: www/apache22 Makefile Log: - FreeBSD doesn't use EGD sockets. Also the option handling doesn't honor without-egd. Carry the devel/apr fix through PR: ports/146376 Submitted by: Guido Fals Revision Changes Path 1.264 +0 -4 ports/www/apache22/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"