Comment 1 for bug 109250

Revision history for this message
Maurizio Parton (parton) wrote :

I confirm this bug. Moreover, in the package apache2-common for edgy, the line is present:

------------/etc/init.d/apache2--------from package apache2-common_2.0.55-4ubuntu4_i386.deb (edgy)

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/run/apache2/ssl_scache ] && rm -f /var/run/apache2/*ssl_scache*
  # /var/run and /var/lock could be on a tmpfs
  [ ! -d /var/run/apache2 ] && mkdir /var/run/apache2
  [ ! -d /var/lock/apache2 ] && mkdir /var/lock/apache2
  # Make sure /var/lock/apache2 has the correct permissions
  chown www-data /var/lock/apache2

  log_begin_msg "Starting apache 2.0 web server..."
  if $APACHE2CTL startssl; then
                        log_end_msg 0
                else
                        log_end_msg 1
                fi
 ;;

------------/etc/init.d/apache2--------from package apache2.2-common_2.2.3-3.2build1_i386.deb (feisty)

case $1 in
 start)
  [ -f /etc/apache2/httpd.conf ] || touch /etc/apache2/httpd.conf
  [ -d /var/run/apache2 ] || mkdir -p /var/run/apache2
  [ -d /var/lock/apache2 ] || mkdir -p /var/lock/apache2
  #ssl_scache shouldn't be here if we're just starting up.
  [ -f /var/run/apache2/ssl_scache ] && rm -f /var/run/apache2/*ssl_scache*
  log_begin_msg "Starting web server (apache2)..."
  if $APACHE2CTL start; then
                        log_end_msg 0
                else
                        log_end_msg 1
                fi
 ;;

Not yet solved in gutsy:
------------/etc/init.d/apache2--------from package apache2.2-common_2.2.3-4_i386.deb (gutsy)

case $1 in
 start)
  [ -f /etc/apache2/httpd.conf ] || touch /etc/apache2/httpd.conf
  [ -d /var/run/apache2 ] || mkdir -p /var/run/apache2
  [ -d /var/lock/apache2 ] || mkdir -p /var/lock/apache2
  #ssl_scache shouldn't be here if we're just starting up.
  [ -f /var/run/apache2/ssl_scache ] && rm -f /var/run/apache2/*ssl_scache*
  log_begin_msg "Starting web server (apache2)..."
  if $APACHE2CTL start; then
                        log_end_msg 0
                else
                        log_end_msg 1
                fi
 ;;