[Bug 2064201] Re: Use Debian-specific partx path in kpartx rule

Timo Aaltonen 2064201 at bugs.launchpad.net
Fri May 3 10:58:12 UTC 2024


Hello Chengen, or anyone else affected,

Accepted multipath-tools into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/multipath-
tools/0.8.3-1ubuntu2.4 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: multipath-tools (Ubuntu Focal)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2064201

Title:
  Use Debian-specific partx path in kpartx rule

Status in multipath-tools package in Ubuntu:
  New
Status in multipath-tools source package in Bionic:
  In Progress
Status in multipath-tools source package in Focal:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/2064201/+subscriptions




More information about the Ubuntu-sponsors mailing list