ports/131218: /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy

beni brinckman beni.brinckman at gmail.com
Sat Jan 31 17:10:02 UTC 2009


>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 at 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 at 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 at 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 at bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
root at bsdaddict#

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

>How-To-Repeat:

>Fix:


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



More information about the freebsd-ports-bugs mailing list