Subject: Re: pkg/19166: example rc.d scripts for packages should be registered in package contents
To: None <,>
From: Johnny Lam <>
List: netbsd-bugs
Date: 01/21/2003 18:22:10
On Mon, Jan 20, 2003 at 12:51:29PM -0500, Greg A. Woods wrote:
> But the "manual work" part is irrelevant -- the point is that the PLIST
> maintainer cannot possibly ever anticipate where they will be installed
> since RCD_SCRIPTS_EXAMPLEDIR is a user driven variable and could point
> anywhere.  Currently even RCD_SCRIPTS_DIR is user settable and so if a
> user sets it to the default value of RCD_SCRIPTS_EXAMPLEDIR without also
> resetting that latter variable then things get really confused.

RCD_SCRIPTS_EXAMPLEDIR was not meant to be a user-settable variable.  It
was originally for packages that have odd requirements for where their
example control scripts are stored, e.g. qmail.  It is intended to be
purely a package variable, as are all of the variables in, though we have no good way to make that distinction
yet, as namespace issues haven't been completely resolved.

> And of course I think the default for RCD_SCIRPTS_EXAMPLEDIR should _not_
> be anywhere under ${PREFIX}/etc so as to avoid some confusion and future
> problems too.

Please debate this on the tech-pkg instead of on netbsd-bugs.


	-- Johnny Lam <>