From nobody@FreeBSD.org  Tue Jul 15 18:55:03 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8F5091065672
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jul 2008 18:55:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 79CF88FC21
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jul 2008 18:55:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6FIt3fn002592
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Jul 2008 18:55:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6FIt2nb002587;
	Tue, 15 Jul 2008 18:55:02 GMT
	(envelope-from nobody)
Message-Id: <200807151855.m6FIt2nb002587@www.freebsd.org>
Date: Tue, 15 Jul 2008 18:55:02 GMT
From: yves guerin <yvesguerin@yahoo.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: racoon2 rc.d script
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125646
>Category:       ports
>Synopsis:       security/racoon2 rc.d script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sumikawa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 15 19:00:08 UTC 2008
>Closed-Date:    Tue Aug 26 17:57:01 JST 2008
>Last-Modified:  Tue Aug 26 17:57:01 JST 2008
>Originator:     yves guerin
>Release:        6.3
>Organization:
none
>Environment:
FreeBSD pbsd 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #1: Tue Jul  8 14:44:41 EDT 2008     root@pbsd.muhc.mcgill.ca:/usr/src/sys/i386/compile/PATRIOTEBSD  i386
>Description:
the /usr/local/etc/rc.d/racoon2 script try to start spmd.sh iked.sh and kinkd.sh but the scripts are in rc.d: spmd, iked and kinkd (for kinkd see the ports/125642 pr)

>How-To-Repeat:
install racoon2
look into the rc.d script for racoon2
>Fix:
see ports/125642 for creating the package for racoon2: kinkd.sh

modify the rc.d script of racoon2 to remove the .sh to the execution script:

From
do_fwd()
{
        for mod in $MODULES_FWD; do
==>>                $rcd_dir/$mod.sh $rc_arg
        done
}

do_rev()
{
        for mod in $MODULES_REV; do
==>>                $rcd_dir/$mod.sh $rc_arg
        done
}

To
do_fwd()
{
        for mod in $MODULES_FWD; do
==>>                $rcd_dir/$mod $rc_arg
        done
}

do_rev()
{
        for mod in $MODULES_REV; do
==>>                $rcd_dir/$mod $rc_arg
        done
}


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sumikawa 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jul 15 22:48:47 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125646 
State-Changed-From-To: open->feedback 
State-Changed-By: sumikawa 
State-Changed-When: Wed Aug 13 17:00:51 JST 2008 
State-Changed-Why:  
change the state. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125646 
State-Changed-From-To: feedback->closed 
State-Changed-By: sumikawa 
State-Changed-When: Tue Aug 26 17:55:57 JST 2008 
State-Changed-Why:  
The problem is not produced with the latest port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125646 
>Unformatted:
The current port should not install "racoon2" in rc.d.
Is the file installed in your system?

-- Sumikawa
