On Tue, Apr 11, 2023 at 02:23:32PM +0200, Andreas Henriksson wrote: > On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote: > > Package: fapolicyd > > Version: 1.1.7-3 > > Severity: serious > > Tags: sid bookworm > > User: debhel...@packages.debian.org > > Usertags: systemd-files-in-usr-bookworm > > > > Dear Maintainer, > > > > It seems that your package fapolicyd is shipping files (.service, .socket or > > .timer) in /usr/lib/systemd/system. > [...] > > The problem seems to come from the more or less hardcoded path in > configure.at at: > https://sources.debian.org/src/fapolicyd/1.1.7-3/configure.ac/#L74 > > ``` > dnl FIXME some day pass this on the command line > def_systemdsystemunitdir=${prefix}/lib/systemd/system > AC_SUBST([systemdsystemunitdir], [$def_systemdsystemunitdir]) > ``` > > For example how to use value from systemd.pc, see a random example: > https://sources.debian.org/src/pam/1.5.2-6/configure.ac/?hl=646#L641-L649 > (Note: you'll also need a build-dep on package containing systemd.pc)
Actually this example might be broken ... should probably use variable=systemdsystemunitdir rather than variable=systemdunitdir > > Regards, > Andreas Henriksson