Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496578 - net-proxy/squid-3.3.11 - init script tries to regenerate cache directories even with rock-storage active
Summary: net-proxy/squid-3.3.11 - init script tries to regenerate cache directories ev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-31 09:03 UTC by Jochen Erwied
Modified: 2014-01-18 22:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified squid init script (squid.init,3.31 KB, text/plain)
2013-12-31 09:03 UTC, Jochen Erwied
Details
Updated init-script (squid.init,3.31 KB, text/plain)
2014-01-03 06:32 UTC, Jochen Erwied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Erwied 2013-12-31 09:03:09 UTC
Created attachment 366622 [details]
Modified squid init script

When having rock-storage active in squid.conf, the init-script tries to regenerate the store-directories every time.

rock is a single-file-storage, so checking if a directory is present does not make any sense.

Attached is a modified init-script with additional checking for storage-type 'rock'.

Also tries to fix the behaviour mentioned in Bug #496452, and checks if a squid-owned directory is present at /run/squid for ipc-files.
Comment 1 Jochen Erwied 2014-01-03 06:32:23 UTC
Created attachment 366814 [details]
Updated init-script

Missing space in rock-detection added
Comment 2 Eray Aslan gentoo-dev 2014-01-18 22:17:40 UTC
Should be fixed in net-proxy/squid-3.4.2.  Please let me know if you still have a problem.