From 66c4b5a3a8de83763211c62baa027ce3f221b3d094ab94750944bc199dc3898b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Wed, 24 Oct 2012 16:12:49 +0000 Subject: [PATCH] Accepting request 138717 from home:sumski:branches:home:fcrozat:branches:Base:System Change the default locking dir to reflect the change in filesystem package OBS-URL: https://build.opensuse.org/request/show/138717 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=44 --- lvm.conf | 2 +- lvm2.changes | 5 +++++ lvm2.spec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lvm.conf b/lvm.conf index bfe5162..e3804f9 100644 --- a/lvm.conf +++ b/lvm.conf @@ -204,7 +204,7 @@ global { # Local non-LV directory that holds file-based locks while commands are # in progress. A directory like /tmp that may get wiped on reboot is OK. - locking_dir = "/var/lock/lvm" + locking_dir = "/run/lock/lvm" # Other entries can go here to allow you to load shared libraries # e.g. if support for LVM1 metadata was compiled as a shared library use diff --git a/lvm2.changes b/lvm2.changes index 9b3464f..6b46a7d 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 18 12:35:30 UTC 2012 - hrvoje.senjan@gmail.com + +- Change the default locking dir to reflect the change in filesystem package + ------------------------------------------------------------------- Wed Oct 17 23:01:54 UTC 2012 - nfbrown@suse.com diff --git a/lvm2.spec b/lvm2.spec index c3c53fd..dea17a5 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -109,7 +109,7 @@ export MODPROBE_CMD=/sbin/modprobe --enable-cmdlib --enable-dmeventd \ --enable-realtime --enable-pkgconfig \ --enable-selinux \ - --with-clvmd=corosync --datarootdir=/usr/share + --with-clvmd=corosync --datarootdir=/usr/share --with-default-locking-dir=/run/lock/lvm export SUSE_ASNEEDED=0 make -j1 # symlinks are generated in parallel! %{?_smp_mflags}