Subject: pkg/28600: update mu-conference rc.d startup script
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 12/10/2004 07:00:01
>Number:         28600
>Category:       pkg
>Synopsis:       mu-conference's rc.d script doesn't get the user/pid-file right.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 10 07:00:01 +0000 2004
>Originator:     Eric Schnoebelen
>Release:        NetBSD 2.0G
	Central Iowa (Model) Railroad (
System: NetBSD 2.0G NetBSD 2.0G (GENERIC) #9: Fri Aug 27 15:51:57 CDT 2004 alpha
Architecture: alpha
Machine: alpha
	chat/mu-conference's rc.d script doesn't change the user
	identity to jabberd (running as root instead) and doesn't get
	the path to the pid-file correct.
	install chat/mu-conference, and observe that when started, it
	runs as root, and that the status command of PKG/etc/rc.d/muc
	doesn't work.
Index: files/
RCS file: /cvsroot/pkgsrc/chat/mu-conference/files/,v
retrieving revision 1.2
diff -b -u -w -r1.2
--- files/	8 Jul 2004 22:26:04 -0000	1.2
+++ files/	10 Dec 2004 06:58:20 -0000
@@ -14,8 +14,9 @@
 command_args="-c ${required_files} > /dev/null 2>&1 &"
+pidfile="@JABBERD_PIDDIR@/`basename ${command}`.pid"