ports/177950: [PATCH] sysutils/munin-node: fix startup script

Geoffroy Desvernay dgeo at centrale-marseille.fr
Thu Apr 18 09:30:01 UTC 2013


>Number:         177950
>Category:       ports
>Synopsis:       [PATCH] sysutils/munin-node: fix startup script
>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:   Thu Apr 18 09:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue Dec 18 11:55:35 CET 2012
>Description:
"service munin-sched (start|stop|restat|...)" fails with a syntax error
because $munin_node_config is not defined... (but $munin_sched_config is)

Port maintainer (flo at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: SVN)
>How-To-Repeat:
try to use munin-sched...

>Fix:
attached
--- munin-node-2.0.11.1.patch begins here ---
Index: files/munin-sched.in
===================================================================
--- files/munin-sched.in	(revision 316024)
+++ files/munin-sched.in	(working copy)
@@ -31,7 +31,7 @@
 find_pidfile()
 {
 	if type get_pidfile_from_conf >/dev/null 2>&1 &&
-		get_pidfile_from_conf pid_file $munin_node_config; then
+		get_pidfile_from_conf pid_file $munin_sched_config; then
 	    pidfile="${_pidfile_from_conf%node*}sched"
 	    pidfile="${pidfile}${_pidfile_from_conf#*node}"
 	else
--- munin-node-2.0.11.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list