systemd-dev should be what brings the pkgconfig for udev, but in this
case libudev-dev is more correct IMHO.

multipath-tools have no -dev package, and does so not by accident but actively 
by choice.
See [1]

```
        # Delete development files to prevent accidential linking of libraries 
with unlikely-to-be-stable ABI.
        rm \
                $(CURDIR)/debian/tmp/deb/usr/include/mpath_cmd.h \
                $(CURDIR)/debian/tmp/deb/usr/include/mpath_persist.h \
                $(CURDIR)/debian/tmp/udeb/usr/include/mpath_cmd.h \
                $(CURDIR)/debian/tmp/udeb/usr/include/mpath_persist.h \
```

To be clear the libs exist and are in multipath-tools, but they do not
ship headers due to the above.

```
-rw-r--r-- root/root     14648 2025-01-30 18:48 ./usr/lib/libmpathcmd.so.0
-rw-r--r-- root/root     39224 2025-01-30 18:48 ./usr/lib/libmpathpersist.so.0
-rw-r--r-- root/root     47424 2025-01-30 18:48 ./usr/lib/libmpathutil.so.0
-rw-r--r-- root/root    404112 2025-01-30 18:48 ./usr/lib/libmultipath.so.0
```

So AFAICS there won't be a way to link and use libmpathpersist, unless
changing multipath and considering it ok now to do so.

The documentation [2] is a bit unexpected, it isn't asking for headers/includes 
but only to be "available".
"qemu-pr-helper can do this if the libmpathpersist library was available on the 
system at build time."
So maybe it does work?
Yet AFIAICS [3] does test for the header include, so until tested and proven 
wrong I'd assume it does not.

That is all worth to discuss, but likely makes this a forward only
change to not SRU update someone to accidental and breaking
dependencies. At least let us sort it out for devel before considering
any active releases.

[1]: 
https://sources.debian.org/src/multipath-tools/0.11.1-2/debian/rules/?hl=53#L53
[2]: 
https://www.qemu.org/docs/master/system/pr-manager.html#multipath-devices-and-persistent-reservations
[3]: https://sources.debian.org/src/qemu/1%3A10.0.2%2Bds-1/meson.build/#L1410

** Changed in: qemu (Ubuntu)
       Status: New => Confirmed

** Changed in: qemu (Ubuntu)
   Importance: Undecided => Wishlist

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

Title:
  qemu-pr-helper doesn't have multipath support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2117378/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to