HomeClusterLabs Projects

Medium: build: Place resource state information in /var/run/... by default

Description

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.

Details

Provenance
David Vossel <dvossel@redhat.com>Authored on May 30 2013, 10:21 PM
Parents
rR776b83b88f2d: Merge pull request #226 from davidvossel/nfs_init_improvements
Branches
Unknown
Tags
Unknown

Event Timeline