Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 08:08:44 GMT
From:      Oleg Ginzburg <olevole@olevole.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187024: databases/redis-devel proper rcvar
Message-ID:  <201402250808.s1P88isd083356@cgiserv.freebsd.org>
Resent-Message-ID: <201402250810.s1P8A0in055753@freefall.freebsd.org>

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

>Number:         187024
>Category:       ports
>Synopsis:       databases/redis-devel proper rcvar
>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:   Tue Feb 25 08:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        11.0-CURRENT #0 r261907
>Organization:
>Environment:
>Description:
current port installs incorrect rc.d script:

% ps axf|grep redis

% make -C /usr/ports/databases/redis-devel install

% grep redis /etc/rc.conf

% service redis start
/usr/local/etc/rc.d/redis: set_rcvar: not found
Starting redis.

% ps axf | grep redis
20488  -  Ss      0:00.00 redis-server: /usr/local/bin/redis-server *:6379 (redis-server)

Redis starts without redis_enable options


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN redis-devel.bak/files/redis.in redis-devel/files/redis.in
--- redis-devel.bak/files/redis.in	2014-02-22 10:21:29.000000000 +0400
+++ redis-devel/files/redis.in	2014-02-25 12:01:54.000000000 +0400
@@ -16,7 +16,7 @@
 . /etc/rc.subr
 
 name="redis"
-rcvar=`set_rcvar`
+rcvar=redis_enable
 
 extra_commands="reload"
 


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



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