From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 11:10:01 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDC37ACC for ; Tue, 11 Mar 2014 11:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAD756D3 for ; Tue, 11 Mar 2014 11:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2BBA1Gp029861 for ; Tue, 11 Mar 2014 11:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2BBA1qO029860; Tue, 11 Mar 2014 11:10:01 GMT (envelope-from gnats) Date: Tue, 11 Mar 2014 11:10:01 GMT Message-Id: <201403111110.s2BBA1qO029860@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Geoff Garside Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running ' thin' ) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Geoff Garside List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2014 11:10:01 -0000 The following reply was made to PR conf/169047; it has been noted by GNATS. From: Geoff Garside To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running 'thin') Date: Tue, 11 Mar 2014 11:09:44 +0000 --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Heres an updated copy of the patch if that helps. --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Disposition: attachment; filename=etc-rc.subr.patch.txt Content-Type: text/plain; x-unix-mode=0644; name="etc-rc.subr.patch.txt" Content-Transfer-Encoding: quoted-printable --- /etc/rc.subr.orig 2014-03-11 11:06:09.251438710 +0000 +++ /etc/rc.subr 2014-03-11 11:07:29.172157233 +0000 @@ -288,9 +288,10 @@ fi _interp=3D"$* $_procname" # cleanup = spaces, add _procname _interpbn=3D${1##*/} + _procnamebn=3D${_procname##*/} _fp_args=3D'_argv' _fp_match=3D'case "$_argv" in - ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)' + ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*|"${_interpbn}: = ${_procnamebn}"*)' else # a normal daemon _procnamebn=3D${_procname##*/} _fp_args=3D'_arg0 _argv' --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE--