From owner-freebsd-ports@FreeBSD.ORG Tue Mar 3 04:10:03 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C50A1065674 for ; Tue, 3 Mar 2009 04:10:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 355188FC0C for ; Tue, 3 Mar 2009 04:10:02 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by gxk24 with SMTP id 24so6155756gxk.19 for ; Mon, 02 Mar 2009 20:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xj7gxcti5CQa+SVDjshYP2KSyBF4kgHP5O+rv94H5Pg=; b=dBeiL6W11uc/ODXC73dhNQlSVT2ET+QmKtFxS20/gLyAS50Du/PnfmgIqJDnUL1Y87 TWvCidepHLoCaOJ3XOjSuN1IyIacljO6B6BuawxSOBG4jX2JDaRE8lN12yE2YAaJB/0+ K/RtA8WVw7600WmOpfsVNIBuNgFYu7B+2oOM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OFJ1IjsKi4pN1daYwfIHS4mbHg+tHZR5wLlUgpHrNtzq/myR3OWLTXBgBkpjHGfOaT vQDYtmFd/Z48RU2DFX0CmNw3kbjYdUGY8CjfkrmpzvqizGLvjxHKhgSUX64TVOwOPNAy +s3pzfLobP7fSsNDyOKmr6iI+cyJ6xLpQUYaI= MIME-Version: 1.0 Received: by 10.220.45.208 with SMTP id g16mr2094114vcf.111.1236053402040; Mon, 02 Mar 2009 20:10:02 -0800 (PST) In-Reply-To: <49AC5C66.70301@FreeBSD.org> References: <20090302163843.cc66c55e.lehmann@ans-netz.de> <20090302202520.eaf09b15.lehmann@ans-netz.de> <9e20d71e0903021355i3ad66b8fx14bdc3b395e311a5@mail.gmail.com> <9e20d71e0903021410i26ca8088oc2de76009b2773d2@mail.gmail.com> <49AC5C66.70301@FreeBSD.org> Date: Mon, 2 Mar 2009 22:10:01 -0600 Message-ID: <790a9fff0903022010v5fed1213kde2254f1e51866e1@mail.gmail.com> From: Scot Hetzel To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: restart a script in etc/rc.d X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 04:10:03 -0000 On Mon, Mar 2, 2009 at 4:23 PM, Doug Barton 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