Changeset 3484


Ignore:
Timestamp:
Nov 17, 2015, 12:00:28 PM (23 months ago)
Author:
bruno
Message:

Fix lvmetad usage on latest Debian (report from Hugo Vanwoerkom)

Location:
branches/3.2/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/deplist.d/lvm.conf

    r3274 r3484  
    9494/usr/sbin/lvscan
    9595
     96/sbin/lvmetad
    9697/usr/sbin/lvmetad
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3454 r3484  
    503503    if [ -e "/tmp/i-want-my-lvm" ] ; then
    504504        # Recent LVM need this caching daemon to work
     505        LVMETAD=""
     506        if [ -x /sbin/lvmetad ]; then
     507            LVMETAD="/sbin/lvmetad"
     508        fi
    505509        if [ -x /usr/sbin/lvmetad ]; then
     510            LVMETAD="/usr/sbin/lvmetad"
     511        fi
     512        if [ -x $LVMETAD ]; then
    506513            mkdir -p /run/lvm
    507             /usr/sbin/lvmetad
     514            $LVMETAD
    508515        fi
    509516        LogIt "Scanning LVM's..." 1
Note: See TracChangeset for help on using the changeset viewer.