Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63294 - [deluge] rename user.conf service drop-in

Attached to Project: Arch Linux
Opened by Moritz Bunkus (mbunkus) - Saturday, 27 July 2019, 19:23 GMT
Last edited by freswa (frederik) - Saturday, 22 February 2020, 21:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

Description:

systemd unit drop-ins in /usr/lib/systemd/system and drop-ins in /etc/systemd/system are both read at the same time in alphabetical order. This means that using "systemctl edit deluged.service", which creates "override.conf", doesn't allow the admin to overwrite settings from the deluge-provided "/usr/lib/systemd/system/deluged.service.d/user.conf" as "user.conf" sorts alphabetically after "override.conf".

See https://github.com/systemd/systemd/issues/13198 if you don't believe me.

It sure is possible to override stuff from the deluge-provided "user.conf" by creating your own "user.conf" drop-in or any other name sorting after "user.conf" in "/etc/systemd/system", but I'd wager most admins aren't aware that "systemctl edit…" doesn't guarantee your settings are actually applied.

This has bitten me lately as I had an "override.conf" for a long time changing the service user, and after one of the latest updates this stopped working — due to the deluge-provided "user.conf".

It would be easier for admins if the deluge package used different names for the drop-ins which sort before override.conf alphabetically, e.g. "00user.conf".

It would also be much less surprising.

Same for "deluge-web.service.d/user.conf", of course.

Thanks for considering it!

Additional info:
* package version: 2.0.3-1
This task depends upon

Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...