Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 18:55:02 GMT
From:      yves guerin <yvesguerin@yahoo.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125646: racoon2 rc.d script
Message-ID:  <200807151855.m6FIt2nb002587@www.freebsd.org>
Resent-Message-ID: <200807151900.m6FJ085G019167@freefall.freebsd.org>

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

>Number:         125646
>Category:       ports
>Synopsis:       racoon2 rc.d script
>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:   Tue Jul 15 19:00:08 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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