Changeset 2430 in MondoRescue for branches/2.2.8.selinux


Ignore:
Timestamp:
Sep 28, 2009, 12:08:31 PM (15 years ago)
Author:
Bruno Cornec
Message:

(Backport from 2.2.9)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8.selinux/mindi/analyze-my-lvm

    r2072 r2430  
    8282    current_VG=$1
    8383    VG_info_file=$MINDI_TMP/$$.vg-info.txt
    84     $LVMCMD vgdisplay $current_VG > $VG_info_file
     84    # We use cat here as a way to avoid SElinux to prevent us from writing in $VG_info_file
     85    $LVMCMD vgdisplay $current_VG | cat > $VG_info_file
    8586    max_logical_volumes=`GetValueFromField "$VG_info_file" "MAX LV"`
    8687    [ $max_logical_volumes -ge 256 ] && max_logical_volumes=255
Note: See TracChangeset for help on using the changeset viewer.