Your message dated Mon, 14 Oct 2013 21:47:05 +0000
with message-id <e1vvpyj-0003lb...@franck.debian.org>
and subject line Bug#726296: fixed in multipath-tools
0.4.9+git0.4dfdaf2b-7~deb7u2
has caused the Debian Bug report #726296,
regarding kpartx: [regression] missing workaround in
/lib/udev/rules.d/60-kpartx.rules after kpartx update: does not create/update
anymore partitions mappings
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
726296: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726296
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kpartx
Version: 0.4.9+git0.4dfdaf2b-7~deb7u1
Severity: serious
Justification: regression from previous version
Hi
After the wheezy point release and updating multipath-tools and kpartx
to 0.4.9+git0.4dfdaf2b-7~deb7u1 symlinks in /dev/disk/by-id and
/dev/mapper for partitions are not created anymore:
https://lists.debian.org/debian-release/2013/10/msg00559.html
# ls -l /dev/dm-1
brw-rw---T 1 root disk 253, 1 Oct 14 08:50 /dev/dm-1
# /sbin/dmsetup -c --noheadings info -j253 -m1
360050768018086336800000000000293:253:1:L--w:0:1:1:mpath-360050768018086336800000000000293
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oUUID
mpath-360050768018086336800000000000293
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oattr
L--w
# /sbin/dmsetup -c --noheadings info -j253 -m1 -oname
360050768018086336800000000000293
# ls -l /dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293*
lrwxrwxrwx 1 root root 10 Oct 14 08:50
/dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293 -> ../../dm-1
# ls -l /dev/mapper/360050768018086336800000000000293*
lrwxrwxrwx 1 root root 7 Oct 14 08:50
/dev/mapper/360050768018086336800000000000293 -> ../dm-1
Now only running manually, works:
# kpartx -u -p -part /dev/dm-1
gives me
# ls -l /dev/mapper/360050768018086336800000000000293*
lrwxrwxrwx 1 root root 7 Oct 14 08:50
/dev/mapper/360050768018086336800000000000293 -> ../dm-1
lrwxrwxrwx 1 root root 7 Oct 14 09:10
/dev/mapper/360050768018086336800000000000293-part1 -> ../dm-4
# ls -l /dev/disk/by-id/dm-uuid-*mpath-360050768018086336800000000000293*
lrwxrwxrwx 1 root root 10 Oct 14 08:50
/dev/disk/by-id/dm-uuid-mpath-360050768018086336800000000000293 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 14 09:10
/dev/disk/by-id/dm-uuid-part1-mpath-360050768018086336800000000000293 ->
../../dm-4
If I downgrade to 0.4.9+git0.4dfdaf2b-6 this works again, and after
booting both symlinks in /dev/disk/by-id and /dev/mapper are also
present again.
Looking at the difference for the kpartx binary package in
/lib/udev/rules.d/60-kpartx.rules:
----cut---------cut---------cut---------cut---------cut---------cut-----
ld/lib/udev/rules.d/60-kpartx.rules new/lib/udev/rules.d/60-kpartx.rules
--- old/lib/udev/rules.d/60-kpartx.rules 2012-05-28 14:55:58.000000000
+0200
+++ new/lib/udev/rules.d/60-kpartx.rules 2013-07-01 09:01:56.000000000
+0200
@@ -7,10 +7,6 @@
KERNEL!="dm-*", GOTO="kpartx_end"
ACTION=="remove", GOTO="kpartx_end"
-# This is a temporary hack until Debian's dmsetup properly supports "dmsetup
-# export". For more information see: #434241, #487881, #493078
-IMPORT{program}="dmsetup_env %M %m"
-
ENV{DM_TABLE_STATE}!="LIVE", GOTO="kpartx_end"
ENV{DM_UUID}=="?*", IMPORT{program}=="kpartx_id %M %m $env{DM_UUID}"
@@ -21,19 +17,13 @@
ENV{DM_UUID}=="mpath-*", \
SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}"
-# Create persistent links for dmraid tables
-ENV{DM_UUID}=="dmraid-*", \
- SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}"
-
# Create persistent links for partitions
ENV{DM_PART}=="?*", \
SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}"
# Create dm tables for partitions
ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \
- RUN+="/sbin/kpartx -a -p -part /dev/$name"
-ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="dmraid-*", \
- RUN+="/sbin/kpartx -a -p -part /dev/$name"
+ RUN+="/sbin/kpartx -u -p -part /dev/$name"
LABEL="kpartx_end"
----cut---------cut---------cut---------cut---------cut---------cut-----
In particular the first hunk, where the workaround vi dmsetup_env is
missing so the subsequent rules does not get run.
Regards,
Salvatore
--- End Message ---
--- Begin Message ---
Source: multipath-tools
Source-Version: 0.4.9+git0.4dfdaf2b-7~deb7u2
We believe that the bug you reported is fixed in the latest version of
multipath-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 726...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Salvatore Bonaccorso <car...@debian.org> (supplier of updated multipath-tools
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 14 Oct 2013 16:06:08 +0200
Source: multipath-tools
Binary: multipath-tools multipath-tools-dbg kpartx multipath-tools-boot
multipath-udeb
Architecture: source amd64 all
Version: 0.4.9+git0.4dfdaf2b-7~deb7u2
Distribution: stable-proposed-updates
Urgency: low
Maintainer: Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org>
Changed-By: Salvatore Bonaccorso <car...@debian.org>
Description:
kpartx - create device mappings for partitions
multipath-tools - maintain multipath block device access
multipath-tools-boot - Support booting from multipath devices
multipath-tools-dbg - maintain multipath block device access - debugging
symbols
multipath-udeb - maintain multipath block device access - udeb package (udeb)
Closes: 726296 726311
Changes:
multipath-tools (0.4.9+git0.4dfdaf2b-7~deb7u2) stable-proposed-updates;
urgency=low
.
* Non-maintainer upload.
* Restore "dmsetup export" workaround for Debian.
The hunk using /lib/udev/dmsetup_env to gather device-mapper information
needed was lost in the -7 Debian revision upload. Restore the udev rule
based on the upstream one.
Revert copying of kpartx/kpartx.rules from upstream sources.
(Closes: #726296, #726311)
Checksums-Sha1:
5f39204bcf3188f2f6fdd8089bbf27f81470041b 2423
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.dsc
f3a1d12404dca7737023de6290a3b098a870306e 29886
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.debian.tar.gz
0b5fcbac15609eaedaeaf9764749ae036ce44464 208714
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
8a6c2d6b3dc225f217d780a51b26148be7b5f071 497298
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
63f0d4132fbda96239c9a9c5e69f12af91bf6dd3 32580
kpartx_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
533933cb20a2e8adfd5fbc894f984c24e9bcb0b0 16308
multipath-tools-boot_0.4.9+git0.4dfdaf2b-7~deb7u2_all.deb
99752bbda5dc764b239d31cfc047252b469f5a45 128560
multipath-udeb_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.udeb
Checksums-Sha256:
4c356694608263c2ebae94972f3a0f19d1d39ddcca82532312c54835d2a0eab6 2423
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.dsc
0d6d56c107c3ee05da51e2e0db952266b0a419113645776d0e42029a7b93cd06 29886
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.debian.tar.gz
b231f11832d293103e5d5c661286dd2b078ebaebd0bb8ea6bb1370d277fabb31 208714
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
79a49cb8df026c86ccb9c27006b6010d2b8910976e86d406a405b28e53d3534d 497298
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
a8f41de8f01400fdf96277c29a2d9e1f6a8e6476e74ff3b968e6c3fd2df96353 32580
kpartx_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
7fffd6bcd4ee4e3ca16ecc31ae85939ecff25432491bec7c9c1f69bab540b175 16308
multipath-tools-boot_0.4.9+git0.4dfdaf2b-7~deb7u2_all.deb
fce65e53a05b536ac546479dc0ed72172068fcc42d77d3f94505d9d87f8d184c 128560
multipath-udeb_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.udeb
Files:
aa9c5ea62f01362974d2f21a0714f910 2423 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.dsc
db68343db6efeda83edbd4f59cdfbff9 29886 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2.debian.tar.gz
5819dd71111c9d406d143463bce063c9 208714 admin extra
multipath-tools_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
ef12b81774cff0d1453393f01f332fe4 497298 debug extra
multipath-tools-dbg_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
dfc58b37424fc45615c658b7e5559b8c 32580 admin extra
kpartx_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.deb
48172f89534e479ec90f9b55d59189cb 16308 admin extra
multipath-tools-boot_0.4.9+git0.4dfdaf2b-7~deb7u2_all.deb
3d1ebd72aeb6a6de5aea37f99ea5da99 128560 debian-installer extra
multipath-udeb_0.4.9+git0.4dfdaf2b-7~deb7u2_amd64.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCgAGBQJSXFNaAAoJEAVMuPMTQ89EM5sP/iADps4en9JrHpIht1m/3ggt
L9DGe6bkaXIXStQQleEWk498sAKYPNrd81Gv5bmK6lZs5tTE9ReN3SxZTlYq04W0
qau8i5Vg2VSz7Hn7dW2htyz6Pg1utO36BVL7f2EBJulP3Pdt4mqw+3mdWkg942DS
0NC6av52ineF6sPSTgtf6hQO5nnVtoRWj2lBHtRgdhoHtPSO5AnFxQOvtIYdi5m7
KLO02UNhABRmzbPtKFolD3BFFshKL1e+8pPkYe/0f5V0HRbUtpxYUxOTXWXiTLwc
Vx+0BLIjMkmnX4qkSsVWcpY9ovX9WZ9i4mpe3gibRSyVlTBFj/5QNIxS1cYG67aH
v8ZsD813CMPGKHWATdtoMXGMg5+a5kZw/q8YZaQLfo68zJ/USTA5/k8akpdSn/Dw
o4z0gTvco8Q5iP1NGRggfghYBALSdQ/m2I94OMm8hVZHN4Kds7B2UD7duQnVeXIF
kOVJj58pAA0t1Ku/cdi444NaBNdN4uHwulL5OJeaRD9luFE4hCyfa5nLCXOTSHsj
ili5CjLDPrSbT1r6059fKsGL9n7fcEPTg8fmyEIMt3rEMa3t/sqgJkd+w/pqcm99
h9Kf+YSNSVfAt8EV537hkIjWRVo82nFHvmHOzw/7VEHo3phJwLlzxO8T0Yr0PJBJ
7OrT3hRG+lrYUyoj8zYT
=BZk5
-----END PGP SIGNATURE-----
--- End Message ---