FS#66616 - [tinyproxy] hangs on startup because PidFile does not match the systemd unit
Attached to Project:
Community Packages
Opened by Asher256 (Asher256) - Monday, 11 May 2020, 18:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 May 2023, 20:01 GMT
Opened by Asher256 (Asher256) - Monday, 11 May 2020, 18:17 GMT
Last edited by Toolybird (Toolybird) - Monday, 01 May 2023, 20:01 GMT
|
Details
Description: "systemctl start tinyproxy" hangs because the
default value of "PidFile" in
"/etc/tinyproxy/tinyproxy.conf" is different from "PidFile"
in "/usr/lib/systemd/system/tinyproxy.service".
Additional info: ================ * Package: tinyproxy-1.10.0-1 Steps to reproduce: =================== 1) pacman -S tinyproxy 2) systemctl start tinyproxy # it hangs indefinitely How to fix it: ============== Modify "/etc/tinyproxy/tinyproxy.conf" in the pacman package "community/tinyproxy". The following line in "/etc/tinyproxy/tinyproxy.conf": #PidFile "/var/run/tinyproxy/tinyproxy.pid" Should be replaced by: PidFile "/run/tinyproxy/tinyproxy.pid" (to match "PIDFile=/run/tinyproxy/tinyproxy.pid" in "/usr/lib/systemd/system/tinyproxy.service") |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 01 May 2023, 20:01 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#65908
Monday, 01 May 2023, 20:01 GMT
Reason for closing: Duplicate
Additional comments about closing:
I did not update the PKGBUILD to 1.11.0 as that release is unsigned and by a different author.
Edit:
Should also fix
FS#65908which I believe is the same issue as this one.FS#65908.# cat /etc/systemd/system/tinyproxy.service.d/override.conf
[Service]
PIDFile=
Type=simple
ExecStart=
ExecStart=-/usr/bin/tinyproxy -d