On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote: > Package: fail2ban > Version: 1.0.2-1 > Severity: serious > Tags: sid bookworm > User: debhel...@packages.debian.org > Usertags: systemd-files-in-usr-bookworm > > Dear Maintainer, > > It seems that your package fail2ban is shipping files (.service, .socket or > .timer) in /usr/lib/systemd/system. [...]
Wrong path is used at: https://sources.debian.org/src/fail2ban/1.0.2-1/debian/rules/#L50 Note that the path will likely change again in the future, so rather than hard-coding a path please consider finding the path via: pkg-config --variable=systemdsystemunitdir systemd (Note: you'll need to build-dep on pkg-config and systemd, for systemd.pc) Regards, Andreas Henriksson