conf/134918: rc.subr fails to detect perl daemons
Steven Hartland &
steven.hartland at multiplay.co.uk
Sun May 24 19:20:06 UTC 2009
>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 at 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:
More information about the freebsd-bugs
mailing list