FS#32246 - [privoxy] Doesn't work in systemd
Attached to Project:
Community Packages
Opened by Natanji (Natanji) - Saturday, 27 October 2012, 11:22 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 10 November 2012, 01:04 GMT
Opened by Natanji (Natanji) - Saturday, 27 October 2012, 11:22 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 10 November 2012, 01:04 GMT
|
Details
I just switched my system to systemd (alongside initscripts
which I didn't yet uninstall). The systemd privoxy unit
doesn't start privoxy; the command used in the unit file
just exits with error status 1. There is no error message
from privoxy itself, sadly, so I have no real idea what went
wrong.
Privoxy is definitely configured correctly: via old initscript's "rc.d start privoxy", everything works fine! Here is what systemd says about the service output: $ systemctl status privoxy.service privoxy.service - Privoxy Web Proxy With Advanced Filtering Capabilities Loaded: loaded (/usr/lib/systemd/system/privoxy.service; disabled) Active: failed (Result: exit-code) since Sat, 2012-10-27 13:02:09 CEST; 28s ago Process: 2357 ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/privoxy.service Additional info: * package version(s): privoxy 3.0.19-6 (didn't test others) * Privoxy log file is empty Steps to reproduce: # systemctl start privoxy |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 10 November 2012, 01:04 GMT
Reason for closing: Not a bug
Additional comments about closing: "/var/log/" on a tmpfs isn't officially supported.
Saturday, 10 November 2012, 01:04 GMT
Reason for closing: Not a bug
Additional comments about closing: "/var/log/" on a tmpfs isn't officially supported.
Running "systemctl status privoxy.service" as root does not append a single journal line.
mkdir -p $(pacman -Qql | grep '^/var/log/.*/$')
I'm sure someone will say this is a very ugly hack (at the very least it needs a chmod or two) and will provide a better method.