Subject: bin/16061: rcorder needs to be able to override requirements
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 03/26/2002 17:47:39
>Number:         16061
>Category:       bin
>Synopsis:       rcorder needs to be able to override requirements
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 02:47:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Elz
>Release:        NetBSD-current 2002-03-25
>Organization:
	Prince of Songkla University
>Environment:
	
System: NetBSD jade.coe.psu.ac.th 1.5Y NetBSD 1.5Y (JADE) #5: Sun Sep 23 21:28:02 ICT 2001 kre@jade.coe.psu.ac.th:/usr/obj/sys/compile/JADE i386
Architecture: i386
Machine: i386
>Description:
	There is no way with rcorder to vary requirements (REQUIRE/BEFORE)
	in rc.d/* scripts (other than by editing the script)
>How-To-Repeat:
	RTFM (or UTSL)
>Fix:
	Add -a and -b args to rcorder as

		-a script:requirement
		-b script:requirement

	If a script is mentioned, REQUIRE and BEFORE lines in the
	script should be ignored, and only those mentioned in the
	arg list used.

	Could add -p (PROVIDE) as well, but I'm not sure of a use for
	that.
>Release-Note:
>Audit-Trail:
>Unformatted: