Package: qbittorrent-nox
X-Debbugs-Cc: ogn...@ognyankulev.com
Version: 4.6.6-1
Severity: important
Tags: patch
Dear Maintainer,

qbittorrent-nox@user.service fails to start with the following log:

Aug 28 12:43:09 testing systemd[1]: Started qbittorrent-nox@user.service - qBittorrent-nox service for user user. Aug 28 12:43:09 testing qbittorrent-nox[97]: Could not create required directory '/.cache/qBittorrent' Aug 28 12:43:09 testing systemd[1]: qbittorrent-nox@user.service: Main process exited, code=killed, status=6/ABRT Aug 28 12:43:09 testing systemd[1]: qbittorrent-nox@user.service: Failed with result 'signal'.

I fixed it (temporarily) by adding the following line to /usr/lib/systemd/system/qbittorrent-nox@.service , right after the User=%i line:

SetLoginEnvironment=true

The option SetLoginEnvironment is "Added in [systemd] version 255." , so it is relatively recent change: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#SetLoginEnvironment=

Please include this line in systemd service file.

Tagged as patch since it's one-line-insert.

Best regards,
Ognyan

Reply via email to