ports/131218: /etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Wed Feb 18 18:10:05 UTC 2009
The following reply was made to PR ports/131218; it has been noted by GNATS.
From: Ion-Mihai Tetcu <itetcu at FreeBSD.org>
To: beni brinckman <beni.brinckman at gmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org, lars.eggert at gmx.net
Subject: Re: ports/131218: /etc/rc: WARNING: run_rc_command: cannot run
%%PREFIX%%/sbin/privoxy
Date: Wed, 18 Feb 2009 20:06:42 +0200
--Sig_/OlD0wPrX+BqM279echq+h1Y
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On Sat, 31 Jan 2009 17:05:39 GMT
beni brinckman <beni.brinckman at gmail.com> wrote:
> >Description:
> I installed www/privoxy+ipv6, the patched privoxy for ipv6. It
> installs fine but I have to start it everytime manually at boot.
>=20
> I added this to /etc/rc.conf :
> privoxy_enable=3D"YES"
> privoxy_flags=3D"/usr/local/etc/privoxy/config"
>=20
> 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#
>=20
> 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#
This doesn't work because %%PREFIX%% is replaced at install time.
And it would require more changes anyway.
Please take a look here if you want to learn about the way rc.d scripts
work:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-script=
s.html
Also, when submitting a port PR, please put category/port at the
beginning of the synopsis line as this allows the PR to be
automatically assigned, the maintainer of the port notified, etc.
--=20
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
--Sig_/OlD0wPrX+BqM279echq+h1Y
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)
iEYEARECAAYFAkmcTjMACgkQJ7GIuiH/oeU19gCbBOUTCDJVroLqXP8LOwSuNtmC
83EAni56HOIXc4TUo2JD23FrMulEJDaB
=C7DM
-----END PGP SIGNATURE-----
--Sig_/OlD0wPrX+BqM279echq+h1Y--
More information about the freebsd-ports-bugs
mailing list