]> TLD Linux GIT Repositories - packages/lvm2.git/commitdiff
- fix lockfiles paths
authorMarcin Krol <hawk@tld-linux.org>
Tue, 6 Oct 2015 06:08:00 +0000 (06:08 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 6 Oct 2015 06:08:00 +0000 (06:08 +0000)
lvm2-tld_init.patch

index 3d9f95a04351ebc2a21d6f53001fd26d45903643..b34ec12ec59ac72c712f63d033feabcceb799b6e 100644 (file)
@@ -245,7 +245,7 @@ diff -ur LVM2.2.02.132.orig/scripts/clvmd_init_red_hat.in LVM2.2.02.132/scripts/
 +exit $RETVAL
 diff -ur LVM2.2.02.132.orig/scripts/lvm2_lvmetad_init_red_hat.in LVM2.2.02.132/scripts/lvm2_lvmetad_init_red_hat.in
 --- LVM2.2.02.132.orig/scripts/lvm2_lvmetad_init_red_hat.in    2015-09-22 15:00:59.000000000 +0000
-+++ LVM2.2.02.132/scripts/lvm2_lvmetad_init_red_hat.in 2015-10-05 12:31:30.993042000 +0000
++++ LVM2.2.02.132/scripts/lvm2_lvmetad_init_red_hat.in 2015-10-06 06:06:01.799042000 +0000
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -257,13 +257,14 @@ diff -ur LVM2.2.02.132.orig/scripts/lvm2_lvmetad_init_red_hat.in LVM2.2.02.132/s
  . /etc/init.d/functions
  
 -DAEMON=lvmetad
--
--exec_prefix=@exec_prefix@
--sbindir=@sbindir@
 +DAEMON="lvmetad"
 +NAME="LVM metadata daemon"
  
- LOCK_FILE="/var/lock/subsys/$DAEMON"
+-exec_prefix=@exec_prefix@
+-sbindir=@sbindir@
+-
+-LOCK_FILE="/var/lock/subsys/$DAEMON"
++LOCK_FILE="/var/lock/subsys/lvm2-lvmetad"
  PID_FILE="@LVMETAD_PIDFILE@"
  
 -rh_status() {
@@ -380,7 +381,7 @@ diff -ur LVM2.2.02.132.orig/scripts/lvm2_lvmetad_init_red_hat.in LVM2.2.02.132/s
 +exit $RETVAL
 diff -ur LVM2.2.02.132.orig/scripts/lvm2_lvmpolld_init_red_hat.in LVM2.2.02.132/scripts/lvm2_lvmpolld_init_red_hat.in
 --- LVM2.2.02.132.orig/scripts/lvm2_lvmpolld_init_red_hat.in   2015-09-22 15:00:59.000000000 +0000
-+++ LVM2.2.02.132/scripts/lvm2_lvmpolld_init_red_hat.in        2015-10-05 12:31:30.993042000 +0000
++++ LVM2.2.02.132/scripts/lvm2_lvmpolld_init_red_hat.in        2015-10-06 06:07:04.889042000 +0000
 @@ -1,6 +1,6 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -405,13 +406,14 @@ diff -ur LVM2.2.02.132.orig/scripts/lvm2_lvmpolld_init_red_hat.in LVM2.2.02.132/
  . /etc/init.d/functions
  
 -DAEMON=lvmpolld
--
--exec_prefix=@exec_prefix@
--sbindir=@sbindir@
 +DAEMON="lvmpolld"
 +NAME="LVM poll daemon"
  
- LOCK_FILE="/var/lock/subsys/$DAEMON"
+-exec_prefix=@exec_prefix@
+-sbindir=@sbindir@
+-
+-LOCK_FILE="/var/lock/subsys/$DAEMON"
++LOCK_FILE="/var/lock/subsys/lvm2-lvmpolld"
  PID_FILE="@LVMPOLLD_PIDFILE@"
  
 -rh_status() {