[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#259414: apache2 init script contains incorrect path to SSL cache



Package: apache2-common
Version: 2.0.50-5

In /etc/apache2/mods-available/ssl.conf, the SSL cache (per default) is set to /var/run/apache2/ssl_scache:

---8<---
  SSLSessionCache         dbm:/var/run/apache2/ssl_scache
--->8---

However, in /etc/init.d/apache2, checks are done on /var/log/apache2/ssl_scache:

---8<---
  case $1 in
          start)
                  [ -f /etc/apache2/httpd.conf ] || touch /etc/apache2/httpd.conf
                  #ssl_scache shouldn't be here if we're just starting up.
                  [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
                  echo -n "Starting web server: Apache2"
--->8---

This was probably overlooked when the ssl.conf file was synched with the upstream release recently (bug #231147).

Best regards,
Björn

--
Björn Wiberg (bjorn.wiberg@home.se)
Homepage: http://bwiberg.dyndns.org/

Reply to: