Ignore:
Timestamp:
Nov 10, 2008, 3:58:08 AM (15 years ago)
Author:
broder
Message:

Fix the sysvm startup lock cleanup

Location:
trunk/packages/invirt-xen-config/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/debian/changelog

    r1580 r1591  
     1invirt-xen-config (0.0.14) unstable; urgency=low
     2
     3  * Throw away any output from LVM commands while starting sysvms
     4  * Correctly delete the lock LVs
     5
     6 -- Evan Broder <broder@mit.edu>  Mon, 10 Nov 2008 03:57:09 -0500
     7
    18invirt-xen-config (0.0.13) unstable; urgency=low
    29
  • trunk/packages/invirt-xen-config/debian/invirt-xen-config.init

    r1580 r1591  
    5757   
    5858        # Cleanup the lock, regardless of whether we started the LV
    59         lvchange -a n "/dev/xenvg/lock_${LV}"
    60         lvremove -f "/dev/xenvg/lock_${LV}"
     59        lvchange -a n "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
     60        lvchange -a ey "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
     61        lvremove -f "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
    6162    fi
    6263   
Note: See TracChangeset for help on using the changeset viewer.