User=nobody in talk.service is discouraged by systemd
Task Info (Flyspray) | |
---|---|
Opened By | helle vaanzinn (glitsj16) |
Task ID | 68659 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2020-11-18 09:49:23 UTC |
Status | Assigned |
Assignee | Levente Polyak (anthraxx) |
Details
Description:
Recently systemd has been discouraging the use of User=nobody in unit files (see https://github.com/systemd/systemd/commit/bed0b7dfc0070e920d00c89d9a4fd4db8d974cf0). I'm wondering if the talk.service file can be rewritten to use systemd-sysusers to avoid potentially unsafe behavior.
Additional info:
- package version(s)
- config and/or log files etc.
- link to upstream bug report, if any
Steps to reproduce:
$ systemctl status talk.service ● talk.service - Talk Server Loaded: loaded (/usr/lib/systemd/system/talk.service; indirect; vendor preset: disabled) Active: inactive (dead) Docs: man:talkd(8) man:talk(1)
Nov 18 10:46:19 lab16 systemd[1]: /usr/lib/systemd/system/talk.service:6: Special user nobody configured, this is not safe!