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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Dan McGee (toofishes) - Sunday, 30 September 2007, 23:31 GMT
Roman, why did this get assigned to me?
Comment by Roman Kyrylych (Romashka) - Monday, 01 October 2007, 09:32 GMT
Sometimes I just have to select a random dev for packages that were touched only by judd or dorphell looong time ago.
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.
Comment by Dan McGee (toofishes) - Saturday, 27 October 2007, 00:31 GMT
Ugh, I'm not motivated enough to maintain this package. I don't use it. Candidate for community/unsupported?
Comment by Eric Belanger (Snowman) - Sunday, 16 December 2007, 04:49 GMT
Yes, it's currently a candidate for unsupported.

Loading...