Package: heartbeat
Version: 1.2.3-9
Severity: normal
Tags: patch

The script /etc/ha.d/resource.d/LVM will not work with LVM2 utilities
due to changes in output and command line arguments. The attached patch
fixes it.

Thanks
Nikos

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages heartbeat depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  iproute                     20041019-3   Professional tools to control the 
ii  iputils-ping                3:20020927-2 Tools to test the reachability of 
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libglib1.2                  1.2.10-9     The GLib library of C routines
ii  libnet1                     1.1.2.1-2    library for the construction and h
ii  libpils0                    1.2.3-9      Plugin and Interface Loading Syste
ii  libstonith0                 1.2.3-9      Interface for remotely powering do
ii  python                      2.3.5-2      An interactive high-level object-o

-- no debconf information


This email has been independently scanned for viruses and any virus software 
has been removed using McAfee anti-virus software
105,106c105,106
<   vgdisplay $1 | grep -i 'Status.*available' >/dev/null
<   
---
>   vgdisplay -v $1 | grep -i 'Status[ \t]*available' >/dev/null
>       
114c114
<   VGOUT=`vgdisplay $1 2>&1`
---
>   VGOUT=`vgdisplay -v $1 2>&1`
116c116
<     echo "$VGOUT" | grep -i 'Status.*available' >/dev/null
---
>     echo "$VGOUT" | grep -i 'Status[ \t]*available' &>/dev/null
124c124
<     echo "$VGOUT" | grep -i 'Access.*read/write' >/dev/null
---
>     echo "$VGOUT" | grep -i 'Access.*read/write' &>/dev/null
158c158
<   run vgscan $1
---
>   run vgscan

Reply via email to