Package: guestfsd
Version: 1:1.50.1-4+b3
Tags: patch
User: helm...@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

Reply via email to