Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 11:51:29 -0500 (EST)
From:      Vick Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/141031: gearmand port unconditionally starts daemon
Message-ID:  <20091130165129.859BE8A250@yertle.kcilink.com>
Resent-Message-ID: <200911301700.nAUH011r050494@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141031
>Category:       ports
>Synopsis:       gearmand port unconditionally starts daemon
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 30 17:00:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Vick Khera
>Release:        FreeBSD 7.2-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kcilink.com 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #2: Fri Jun 12 01:10:20 EDT 2009 steve@yertle.int.kcilink.com:/u/yertle1/obj/u/yertle1/sources/usr7/src/sys/KCI64SMP amd64


	
>Description:
	

The devel/gearmand port's rc.d script unconditionally starts the gearmand
server.

>How-To-Repeat:
	

install devel/gearmand

remove any reference to gearmand_enable from /etc/rc.conf and rc.conf.local

run "/usr/local/etc/rc.d/gearmand start"


>Fix:

	


--- /usr/local/etc/rc.d/gearmand	2009-11-19 15:35:37.000000000 -0500
+++ /tmp/gearmand	2009-11-30 11:46:08.000000000 -0500
@@ -11,6 +11,8 @@
 name="gearmand"
 command="/usr/local/sbin/gearmand"
 
+rcvar=`set_rcvar`
+
 load_rc_config "$name"
 : ${gearmand_enable="NO"}
 : ${gearmand_flags="-d -v"}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091130165129.859BE8A250>