Surprisingly, I am not able to reproduce this bug, now, on my virtual setup.
Here, the updation to /dev/mapper/ entries are instant as and when partitions
are deleted, without the patch proposed in this bug report.

So inclusion of this patch will depend on the bug reporter's results. We also
need to determine the cause of the bug because it is not just reproducible with
in a partitioned block device environment.



On Fri, 2016-06-17 at 18:11 +0530, Ritesh Raj Sarraf wrote:
> 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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to