FS#38627 - [unrealircd]ircd user, conf, log, pid dirs should be automatically created when unrealircd installed

Attached to Project: Community Packages
Opened by dcecchin (Kalidarn) - Thursday, 23 January 2014, 07:58 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 January 2014, 10:43 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When starting the unrealircd process without the ircd user added you get a cryptic message from systemd:

systemd[2969]: Failed at step USER spawning /usr/bin/unrealircd: No such process
-- Subject: Process /usr/bin/unrealircd could not be executed
"Failed at step USER spawning /usr/bin/unrealircd: No such process"

This is because no ircd user is automatically created when you install the package. There is no mention of this in the wiki: https://wiki.archlinux.org/index.php/UnrealIRCd and no instruction to do so when you install the package https://projects.archlinux.org/svntogit/community.git/tree/trunk/unrealircd.install?h=packages/unrealircd although it does mention removing that user when you remove the package.

Also I believe that /etc/unrealircd and /var/log/unrealircd should be automatically created.

If someone then tries to start unrealircd, systemd will successfully start it, and the user will probably see an error about a missing configuration file in the unrealircd log file, rather than nothing because unrealircd couldn't start.


Steps to reproduce:
Install unrealircd 3.2.10.2-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 27 January 2014, 10:43 GMT
Reason for closing:  Fixed
Comment by dcecchin (Kalidarn) - Thursday, 23 January 2014, 08:02 GMT
Edit:

It does mention creating the user, which I missed. Still I think it should be created by the package as it is easy to miss.

Loading...