Summary: | net-nntp/sabnzbd-2.3.2 - systemd service should not hard-code user/group | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Hampicke <mh> |
Component: | Current packages | Assignee: | Thomas Deutschmann (RETIRED) <whissi> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mcrawford, mh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitweb.gentoo.org/repo/gentoo.git/commit/net-nntp/sabnzbd?id=ad458c8b83e618bac852ae1bba261a44d727e787 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=638560 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Hampicke
2018-02-12 18:51:45 UTC
Adding Mike Crawford to CC. Michael and Mike, I need you guys to figure this out. I have no interest in systemd and the service script is essentially maintained by you, the users. I'm more then happy to commit whatever you guys settle on. I am closing this bug as INVALID: "service@" notation primary indicates a template (often used by services allowing more than one instance). It has nothing to do with dynamic user feature. Package is creating an own, dedicated user so it makes sense from my P.O.V. to reference that user by default. If you want to run as a different user or maybe want to use dynamic user feature instead, you have to overwrite provided unit (which is common in systemd world). Please correct me if I am wrong. If a user desires to alter the default user provided by systemd service units they have the latitude to use systemctl edit servicename.service to create a custom override entry for the service username and group the process will be executed by. systemd overrides are also not disturbed by system upgrades. At the time i submitted the service unit in another bug systemd service user aliases were either broken or not function for reasons i'm unaware of however hardcoding username and group in service unit was a functional resolution for everyone. |