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

Ritesh Raj Sarraf rrs at debian.org
Fri Jun 17 11:52:14 UTC 2016


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.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catch-partitioned-devices-dmuuid.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160617/9b4af004/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160617/9b4af004/attachment.sig>


More information about the pkg-lvm-maintainers mailing list