Interesting. I ran into this issue while upgrading my Linux Mint from 21
to 22. I assume during upgrade the symlink isn't there yet and I
manually edited the hook to workaround the issue.

Do you think this is a use case that needs to be fixed? If not, this
issue can be closed.

** Description changed:

  noble: kpartx-boot initramfs hook refers to
  /lib/udev/rules.d/56-dm-parts.rules
  /lib/udev/rules.d/68-del-part-nodes.rules
  /lib/udev/rules.d/95-kpartx.rules
  
  while kpartx has the files at
  /usr/lib/udev/rules.d/56-dm-parts.rules
  /usr/lib/udev/rules.d/68-del-part-nodes.rules
  /usr/lib/udev/rules.d/95-kpartx.rules
+ 
+ This results in the following error during Linux Mint upgrade:
+ ```
+ cp: cannot stat '/lib/udev/rules.d/56-dm-parts.rules': No such file or 
directory
+ cp: cannot stat '/lib/udev/rules.d/68-del-part-nodes.rules': No such file or 
directory
+ cp: cannot stat '/lib/udev/rules.d/95-kpartx.rules': No such file or directory
+ E: /usr/share/initramfs-tools/hooks/kpartx failed with return 1.
+ ```

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

Title:
  noble: kpartx-boot initramfs hook references wrong path

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to