Subject: pkg/14349: /usr/pkg/etc/rc.d/wwwoffled stop is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dme@dme.org>
List: netbsd-bugs
Date: 10/25/2001 11:05:00
>Number:         14349
>Category:       pkg
>Synopsis:       wwwoffled rc.d script doesn't pass command_args for "stop"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 25 03:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Edmondson
>Release:        NetBSD 1.5.2
>Organization:
	none
>Environment:
System: NetBSD watford-235 1.5.2 NetBSD 1.5.2 (PANTALAMION) #0: Tue Oct 23 13:23:52 BST 2001 de128083@watford-235:/usr/src/sys/arch/i386/compile/PANTALAMION i386


>Description:
	The wwwoffled rc.d script (/usr/pkg/etc/rc.d/wwwoffled), when
	used with the "stop" argument, attempts to kill the running
	wwwoffle using "wwwoffle -kill".  Unfortunately this will not
	work as the path the configuration file is required to locate
	the password.  Hence wwwoffle is not stopped (the error
	message "WWWOFFLE Incorrect Password" is output).

>How-To-Repeat:
	install wwwoffle from pkgsrc.
	run /usr/pkg/etc/rc.d/wwwoffled stop
>Fix:
	update the rc.d script so that the stop_cmd reads:
stop_cmd="${control_prog} ${command_args} -kill"
>Release-Note:
>Audit-Trail:
>Unformatted: