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#27836 - [tinyproxy] - Fails to start due ot missing /var/run/tinyproxy

Attached to Project: Community Packages
Opened by SanskritFritz (SanskritFritz) - Thursday, 05 January 2012, 12:51 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 06 January 2012, 19:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: This is not a duplicate of  FS#21639  [1]. There we have successfully created the necessary /var/run/tinyproxy directory on install. However nowadays this directory may get deleted automatically upon boot hence tinyproxy refuses to start, as it is in my case. Please see  FS#27666  [2] which is basically the same issue for stunnel. In the same manner it is advised to create a new file /usr/lib/tmpfiles.d/tinyproxy.conf with the following content:
d /var/run/tinyproxy 0770 nobody nobody -
You may use to the stunnel package in [community] [3] and tinyproxy-git in [AUR] [4] (both tested as working) as reference.

Additional info:
* package version: tinyproxy 1.8.3-1

[1] https://bugs.archlinux.org/task/21639
[2] https://bugs.archlinux.org/task/27666
[3] http://www.archlinux.org/packages/?sort=&q=stunnel
[4] https://aur.archlinux.org/packages.php?ID=44064
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Friday, 06 January 2012, 19:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.8.3-2.
Comment by SanskritFritz (SanskritFritz) - Thursday, 05 January 2012, 15:10 GMT
Just one minor remark:
[ -z "$PID" ] && rm -f /var/run/tinyproxy.pid && \
/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf 2>/dev/null
shouldnt this be
[ -z "$PID" ] && rm -f /var/run/tinyproxy/tinyproxy.pid && \
/usr/sbin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf 2>/dev/null
in the daemon script?

Loading...