Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Andreas Radke (AndyRTR) - Friday, 03 September 2021, 11:28 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Felix Yan (felixonmars)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


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