FS#59246 - [squid] Used --foreground option in squid 4

Attached to Project: Community Packages
Opened by Indrajit Raychaudhuri (indrajitr) - Friday, 06 July 2018, 01:45 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 29 October 2018, 13:46 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:

Now that squid-4 has landed, squid.service can be updated to better align with upstream squid.service (maybe, use it directly instead) [1].

In particular,
* Better SMP support under systemd [2][3]
* Gracefully initialize squid swap directories by adding: ExecStartPre=/usr/sbin/squid --foreground -z [4][5]. This will also eliminate the need for manual housekeeping of swap directories after installation.

[1] https://github.com/squid-cache/squid/blob/master/tools/systemd/squid.service
[2] https://bugs.squid-cache.org/show_bug.cgi?id=3826
[3] https://github.com/squid-cache/squid/commit/d00e0e6d26acbd4c0c5e7b51f6b2900513282456#diff-d29c313433f1723d0bdd9664221014db
[4] https://bugs.squid-cache.org/show_bug.cgi?id=4578
[5] https://github.com/squid-cache/squid/commit/f7c25143533a993f431df81d4f2121a28c524fba#diff-d29c313433f1723d0bdd9664221014db


Additional info:
* package version(s): squid 4.1
* config and/or log files etc.: /usr/lib/systemd/system/squid.service
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 29 October 2018, 13:46 GMT
Reason for closing:  Fixed

Loading...