On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote:
> Package: qbittorrent-nox
> Version: 4.5.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 qbittorrent-nox is shipping files (.service, 
> .socket or
> .timer) in /usr/lib/systemd/system.
[...]

This package seems to install a template unit (as well as a user unit).
Might be wrong, but as far as I know there's no debhelper code that
automatically enables an instance of a template unit, so maybe this
bug report does not qualify as RC severity.

The CMake build system seems to do things correctly by querying
systemd.pc for the systemdsystemunitdir variable already
(see ./cmake/Modules/FindSystemd.cmake and the use of it in
./dist/unix/CMakeLists.txt )

There's however this in unixconf.pri (which is wrong):
```
# Systemd Service file
nogui:systemd {
    systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
    systemdService.path = $$PREFIX/lib/systemd/system
    INSTALLS += systemdService
}
```

Regards,
Andreas Henriksson

Reply via email to