From root@ftp0.uk.multiplay.co.uk  Sun May 24 19:16:15 2009
Return-Path: <root@ftp0.uk.multiplay.co.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 292C0106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 May 2009 19:16:15 +0000 (UTC)
	(envelope-from root@ftp0.uk.multiplay.co.uk)
Received: from ftp1.multiplay.co.uk (ftp0.uk.multiplay.co.uk [85.236.96.13])
	by mx1.freebsd.org (Postfix) with ESMTP id C0ED28FC28
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 May 2009 19:16:09 +0000 (UTC)
	(envelope-from root@ftp0.uk.multiplay.co.uk)
Received: from ftp1.multiplay.co.uk (localhost.multiplay.co.uk [127.0.0.1])
	by ftp1.multiplay.co.uk (8.14.3/8.14.3) with ESMTP id n4OIuBvj000889
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 May 2009 19:56:11 +0100 (BST)
	(envelope-from root@ftp0.uk.multiplay.co.uk)
Received: (from root@localhost)
	by ftp1.multiplay.co.uk (8.14.3/8.14.3/Submit) id n4OIuBX6000888;
	Sun, 24 May 2009 19:56:11 +0100 (BST)
	(envelope-from root)
Message-Id: <200905241856.n4OIuBX6000888@ftp1.multiplay.co.uk>
Date: Sun, 24 May 2009 19:56:11 +0100 (BST)
From: Steven Hartland & <steven.hartland@multiplay.co.uk>
Reply-To: Steven Hartland & <steven.hartland@multiplay.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: rc.subr fails to detect perl daemons
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         134918
>Category:       conf
>Synopsis:       [patch] rc.subr fails to detect perl daemons
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-rc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 24 19:20:05 UTC 2009
>Closed-Date:    
>Last-Modified:  Fri Oct 26 09:20:02 UTC 2012
>Originator:     Charlie &
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
Multiplay
>Environment:
System: FreeBSD ftp1.multiplay.co.uk 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Sun May 24 19:21:08 BST 2009 root@ftp1.multiplay.co.uk:/usr/obj/usr/src/sys/MULTIPLAY i386


>Description:
	rc.subr fails to detect perl daemons which rename themselves to [perl]
>How-To-Repeat:
	use a perl daemon such as mrtg
>Fix:
	Apply the following patch
--- /etc/rc.subr.orig   2009-05-24 19:49:37.000000000 +0100
+++ /etc/rc.subr        2009-05-24 19:49:59.000000000 +0100
@@ -317,5 +317,5 @@
                _fp_args='_argv'
                _fp_match='case "$_argv" in
-                   ${_interp}|"${_interp} "*|"${_interpbn}: ${_procname}"*)'
+                   ${_interp}|"${_interp} "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)'
        else                                    # a normal daemon
                _procnamebn=${_procname##*/}
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun May 24 19:23:13 UTC 2009 
Responsible-Changed-Why:  
Over to maintainers 

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

From: "Steven Hartland" <killing@multiplay.co.uk>
To: <bug-followup@freebsd.org>,
	<steven.hartland@multiplay.co.uk>
Cc:  
Subject: Re: conf/134918: [patch] rc.subr fails to detect perl daemons
Date: Fri, 26 Oct 2012 10:16:53 +0100

 Any news guys this is a really simple patch we've been
 using for years.
 
 ================================================
 This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 
 
 In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
 or return the E.mail to postmaster@multiplay.co.uk.
 
>Unformatted:
