Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30412 - [polipo] Last change from 22.06.2012 broke the daemon somehow.

Attached to Project: Community Packages
Opened by Mr. Smith (eNTi) - Saturday, 23 June 2012, 09:36 GMT
Last edited by Thorsten Töpper (Atsutane) - Sunday, 24 June 2012, 12:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thorsten Töpper (Atsutane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
i've been using polipo for some time now and today it stopped working:

root@eNTi $ /etc/rc.d/polipo start
/etc/conf.d/polipo.conf: line 41: socksParentProxy: command not found
/etc/conf.d/polipo.conf: line 42: socksProxyType: command not found

since you changed the location of the config file and i was using those two commands to use the socks5 proxy, i've just copied the file over. you've also change the user who invokes the daemon and invalidated the information on the wiki. could you please change the wiki to reflect the changes you have made?

Additional info:
community/polipo 1.0.4.1-3

Config file changes (from the one provided in /etc/polipo/config.sample)
# Uncomment this if you want to use a parent SOCKS proxy:

socksParentProxy = "localhost:9050"
socksProxyType = socks5



Steps to reproduce
update from 1.0.4.1-2 to 1.0.4.1-3 and restart the daemon.
This task depends upon

Closed by  Thorsten Töpper (Atsutane)
Sunday, 24 June 2012, 12:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments below.
Comment by Thorsten Töpper (Atsutane) - Saturday, 23 June 2012, 17:34 GMT
The wiki is independent, it's not the duty to do changes there.

I have no problem with the given commands, the only problem I stumbled upon was that the rc.d script / the systemd service don't define logFile='/var/log/polipo.log' so the default value /var/log/polipo is being used.

Also that is /etc/conf.d/polipo.conf provided by the package:

#
# Parameters to be passed to polipo
#
POLIPO_ARGS="daemonise=true"

4 lines, your error message reports errors in line 41 and 42 in this file. Please make a clean installation and test this again.
Comment by joe (mirrors) - Sunday, 24 June 2012, 00:58 GMT
I was having the same issue. Here's my fix (as root):

chown nobody:nobody /var/log/polipo
cp /etc/polipo/config.sample /etc/conf.d/polipo.conf

Add the following lines to polipo.conf (no spaces):

socksParentProxy="localhost:9050"
socksProxyType=socks5
POLIPO_ARGS="daemonise=true"

The daemon is using port 8123 though so it's not reading the conf file. :(
Comment by Thorsten Töpper (Atsutane) - Sunday, 24 June 2012, 12:11 GMT
What you've got there are the settings for a parent proxy in a configuration file for the init script not polipo. To change the port polipo uses set proxyPort in /etc/polipo/conf, e.g. proxyPort = 4321.

The problem with the default logfile is fixed with version 1.0.4.1-4 everything else so far were configuration issues.

Loading...