Web lists-archives.com

unattended-upgrades: apache won't restart




Running Jessie. Every time apache is upgraded through
unattended-upgrades, it isn't restarted.

Here's an excerpt from syslog:

  Feb 27 06:41:32 musomates systemd[1]: Starting LSB: Apache2 web server...
  Feb 27 06:41:32 musomates apache2[24650]: Starting web server: apache2.
  Feb 27 06:41:33 musomates apache2[24659]: Stopping web server: apache2.
  Feb 27 06:41:33 musomates systemd[1]: Started LSB: Apache2 web server.

Here's what it looks like when I run aptitude upgrade manually on a
different machine, not via unattended-upgrades:

  Feb 27 12:06:50 buildoneforme systemd[1]: Stopping LSB: Apache2 web
server...
  Feb 27 12:06:52 buildoneforme apache2[11958]: Stopping web server:
apache2.
  Feb 27 12:06:52 buildoneforme systemd[1]: Starting LSB: Apache2 web
server...
  Feb 27 12:06:52 buildoneforme apache2[11983]: Starting web server:
apache... <snip>
  Feb 27 12:06:53 buildoneforme systemd[1]: Started LSB: Apache2 web server.

On the machine with unattended-upgrades running, it looks like it's
trying to start apache before stopping it. Obviously it should be the
other way round.

Anyone have a clue what's going on here?

Yasir