From: Harald Hoyer Date: Thu, 5 Mar 2009 13:20:27 +0000 (+0100) Subject: serialize lvm calls with a subshell X-Git-Tag: 0.1~372 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca75dc510ba9b2a556b24cd8eb20720dda28aff2;p=thirdparty%2Fdracut.git serialize lvm calls with a subshell --- diff --git a/modules.d/90lvm/64-lvm.rules b/modules.d/90lvm/64-lvm.rules index 9f927d826..f74228729 100644 --- a/modules.d/90lvm/64-lvm.rules +++ b/modules.d/90lvm/64-lvm.rules @@ -8,7 +8,6 @@ SUBSYSTEM!="block", GOTO="lvm_end" ACTION!="add|change", GOTO="lvm_end" KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode" -ENV{ID_FS_TYPE}=="LVM2_member", RUN+="/sbin/lvm vgscan", RUN+="/sbin/lvm vgchange -ay" - +ENV{ID_FS_TYPE}=="LVM2_member", RUN+="/bin/sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -ay'" LABEL="lvm_end"