On Fri, 2016-06-17 at 17:22 +0530, Ritesh Raj Sarraf wrote: > On Fri, 2016-06-17 at 17:17 +0530, Ritesh Raj Sarraf wrote: > > Handle (broken?) DM Device partitions > > Debian Bug: #827412 > > --- a/kpartx/kpartx.rules > > +++ b/kpartx/kpartx.rules > > @@ -37,7 +37,7 @@ > > # Create dm tables for partitions > > ENV{DM_ACTION}=="PATH_FAILED|PATH_REINSTATED", GOTO="kpartx_end" > > ENV{DM_NR_VALID_PATHS}=="0", GOTO="kpartx_end" > > -ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*", \ > > +ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath*-* | part*-mpath-*", \ > > RUN+="/sbin/kpartx -u -p -part /dev/$name" > > Pfff. Please find the correct one attached.
And there was 1 more error on my part. Revised patch attached. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
Handle (broken?) DM Device partitions Debian Bug: #827412 --- a/kpartx/kpartx.rules +++ b/kpartx/kpartx.rules @@ -37,7 +37,7 @@ # Create dm tables for partitions ENV{DM_ACTION}=="PATH_FAILED|PATH_REINSTATED", GOTO="kpartx_end" ENV{DM_NR_VALID_PATHS}=="0", GOTO="kpartx_end" -ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*", \ +ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*|part*-mpath-*", \ RUN+="/sbin/kpartx -u -p -part /dev/$name" LABEL="kpartx_end"
signature.asc
Description: This is a digitally signed message part