Comment 0 for bug 980180

Revision history for this message
Brad Jones (brad-jones) wrote : Apache RA doesn't create /var/run/apache2

Summary: the apache heartbeat RA that ships with both the universe package and PPA does not include a line to guarantee the existence of /var/run/apache2, which is usually done by apache2ctl. Since crm calls the RA, which in turn directly calls the apache2 daemon, this bit of housekeeping never gets done.

I originally raised this in https://github.com/ClusterLabs/resource-agents/issues/70 but then realized this PPA isn't in sync with what they're doing there. (I'm guessing this package is downstream from that?)

The line in question, at that remote repo, is https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/apache#L177

I discovered this bug in the course of setting up a Linux HA cluster locally. The line I'm proposing be added is also absent from the universe cluster-agents package that ships with lucid. (See http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/cluster-agents/lucid-proposed/view/head:/heartbeat/apache#L399)

I'd submit a patch but I am not much up to speed on bzr... it's one line though so not too complex.