Subject: Re: hardcoded etc/rc.d in PLISTs instead of RCD_SCRIPTS_EXAMPLEDIR
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/21/2003 09:16:07
On Fri, 21 Mar 2003, Julio Merino wrote:

> Search for a previous mail posted by jlam in another thread about the
> same thing.  He said that this variable is not intended to be changed
> by the user.

I read his posting that says that it was not meant to be a user-settable
variable. I have not read anything that indicates why it can't be changed
(for all packages).

I didn't see any mention of this documented in the source. And nothing in
Packages.txt.

It has worked for me to change it. And according to other postings, other
admins want it changed too.

Just to clarify, on some of my systems (since October), I use
LOCALBASE=/usr. I don't want a /usr/etc/rc.d because it is confusing. So I
changed RCD_SCRIPTS_EXAMPLEDIR.

> > The fix is easy.
>
> and ugly (for the plist things), imo.

Do you mean with GENERATE_PLIST? (Is it because it may be out of order?)

It seems like the PLIST_SUBST is fine, because if it gets changed again,
it won't be hard-coded.

> Just as we have an standard place to install example files (that is,
> share/examples/package/), there is one for rc.d scripts (actually,
> etc/rc.d/).  So what we have to do is change the default to
> share/examples/rc.d/ and fix packages acordingly. (just fixing plists
> in most cases).

Yes. That is what I am saying. I want the default to be changed to
share/examples/rc.d/.

I don't understand why you say it can't be done and then seem to suggest
that it can be done. I may be misunderstanding all this. It sure seems
simple (as I already have been using it that way for a while on a few
systems).

Thanks again for the continued feedback.

   Jeremy C. Reed
   http://bsd.reedmedia.net/