Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Sergej Pupykin (sergej)
Monday, 22 October 2012, 09:13 GMT
Reason for closing:  Fixed
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.

Loading...