Swatch rc script

Michael Scheidell scheidell at freebsd.org
Thu Mar 15 20:29:53 UTC 2012



On 3/15/12 4:24 PM, Chris Widger wrote:
> There's a bug in the rc script for /usr/ports/securit/swatch
>
> With the bug swatch can be started, but getting status or stopping the
> process' always fail.
>
> To fix this bug I had to change:
>
>      procname=/usr/local/bin/perl
>
> to:
>
>      procname=/usr/local/bin/swatch
>
> With this change all instances of swatch start, stop, and report status
> correctly.
no, don't do that.

look at all the patches to and from, back and forth, if you patch it 
yourself, some of your installation will work, others won't.

to to freebsd.org, support, search bug reports, single line, 'swatch', 
include closed reports.
procname depends on the size of your cmd_arg, maybe the os version, 
maybe the arch.
Depending on these, procname needs to be one or the other.
What is your version of rc file?

# $FreeBSD: ports/security/swatch/files/swatch.in,v 1.7 2012/01/14 
08:56:53 dougb Exp $



-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell


More information about the freebsd-ports mailing list