FS#45398 - [ngircd] service should run daemon as non-root
Attached to Project:
Community Packages
Opened by Ramana Kumar (xrchz) - Saturday, 20 June 2015, 10:09 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 00:38 GMT
Opened by Ramana Kumar (xrchz) - Saturday, 20 June 2015, 10:09 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 00:38 GMT
|
Details
Description: the systemd service that comes with the ngircd
package runs the daemon as root, but the daemon says:
ServerUID must not be root(0), using "nobody" instead. Running as user nobody(99), group nobody(99), with PID 30557. This causes problems when trying to reload the service, because it cannot read the configuration file (which by default is owned by root). I think the service should run the daemon as a different user, maybe a user specifically for this purpose (and the configuration file permissions should be set accordingly). |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 01 April 2023, 00:38 GMT
Reason for closing: Won't fix
Additional comments about closing: Pkg dropped to AUR
Saturday, 01 April 2023, 00:38 GMT
Reason for closing: Won't fix
Additional comments about closing: Pkg dropped to AUR
I think that solves my issue, thanks.
I do think the package could provide a better default (e.g., set up a user and set those configuration options), but I leave that to your discretion.