-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service "deluged" won't get/set its config files from /var/lib/deluge/.config/deluge but from /root/.config/deluge #31690
Comments
While we're at it, drop priviledge early. Fix: void-linux#31690
I think we can go further to move config to |
While we're at it, drop priviledge early. Fix: void-linux#31690
Thanx! |
this is a bad fix, it broke my use case (i override the user it is started as, with /etc/sv/deluged/conf, but the chpst to unprivileged user means it can't change user on its own later) |
@sgn the proper fix is to keep things as they were, but pass |
Maybe this #32357 |
Hm, keep things as it were shouldn't work at all deluge-torrent/deluge@d08c3f7 |
Workaround: in /etc/sv/deluged/run, set the configuration path Another workaround: do not start deluged service ( |
#31690 (comment) Programming is hard, let's go shopping.
Fixed, :( programming is hard. |
Thanks |
void-linux#31690 (comment) Programming is hard, let's go shopping.
System
*deluge-2.0.3_10
Expected behavior
deluged
service should start up withdeluge
system user, and therefore, get/set its configuration files from /var/lib/deluge/.config/delugeActual behavior
It is starts with
root
and, therefore, it gets/sets the configuration from /root/.config/deluge. As it cannot write there after that, there are some permission errors and it does not start properly.Workaround
In
/etc/sv/deluged/run
, replaceexec deluged -d -U deluge -g deluge ${OPTS} 2>&1
by
exec chpst -u deluge:deluge deluged -d -U deluge -g deluge ${OPTS} 2>&1
The text was updated successfully, but these errors were encountered: