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#39016 - [squid] IPC not working as no /var/run/squid directory exists

Attached to Project: Community Packages
Opened by K. Hampf (khampf) - Sunday, 23 February 2014, 20:56 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 24 February 2014, 08:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Squid tries to use /var/run/squid/ for its IPC and the directory is nonexisting resulting in SIGABRT. The solution is to create /var/run/squid owned by proxy:proxy before starting, one idea would be to put it in the systemd-file like so:

ExecStartPre=-/usr/bin/mkdir /var/run/squid
ExecStartPre=-/usr/bin/chown proxy:proxy /var/run/squid

Additional info:
* package version(s)
Tested with 3.4.3-1 and 3.4.2

* config and/or log files etc.
Errors looks like theese (from journalctl -x --unit squid)
Squid Parent: (squid-1) process 488 exited due to signal 6 with status 0

Steps to reproduce:
Add "workers=2" to squid.conf and it will no longer reply to queries
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 24 February 2014, 08:55 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Sunday, 23 February 2014, 23:50 GMT
This should be done in a systemd tmpfiles.

Loading...