Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2009 22:10:01 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: restart a script in etc/rc.d
Message-ID:  <790a9fff0903022010v5fed1213kde2254f1e51866e1@mail.gmail.com>
In-Reply-To: <49AC5C66.70301@FreeBSD.org>
References:  <20090302163843.cc66c55e.lehmann@ans-netz.de> <alpine.BSF.2.00.0903021100190.59723@qbhto.arg> <20090302202520.eaf09b15.lehmann@ans-netz.de> <9e20d71e0903021355i3ad66b8fx14bdc3b395e311a5@mail.gmail.com> <9e20d71e0903021410i26ca8088oc2de76009b2773d2@mail.gmail.com> <49AC5C66.70301@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 2, 2009 at 4:23 PM, Doug Barton <dougb@freebsd.org> wrote:
> I have "on my list" making this pidfile assignment internal to rc.subr
> and therefore removing one more bullet from the foot-shooting gun, but
> that would only help people who have the latest version of rc.subr,
> which means that even if I fix it today we will still have to support
> properly setting pidfile in the scripts for years (and versions of
> FreeBSD) to come. Thus it's in the "less urgent" category.
>

Actually, we have a way to fix the problem today.  There exists the
sysutils/rc_subr port.  It's use was to help in migrating the rc.d
scripts while providing backward compatibility for older systems.

All that needs to be done is to update the sysutils/rc_subr port to
use the latest rc.subr script, and then revert the USE_RC_SUBR changes
make to bsd.port.mk in revisions 1.554 and 1.555 in bsd.port.mk.

I have submitted this PR to revert this change:

http://www.freebsd.org/cgi/query-pr.cgi?pr=132274

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0903022010v5fed1213kde2254f1e51866e1>