Activity log for bug #2064201

Date Who What changed Old value New value Message
2024-04-30 07:20:01 Chengen Du bug added bug
2024-04-30 07:20:53 Chengen Du nominated for series Ubuntu Bionic
2024-04-30 07:20:53 Chengen Du bug task added multipath-tools (Ubuntu Bionic)
2024-04-30 07:20:53 Chengen Du nominated for series Ubuntu Focal
2024-04-30 07:20:53 Chengen Du bug task added multipath-tools (Ubuntu Focal)
2024-04-30 09:00:44 Chengen Du attachment added lp2064201-multipath-tools-bionic.debdiff https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/2064201/+attachment/5772882/+files/lp2064201-multipath-tools-bionic.debdiff
2024-04-30 09:01:21 Chengen Du attachment added lp2064201-multipath-tools-focal.debdiff https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/2064201/+attachment/5772884/+files/lp2064201-multipath-tools-focal.debdiff
2024-04-30 09:03:19 Chengen Du multipath-tools (Ubuntu Bionic): assignee Chengen Du (chengendu)
2024-04-30 09:03:21 Chengen Du multipath-tools (Ubuntu Focal): assignee Chengen Du (chengendu)
2024-04-30 09:03:29 Chengen Du multipath-tools (Ubuntu Bionic): status New In Progress
2024-04-30 09:03:33 Chengen Du multipath-tools (Ubuntu Focal): status New In Progress
2024-04-30 09:04:41 Chengen Du bug added subscriber Support Engineering Sponsors
2024-04-30 12:34:10 Ubuntu Foundations Team Bug Bot tags patch
2024-04-30 12:34:15 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors
2024-05-03 10:58:03 Timo Aaltonen multipath-tools (Ubuntu Focal): status In Progress Fix Committed
2024-05-03 10:58:05 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2024-05-03 10:58:08 Timo Aaltonen bug added subscriber SRU Verification
2024-05-03 10:58:11 Timo Aaltonen tags patch patch verification-needed verification-needed-focal
2024-05-06 10:25:00 Chengen Du description [Impact] The issue arises from the installation of the udev rules file /lib/udev/rules.d/68-del-part-nodes.rules by kpartx. This file references /usr/sbin/partx, but on Debian, partx is located in /usr/bin. This incorrect path leads to the following error: systemd-udevd[3302364]: sdrg: Process '/usr/sbin/partx -d --nr 1-1024 /dev/sdrg' failed with exit code 1. [Fix] The upstream has a patched fix available. https://salsa.debian.org/linux-blocks-team/multipath-tools/-/blob/master/debian/patches/0003-kpartx-rules-use-Debian-specific-partx-path.patch?ref_type=heads [Test Plan] 1. Verify the udev file located at /lib/udev/rules.d/68-del-part-nodes.rules. 2. Ensure that the path for partx matches the output of the "which partx" command. [Where problems could occur] The patch specifically targets a single udev rule responsible for deleting partition devnodes for slave devices associated with specific aggregate devices, like multipath. This modification solely adjusts the path of the partx command. If the path is incorrect, the devnode will persist. [Impact] The issue arises from the installation of the udev rules file /lib/udev/rules.d/68-del-part-nodes.rules by kpartx. This file references /usr/sbin/partx, but on Debian, partx is located in /usr/bin. This incorrect path leads to the following error: systemd-udevd[3302364]: sdrg: Process '/usr/sbin/partx -d --nr 1-1024 /dev/sdrg' failed with exit code 1. [Fix] The upstream has a patched fix available. https://salsa.debian.org/linux-blocks-team/multipath-tools/-/blob/master/debian/patches/0003-kpartx-rules-use-Debian-specific-partx-path.patch?ref_type=heads [Test Plan] 1. Prepare a VM with two NICs and setup an iSCSI target root@focal:~# cat /etc/tgt/conf.d/iscsi.conf <target iqn.2024-05.storage.com:disk1> backing-store /dev/sdX </target> 2. Prepare another VM and execute iSCSI discovery and login iscsiadm -m discovery -t sendtargets -p XXX iscsiadm -m node --login 3. Show multipath topology multipath -ll 4. Use the following command to trigger the udev rule udevadm trigger --subsystem-match="block" --name-match=sdX 5. Confirm that there is no following error in /var/log/syslog systemd-udevd[1788]: sdX: Process '/usr/sssbin/partx -d --nr 1-1024 /dev/sdX' failed with exit code 1. [Where problems could occur] The patch specifically targets a single udev rule responsible for deleting partition devnodes for slave devices associated with specific aggregate devices, like multipath. This modification solely adjusts the path of the partx command. If the path is incorrect, the devnode will persist.
2024-05-06 10:35:37 Chengen Du tags patch verification-needed verification-needed-focal patch verification-done verification-done-focal
2024-06-05 08:00:09 Launchpad Janitor multipath-tools (Ubuntu Focal): status Fix Committed Fix Released
2024-06-05 08:00:15 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2024-06-06 14:52:44 Benjamin Drung bug added subscriber Benjamin Drung
2024-06-06 14:52:46 Benjamin Drung removed subscriber Ubuntu Sponsors