Date: Sun, 24 May 2009 19:56:11 +0100 (BST) From: Steven Hartland & <steven.hartland@multiplay.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/134918: rc.subr fails to detect perl daemons Message-ID: <200905241856.n4OIuBX6000888@ftp1.multiplay.co.uk> Resent-Message-ID: <200905241920.n4OJK5ZW039599@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134918 >Category: conf >Synopsis: rc.subr fails to detect perl daemons >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >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: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905241856.n4OIuBX6000888>