Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171633 - net-proxy/privoxy-3.0.6 invalid line in default.action
Summary: net-proxy/privoxy-3.0.6 invalid line in default.action
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 23:19 UTC by MickKi
Modified: 2007-03-21 11:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MickKi 2007-03-20 23:19:42 UTC
I just emerged net-proxy/privoxy-3.0.6 and it fails to launch, apparently 
because of the following configuration error:
=================================================
Mar 19 22:25:59 Privoxy(b7d916b0) Info: Privoxy version 3.0.6
Mar 19 22:25:59 Privoxy(b7d916b0) Info: Program name: /usr/sbin/privoxy
Mar 19 22:25:59 Privoxy(b7d916b0) Fatal error: can't load actions 
file '/etc/privoxy/default.action': invalid line (1144): 
{+fast-redirects -block}
=================================================

It seems that changing {+fast-redirects -block} to {+fast-redirects{check-decoded-url} -block} as suggested by P Ruskin works fine.

You may want to check this and fix accordingly.
-- 
Regards,
Mick

Reproducible: Always

Steps to Reproduce:
1./etc/init.d/privoxy start
2.
3.

Actual Results:  
Application fails to launch.
Comment 1 Paul Bredbury 2007-03-20 23:30:51 UTC
There is no fix to make, because the fix is already in 3.0.6 - try:

grep fast-redirects /var/tmp/portage/net-proxy/privoxy-3.0.6/work/privoxy-3.0.6-stable/default.action.master 
Comment 2 MickKi 2007-03-21 07:19:58 UTC
Thanks Paul,

Should I try that while it is compiling?  Because I don't seem to have a net-proxy in /var/tmp/portage.
-- 
Regards,
Mick
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-21 07:28:44 UTC
You should run etc-update or dispatch-conf next time... :)
Comment 4 MickKi 2007-03-21 11:16:25 UTC
I beg your pardon for the noise, I am sure I did run etc-update and it updated all the privoxy config files.  I remember accepting the changes in /etc/privoxy/default.action - perhaps I pressed the wrong button?  Anyhow, it works now.
-- 
Regards,
Mick