Description of problem:
Instead of:
/var/lock/lvm
/var/run/lvm
please configure lvm2 to use by default:
/run/lock/lvm
/run/lvm
/run is that it is a read-write dir guaranteed to be available in early boot. The advantage of using /run is that file-based locking will be available all the time, even before /var is available. It should allow us to drop the use of '--sysinit' from the vgchange call in initscripts, making it safer for concurrency.
Version-Release number of selected component (if applicable):
lvm2-2.02.86-5.fc16
currently uses %{_localstatedir}
can certainly replace with whatever spec file macros now expand to those new locations and specify them as defaults set by %configure
This change won't support package upgrade unless we make the code check both old and new locations, so only apply for new installs i.e. rawhide or not-yet-released distro version - no backports to earlier Fedora vsns.