Subject: Re: implementing the rc.subr package on Linux
To: Louis Guillaume <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 10/17/2005 18:30:51
On Mon, 17 Oct 2005, Louis Guillaume wrote:
> I've installed the rc.subr and rcorder packages on Linux (RedHat). They work
> fine, but aren't part of the general system startup proceudures.
> What is the best, or recommended way to implement these so that pkgsrc-built
> services will start up at boot time?
> Same question goes for other systems, such as AIX, Macintosh etc.
You may want to look at pkgsrc-wip's wip/mk/rcd.mk. It was any idea that I
never tested myself nor implemented.
One thing that could be done is to have all the pkgsrc provided rc.d
scripts not hard-code: . /etc/rc.subr but instead use
There was discussion about this a couple years ago.
Also, I packaged up my own wip/rc.subr because the pkgsrc version didn't
meet my needs. I need to go back and see if it can be removed or not.
I use PKG_SYSCONFBASE=/etc and so I don't have this problem myself once I
have rc.subr installed.
I do use rc.subr and rcorder on various Linux systems for a couple years
Jeremy C. Reed
BSD News, BSD tutorials, BSD links