https://bugzilla.novell.com/show_bug.cgi?id=852941
https://bugzilla.novell.com/show_bug.cgi?id=852941#c4
Mark Menzel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark-menzel@gmx.de
--- Comment #4 from Mark Menzel 2013-12-19 11:56:11 CET ---
Hi, same problem here. System is x64, 13.1 new installation. After installation
of privoxy the following error message appear in syslog:
privoxy[23343]: 2013-12-19 10:34:58.859 7f5812743700 Info: Failed to reopen
logfile: '/var/lib/privoxy/log/logfile'. Retrying after closing the old file
descriptor first. If that doesn't work, Privoxy will exit without being able to
log a message.
I'm searching the Internet and change my systemd-script as follows:
[Unit]
Description=Privoxy Web Proxy With Advanced Filtering Capabilities
After=network.target
#[Service]
#Type=forking
#ExecStartPre=-/bin/bash -c "/usr/bin/cp -upf
/etc/{resolv.conf,host.conf,hosts,localtime}
#/var/lib/privoxy/etc/"
#ExecStartPre=-/bin/bash -c "/usr/bin/cp -upf /$(basename $(echo
#/var/lib/privoxy/lib*))/{libresolv.so.2,libnss_dns{,6}.so.2}
/var/lib/privoxy/lib*/"
#PIDFile=/run/privoxy.pid
#ExecStart=/usr/sbin/privoxy --chroot --pidfile /run/privoxy.pid --user
privoxy.privoxy /etc/config
[Service]
Type=forking
PIDFile=/run/privoxy.pid
ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy
/etc/privoxy/config
#ExecReload=/bin/kill -USR1 $MAINPID
#WorkingDirectory=/var/lib/privoxy
[Install]
WantedBy=multi-user.target
With these changes (uncommented) privoxy works, as user privoxy, but without
chroot-jail. If i change the service-block to the first one, privoxy won't
start and breaks with the logfile error message (same as after clean
installation). The directory /var/lib/privoxy/log is rw by user and group
privoxy, also logfile and jarfile. Between changes of systemd-script i never
make changes to /etc/privoxy/config. Goal is to start privoxy as given user in
chroot-jail.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.