Use Debian-specific partx path in kpartx rule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bionic |
In Progress
|
Undecided
|
Chengen Du | ||
Focal |
Fix Committed
|
Undecided
|
Chengen Du |
Bug Description
[Impact]
The issue arises from the installation of the udev rules file /lib/udev/
This file references /usr/sbin/partx, but on Debian, partx is located in /usr/bin.
This incorrect path leads to the following error:
systemd-
[Fix]
The upstream has a patched fix available.
https:/
[Test Plan]
1. Prepare a VM with two NICs and setup an iSCSI target
root@focal:~# cat /etc/tgt/
<target iqn.2024-
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-
5. Confirm that there is no following error in /var/log/syslog
systemd-
[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.
description: | updated |
debdiff for Bionic