[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.
[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] rules.d/ 68-del- part-nodes. rules by kpartx. udevd[3302364] : sdrg: Process '/usr/sbin/partx -d --nr 1-1024 /dev/sdrg' failed with exit code 1.
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] /salsa. debian. org/linux- blocks- team/multipath- tools/- /blob/master/ debian/ patches/ 0003-kpartx- rules-use- Debian- specific- partx-path. patch?ref_ type=heads
The upstream has a patched fix available.
https:/
[Test Plan] rules.d/ 68-del- part-nodes. rules.
1. Verify the udev file located at /lib/udev/
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.