ClusterLabs/resource-agents — pull request #250 by davidvossel (2013-05-30 21:31:17+00:00)
Title: Medium: build: Place resource state information in /var/run/... by default

We need the localstatedir variable to point to /var instead of /usr/var.
This defauls the resource temporary storage to live under /var/run instead
of /usr/var/run. This distinction is very important as the /var/run
directory is cleaned on startup in many distros, while the /usr/var/run
directory is not. By not having the resource agents place things such
as pid files into temporary storage, bad things can happen if those pid
files persist after a restart... Such as resource agents thinking they are
running after a restart because the pid file still exists and some
new process is using the same pid.