FS#71989 - [v2ray] User=nobody is discouraged by systemd as inherently unsafe

Attached to Project: Community Packages
Opened by Jianli Gao (Gaojianli) - Thursday, 02 September 2021, 05:38 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After start v2ray by using systemd, i received a warning:"/etc/systemd/system/v2ray.service:7: Special user nobody configured, this is not safe!", it seems that systemd is now discouraging the use of "User=nobody".
I replaced the "User=nobody" with "DynamicUser=true" and solved this problem, maybe it's time to update the `v2ray.service` with dynamic user? Or we can create another user by systemd-sysusers?
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/v2ray/issues/1

Loading...