Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2009 17:05:39 GMT
From:      beni brinckman <beni.brinckman@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131218: /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
Message-ID:  <200901311705.n0VH5dOD085072@www.freebsd.org>
Resent-Message-ID: <200901311710.n0VHA1Xl031605@freefall.freebsd.org>

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

>Number:         131218
>Category:       ports
>Synopsis:       /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 17:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     beni brinckman
>Release:        7.1-prerelease
>Organization:
>Environment:
uname -a
FreeBSD bsdaddict 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008     root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD  i386

>Description:
I installed www/privoxy+ipv6, the patched privoxy for ipv6. It installs fine 
but I have to start it everytime manually at boot.

I added this to /etc/rc.conf :
privoxy_enable="YES"
privoxy_flags="/usr/local/etc/privoxy/config"

Since there is no startup script provided, I copied the one (privoxy.in) from 
www/privoxy/files to my /usr/local/etc/rc.d :
root@bsdaddict# ls -l /usr/local/etc/rc.d/privoxy*
-rwxr-xr-x  1 root  wheel  1497 20 jan 21:41 /usr/local/etc/rc.d/privoxy
root@bsdaddict#

I tried renaming it to "privoxy.sh" and "privoxy" (without any extension) but 
nothing seems to work. All I get is this error message in dmesg :
root@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
root@bsdaddict#

Starting privoxy manually is no problem, everything works as it should.

>How-To-Repeat:

>Fix:


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



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