Your message dated Tue, 05 Nov 2013 09:20:08 +0000
with message-id <e1vdcnw-0007p4...@franck.debian.org>
and subject line Bug#726296: fixed in multipath-tools 0.4.9+git0.9c3c5172-1
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.9c3c5172-1
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.
Ritesh Raj Sarraf <r...@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: Tue, 05 Nov 2013 12:38:57 +0530
Source: multipath-tools
Binary: multipath-tools multipath-tools-dbg kpartx multipath-tools-boot
multipath-udeb
Architecture: source amd64 all
Version: 0.4.9+git0.9c3c5172-1
Distribution: unstable
Urgency: low
Maintainer: Debian LVM Team <pkg-lvm-maintain...@lists.alioth.debian.org>
Changed-By: Ritesh Raj Sarraf <r...@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: 716655 726296 726311
Changes:
multipath-tools (0.4.9+git0.9c3c5172-1) unstable; urgency=low
.
* [b6f1bce] Emphasize on the alias feature.
Thanks to Vincent McIntyre (Closes: #716655)
* [3eab3e3] Restore multipath's dependence on dmsetup_env tool.
Thanks to Salvatore Bonaccorso, Gordon Grubert (Closes: #726296, #726311)
* [1bcf079] Imported Upstream version 0.4.9+git0.9c3c5172
* [62c8f71] Update README.source with updated instructions
* [3b4c3db] Enable standard hardening knobs
* [54ea833] Add build dependency on libudev-dev
* [94c01e4] Ship mpath persist manpages in the multipath-tools package
* [d09e731] Update multipath-tools.install for mpathpersist
* [997abf1] Fix Vcs links
Checksums-Sha1:
dd067d38581fdf964dde40ddabafbd17f61f1c60 2442
multipath-tools_0.4.9+git0.9c3c5172-1.dsc
675a1a69b4b79c41fa1864275e1a8550e5bc47af 261558
multipath-tools_0.4.9+git0.9c3c5172.orig.tar.gz
cf27ba36d81ef5f329c8d0e95933c7208ae019aa 29607
multipath-tools_0.4.9+git0.9c3c5172-1.debian.tar.gz
ae93d3ed1418e5a19cd68e53c2afe9ba2f968216 195048
multipath-tools_0.4.9+git0.9c3c5172-1_amd64.deb
72e3efc741fe6800c46d33a4d97a674a5a509576 385610
multipath-tools-dbg_0.4.9+git0.9c3c5172-1_amd64.deb
3caad119d826b6266078cff4adc9402052d5642f 29872
kpartx_0.4.9+git0.9c3c5172-1_amd64.deb
3cd645bd236687e2df12f9e0ed6cd304c63276a2 16070
multipath-tools-boot_0.4.9+git0.9c3c5172-1_all.deb
a07cb21d1a9c0ada9646acaf9f5bc200ee3cee7f 133070
multipath-udeb_0.4.9+git0.9c3c5172-1_amd64.udeb
Checksums-Sha256:
9d34a4e60a712cf28e4805f3f4c7f239ae85fa286e4ec8fce89f94e77abfbd7f 2442
multipath-tools_0.4.9+git0.9c3c5172-1.dsc
0ec60934aaeec544612c3e1f062424b6e96b01ba97afd31b7d5530a8552c62b4 261558
multipath-tools_0.4.9+git0.9c3c5172.orig.tar.gz
39485859b3772bdcaf9be1134ab918a268ae6013fca16d3d4dcf9f746be90fe1 29607
multipath-tools_0.4.9+git0.9c3c5172-1.debian.tar.gz
805dc5cc165db9f15d1a6871f8b284f85c90b2c0b39e0b2d16eebf0426dff9ba 195048
multipath-tools_0.4.9+git0.9c3c5172-1_amd64.deb
60ee39deabcca8da4d69c03a68fd969c3d8885b3e74a9914465f226a539781d8 385610
multipath-tools-dbg_0.4.9+git0.9c3c5172-1_amd64.deb
a5c073ea99ece8465bac8a0a2af42df8598167763f90b217cd815e4c5ad1ca7d 29872
kpartx_0.4.9+git0.9c3c5172-1_amd64.deb
41d6c3ef140d9d2b7359bdd58343c83a21d5fa97c564742cc87f37aca79153a8 16070
multipath-tools-boot_0.4.9+git0.9c3c5172-1_all.deb
56dbc2b37327315e5e42137dd7ecb9faa750924a247e14e5ffecf9ec07e66d91 133070
multipath-udeb_0.4.9+git0.9c3c5172-1_amd64.udeb
Files:
e5955724980f7e6d24a0f625ce63dfa6 2442 admin extra
multipath-tools_0.4.9+git0.9c3c5172-1.dsc
7ffe25ad90572c4462f0404c95dbfdf8 261558 admin extra
multipath-tools_0.4.9+git0.9c3c5172.orig.tar.gz
8df59eee98fd54772bfaa50b5d007dc2 29607 admin extra
multipath-tools_0.4.9+git0.9c3c5172-1.debian.tar.gz
e656008b8249bcb76b1f595012060787 195048 admin extra
multipath-tools_0.4.9+git0.9c3c5172-1_amd64.deb
8f9eb4df861c6a7686eb12cc70047d97 385610 debug extra
multipath-tools-dbg_0.4.9+git0.9c3c5172-1_amd64.deb
ac708b47250f9250568002b32f61b8fe 29872 admin extra
kpartx_0.4.9+git0.9c3c5172-1_amd64.deb
8de5a235ccb79c5d68a116747eb5eb91 16070 admin extra
multipath-tools-boot_0.4.9+git0.9c3c5172-1_all.deb
0bccd897771fec9bd9bc24538badbddd 133070 debian-installer extra
multipath-udeb_0.4.9+git0.9c3c5172-1_amd64.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCgAGBQJSeKhHAAoJEKY6WKPy4XVpJI8P/1xybZzYJ3INGZGmfAil2q+6
4BtWaqbiYkSjasJ7fy440IME5skSiihoN/4To+xh034vqXXIvVSSzdz3bBtQNeDE
tn7XdR1YVkp7WFVhoxOAeEPapIf+ze7sgbW6fjc5Fj5yIRpMwMixLxB5XlVDYoOa
JuyYnOXcxUMPiPnEeKm4OKuA52V61QtdT4iYWl+WW/kFDO6d4aPdsFgHB1wZ2YI5
1oFtL4kUVcJY+piKNGMlpM1xyS7DQNwvk3So8AYu02mAqGupJQ8NPXewCMc00HJQ
kki5e/b9egZ/+1mBWGuxn26hnqNcWXQn3nOVv69IoHsxs1tBgbLEO1BorslZU+f8
c2CFZUIDGnff0fLb/0Ik9Zzcz+l7/h+1RQzHoqQmIYZDHMKySTzAwSN8A7ejdnT8
TcIvKK7taap15vJSUXN1umlrCcd8zOr8RZJMN31d33vdd6PL4AzyR4XtNmXyLD5+
pDCHtkBHrMjiMt9ccuheo5Q0Ier+xJKc9s8oXOCAA2m6BzgaNo4y7nS8MZSba5A3
uHFiZveRGAhqqugAwgVR/Ux5PewbeadeRosMfsLG9AZIF4la5MKhnWuEkaTTqezX
KCyEAhhGq1BI+y4ivDe7dXGh8yUEXjPTBS0kyfZMiLGVSjdGEbAYeVoXS4ImjsDr
x2AgIgmv7H7qDPq/7xR4
=PIRV
-----END PGP SIGNATURE-----
--- End Message ---