packages: apache/apache.init - remove ssl_scache on startup, otherwise http...
adamg
adamg at pld-linux.org
Sun Aug 21 12:58:55 CEST 2011
Author: adamg Date: Sun Aug 21 10:58:55 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- remove ssl_scache on startup, otherwise httpd may go into infinite loop
if there are db transaction logs laying around
---- Files affected:
packages/apache:
apache.init (1.69 -> 1.70)
---- Diffs:
================================================================
Index: packages/apache/apache.init
diff -u packages/apache/apache.init:1.69 packages/apache/apache.init:1.70
--- packages/apache/apache.init:1.69 Thu Aug 4 00:42:16 2011
+++ packages/apache/apache.init Sun Aug 21 12:58:50 2011
@@ -83,6 +83,9 @@
[ "$1" -eq 0 ] || checkconfig
msg_starting "$SVC_NAME"
+ # remove ssl_scache on startup, otherwise httpd may go into
+ # infinite loop if there are db transaction logs laying around
+ rm -f /var/cache/httpd/*ssl_scache*
daemon --pidfile /var/run/httpd.pid /usr/sbin/httpd.${HTTPD_MPM} $CFG $HTTPD_OPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/httpd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache/apache.init?r1=1.69&r2=1.70&f=u
More information about the pld-cvs-commit
mailing list