[Pkg-libvirt-maintainers] Bug#1057804: guestfsd: move /lib/udev/rules.d/99-guestfs-serial.rules into /usr
Chris Hofstaedtler
zeha at debian.org
Fri Dec 8 17:28:14 GMT 2023
Package: guestfsd
Version: 1:1.50.1-4+b3
Tags: patch
User: helmutg at debian.org
Usertags: dep17m2
Dear Maintainer,
your package installs a udev rule, into
/lib/udev/rules.d/99-guestfs-serial.rules. This path appears
hard-coded in the Debian packaging. Please move the rule into
/usr/lib/udev, in trixie.
Depending on your package and intentions to backport, at least these
options are available:
* Use dh_installudev. This will pick the right place, even if you
backport. Note that in unstable dh_installudev still installs into
/lib at the time of writing, but this will change soon. After a
binNMU or normal upload your package will change too.
* Use pkg-config --variable=udevdir udev to find the correct
location. Do not forget to append `/rules.d`.
Works also for backports.
* Use dh_movetousr. Should also work for backports.
If you decide to hardcode /usr/lib/udev/... instead, note that this
must be reverted for backports to bookworm or earlier.
If your package undergoes restructuring or files move between / and
/usr, please upload to experimental. See the wiki for details [1].
Thanks,
Chris
[1] https://wiki.debian.org/UsrMerge
More information about the Pkg-libvirt-maintainers
mailing list