Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-20 Thread Andrew Patterson
On Mon, 20 Jun 2016 23:09:30 +0530 Ritesh Raj Sarraf wrote: > Control: tag -1 +moreinfo > > I was thinking about this bug again, and I think the bug must be elsewhere. > > Andrew: Are you able to consistently reproduce this bug on multiple setups ? > > > The reason I think

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-20 Thread Ritesh Raj Sarraf
Control: tag -1 +moreinfo I was thinking about this bug again, and I think the bug must be elsewhere. Andrew: Are you able to consistently reproduce this bug on multiple setups ? The reason I think this bug may not be valid is for 2 reasons: 1) If the bug was valid, it should have been

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-20 Thread Ritesh Raj Sarraf
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

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-17 Thread Ritesh Raj Sarraf
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

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-17 Thread Ritesh Raj Sarraf
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",

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-17 Thread Ritesh Raj Sarraf
On Fri, 2016-06-17 at 14:32 +0530, Ritesh Raj Sarraf wrote: > > > To be honest, I'm a little lost now. This last line looks like where the bug > is, > but again, if this is the bug, I can't see a reason why the patch worked on > it. > > Can you run the following command on the device that you

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-17 Thread Ritesh Raj Sarraf
On Thu, 2016-06-16 at 12:51 -0600, Andrew Patterson wrote: > lrwxrwxrwx 1 root root 10 Jun 16 12:48 dm-uuid-mpath- > 360002ac0190428be -> ../../dm-0 > lrwxrwxrwx 1 root root 10 Jun 16 12:47 dm-uuid-mpath- > 360002ac0190528be -> ../../dm-1 > lrwxrwxrwx 1 root root 10

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Andrew Patterson
On Thu, 16 Jun 2016 22:54:08 +0530 Ritesh Raj Sarraf wrote: > On Thu, 2016-06-16 at 22:47 +0530, Ritesh Raj Sarraf wrote: > > On Thu, 2016-06-16 at 22:35 +0530, Ritesh Raj Sarraf wrote: > > > Control: tag -1 +pending > > >Â > > > On Thu, 2016-06-16 at 10:48 -0600, Andrew

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Ritesh Raj Sarraf
On Thu, 2016-06-16 at 22:47 +0530, Ritesh Raj Sarraf wrote: > On Thu, 2016-06-16 at 22:35 +0530, Ritesh Raj Sarraf wrote: > > Control: tag -1 +pending > >  > > On Thu, 2016-06-16 at 10:48 -0600, Andrew Patterson wrote: > > > On Thu, 16 Jun 2016 16:15:54 +0530 Ritesh Raj Sarraf >

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Ritesh Raj Sarraf
Control: tag -1 -pending On Thu, 2016-06-16 at 22:35 +0530, Ritesh Raj Sarraf wrote: > Control: tag -1 +pending > > On Thu, 2016-06-16 at 10:48 -0600, Andrew Patterson wrote: > > On Thu, 16 Jun 2016 16:15:54 +0530 Ritesh Raj Sarraf > > wrote: > > > Control: tag -1 +confirmed >

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Ritesh Raj Sarraf
Control: tag -1 +pending On Thu, 2016-06-16 at 10:48 -0600, Andrew Patterson wrote: > On Thu, 16 Jun 2016 16:15:54 +0530 Ritesh Raj Sarraf wrote: > > Control: tag -1 +confirmed > >  > >  > > Can you please try the attached patch ? > >  > >  > >  > > That works: Thank you very

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Andrew Patterson
On Thu, 16 Jun 2016 16:15:54 +0530 Ritesh Raj Sarraf wrote: > Control: tag -1 +confirmed > > > Can you please try the attached patch ? > > > That works: # ls -l /dev/mapper total 0 crw--- 1 root root 10, 236 Jun 16 10:23 control lrwxrwxrwx 1 root root 7 Jun 16

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-16 Thread Ritesh Raj Sarraf
Control: tag -1 +confirmed Can you please try the attached patch ? On Wed, 2016-06-15 at 15:31 -0600, Andrew Patterson wrote: > Package: multipath-tools > Version: 0.6.1 > > Multipath-tools creates device files in /dev/mapper for both the block > device and its partitions. The partition

Bug#827412: multipath-tools: /dev/mapper device files not removed when partition is removed

2016-06-15 Thread Andrew Patterson
Package: multipath-tools Version: 0.6.1 Multipath-tools creates device files in /dev/mapper for both the block device and its partitions. The partition device file use the format /dev/mapper/-partX, where X is the partition number. Example: Configuration details: Testing on an amd64 system