Changeset 2342 in MondoRescue for branches/2.2.9/mindi/analyze-my-lvm


Ignore:
Timestamp:
Aug 21, 2009, 4:27:10 PM (11 years ago)
Author:
Bruno Cornec
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/analyze-my-lvm

    r2244 r2342  
    8686    current_VG=$1
    8787    VG_info_file=$MINDI_TMP/$$.vg-info.txt
    88     $LVMCMD vgdisplay $current_VG > $VG_info_file
     88    # We use cat here as a way to avoid SElinux to prevent us from writing in $VG_info_file
     89    $LVMCMD vgdisplay $current_VG | cat > $VG_info_file
    8990    max_logical_volumes=`GetValueFromField "$VG_info_file" "MAX LV"`
    9091    [ $max_logical_volumes -ge 256 ] && max_logical_volumes=255
Note: See TracChangeset for help on using the changeset viewer.