FS#32104 - unrealircd will start as root after update
Attached to Project:
Community Packages
Opened by kyak (kyak) - Friday, 19 October 2012, 21:30 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 22 October 2012, 09:13 GMT
Opened by kyak (kyak) - Friday, 19 October 2012, 21:30 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 22 October 2012, 09:13 GMT
|
Details
unrealircd, the IRC server daemon will always start as root
after package update.
This package provides a configuration file in /etc/conf.d/unrealircd with "UNREALIRCD_USER=root" in it. UNREALIRCD_USER is then used in /etc/rc.d/unrealircd to su unrealircd to a named user. For security reasons, i run unrealircd as a limited user, and so i have in /etc/conf.d/unrealircd: "UNREALIRCD_USER=myuser". But after package update, this file is overwritten and unrealircd will start as root. I guess there is the second problem fitting in this bug report. The systemd service for unrealircd doesn't provide possibility to start as another user. |
This task depends upon
Comment by Sergej Pupykin (sergej) -
Monday, 22 October 2012, 09:13 GMT
I added 'etc/conf.d/unrealircd' to backup array so it should not
be overwritten anymore.