ports/114593: [PATCH] net/smokeping: rc.d script needs command_interpreter
Tomoyuki Sakurai
cherry at trombik.org
Sun Jul 15 01:40:01 UTC 2007
>Number: 114593
>Category: ports
>Synopsis: [PATCH] net/smokeping: rc.d script needs command_interpreter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 15 01:40:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Tomoyuki Sakurai
>Release: FreeBSD 6.2-STABLE-200706 i386
>Organization:
>Environment:
System: FreeBSD spica.trombik.org 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 13:54:03 UTC
>Description:
without command_interpreter, it doesn't stop/restart properly
# /usr/local/etc/rc.d/smokeping restart
smokeping not running? (check /usr/local/var/smokeping/smokeping.pid).
Starting smokeping.
### fping seems to report in 1 milliseconds
Note: logging to syslog as local0/info.
ERROR: I Quit! Another copy of /usr/local/bin/smokeping (8583) seems to be running.
Check /usr/local/var/smokeping/smokeping.pid
Port maintainer (lth at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
install net/smokeping, start the daemon and restart it.
>Fix:
--- smokeping-2.1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/smokeping/files/smokeping.in /usr/home/cherry/ports/net/smokeping/files/smokeping.in
--- /usr/ports/net/smokeping/files/smokeping.in Tue Dec 12 21:47:43 2006
+++ /usr/home/cherry/ports/net/smokeping/files/smokeping.in Sun Jul 15 10:21:35 2007
@@ -24,6 +24,7 @@
name="smokeping"
rcvar=`set_rcvar`
+command_interpreter="%%PERL%%"
command="/usr/local/bin/smokeping"
command_args="--logfile=${smokeping_logfile}"
pidfile="${smokeping_pidfile}"
--- smokeping-2.1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list