irc-server-2.11.1_p1-r1 ebuild sets incorrect logdir and rundir and runs the ircd always as root user Reproducible: Always Steps to Reproduce: 1. emerge =net-irc/irc-server-2.11.1_p1-r1 2. Run '/etc/init.d/ircd (re)start'. Actual Results: Problems: 1. Log files do net get created in /var/log/ircd/ ('strings ircd' reveals the log dir would be /var/run/ircd/log/ which of course does not exist) 2. iauth.pid, ircd.pid and ircd.tune files do not get created in /var/run/ircd/. This breaks the stop() function in /etc/init.d/ircd etc. 3. ircd process always runs as the root user (ebuild creates the ircd user account but it's not used). Expected Results: 1. ircd should be writing logs to files in /var/log/ircd/. 2. ircd should create pid files (and ircd.tune) in /var/run/ircd/. 3. ircd should run as user ircd instead of root by default. Will attach an updated ebuild along with an chuid-enabled version of ircd.rc to the bug report later.
Created attachment 150013 [details] Proposed irc-server ebuild fixing the reported problems
Created attachment 150014 [details] Proposed ircd init script (files/ircd.rc) adding chuid functionality
Created attachment 150015 [details] Proposed new /etc/conf.d/ircd init script config
ping?
Added, thanks!