FS#6349 - ircd package does not work.
Attached to Project:
Arch Linux
Opened by Laurence Hurst (Loz_hurst) - Tuesday, 06 February 2007, 01:39 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 20 January 2008, 02:02 GMT
Opened by Laurence Hurst (Loz_hurst) - Tuesday, 06 February 2007, 01:39 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 20 January 2008, 02:02 GMT
|
Details
Upon installing ircd fails to run.
Initially running `/etc/rc.d/ircd start` prompts for a password change for user 'nobody'. Setting a password for this account (as root) removes this prompt, however the init script now fails silently. This is due to line 10: '[ -z "$PID" ] && su -c /usr/sbin/ircd -- nobody'. The 'nobody' user does not have an interactive shell set by default (which is sensible for security reasons) and hence this returns immediately, without starting the ircd and with a non-zero exit status resulting in the fail reported by the init script. Steps to reproduce: 1. install ircd on a new arch install 2. attempt to run said ircd using the provided init script (after creating a skeleton config, or using the example provided) Suggested solution (what I have done on my box): 1. Change line 10 of the init script to read '[ -z "$PID" ] && su -c /usr/sbin/ircd -- ircd' 2. Create an ircd user (no password need be set, and I created it as a member of the 'nobody' group) with a shell (I used bash) 3. chown the config files ircd:root so the ircd can read them when started as this new 'ircd' user. |
This task depends upon
Closed by Eric Belanger (Snowman)
Sunday, 20 January 2008, 02:02 GMT
Reason for closing: Won't fix
Additional comments about closing: package hass been moved to unsupported from extra repo
Sunday, 20 January 2008, 02:02 GMT
Reason for closing: Won't fix
Additional comments about closing: package hass been moved to unsupported from extra repo
Otherwise such bugreports get lost easily, because since v0.9.9 flyspray doesn't have an option to list unassigned reports.
Feel free to reassign it to other dev.