Project

General

Profile

No longer possible to run privoxy on openrc?

masochism-os - 6 months ago -

It seems that privoxy-openrc has been removed from the x64 repo. I can no longer start the privoxy service on openrc the usual way. Is there some other way? Can we have this package back please?


Replies (3)

No longer possible to run privoxy on openrc? - bill-auger - 6 months ago -

this was originally in a split package - the split package was un-split
recently - i guess this one was overlooked - i have added it back to
[nonsystemd]

RE: No longer possible to run privoxy on openrc? - masochism-os - 6 months ago -

Was the package altered? Starting the openrc privoxy service always fails, whether I do it manually or automatically, and there are no errors or warnings in the privoxy log.

RE: No longer possible to run privoxy on openrc? - bill-auger - 6 months ago -

it starts for me so i could only offer basic trouble-shooting advice, as with any service - openrc has no logging by default - you could add a logging service if necessary

first of all, check that your /etc/privoxy/config exists and is correct, and if there is a /etc/privoxy/config.pacnew file to merge

$ grep privoxy /etc/passwd
privoxy:x:42:42:Privoxy:/:/usr/bin/nologin

$ grep privoxy /etc/group
privoxy:x:42:

$ sudo grep privoxy /etc/shadow
privoxy:!*:19677::::::

the precise numbers 42:42 and 42 are important
the precise number 19677 is not important; but it should be a similar number

then interrogate openrc for the service state

$ sudo rc-status

that should show 'privoxy' under the 'default' runlevel - if not, then maybe you forgot to enable it, as pacman suggests during install

$ sudo rc-update add privoxy default
$ sudo rc-service privoxy start

check it again (sudo rc-status) - if it is not running, you could then try starting the service manually - that may show any error messages - according to the service file (/etc/init.d/privoxy), the service should be started as the 'privoxy' user and the command should be:

$ sudo -u privoxy /usr/bin/privoxy --no-daemon /etc/privoxy/config

    (1-3/3)