Re:Systemd can't handle the process privilege for username s...
by mjw1007 on Sunday July 02, 2017 @05:41AM
(#14681719)
In that case the systemd developers ought to have been thinking «usernames beginning with digits do exist in the wild on linux systems, therefore we should support them».
[ Parent
| on HN ]
Re:Systemd can't handle the process privilege for username s...
by ArneBab on Sunday July 02, 2017 @06:27AM
(#14681855)
They just would have had to think "let’s do the safe thing — instead of just assuming everything goes well and potentially using the root user as fallback if we’re wrong".
It’s a mindset/philosophy problem, and that doesn’t change when bugs get fixed. It would require the devs to change, but that didn’t happen in the past decade, so we cannot just assume that it will happen in the next.
Re:Systemd can't handle the process privilege for username s...
by db48x on Sunday July 02, 2017 @09:32AM
(#14682400)
But you have to be root to install a systemd unit in the first place...
Re:Systemd can't handle the process privilege for username s...
by CodeWriter23 on Sunday July 02, 2017 @03:26PM
(#14683934)
Doesn't mean I want systemd silently escalating my process to root when I think I've told it to contain privileges of the process to a specific userid. Clearly the correct behavior for such a program is to throw an error if it is rejecting a username for ANY reason, even when that reason is supported by stilted reasoning.
Re:Systemd can't handle the process privilege for username s...
by digi_owl on Sunday July 02, 2017 @11:54AM
(#14683040)
And?
What is going on here is that an admin thinks he has shored up the service defined in the service file, because hey, it runs. Only to later have the server 0wned because apparently it was running as root the whole time...