Bug 11087 - Bug in /etc/rc.d/init.d/squid
Bug in /etc/rc.d/init.d/squid
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: squid (Show other bugs)
6.2
All Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
none
:
: 11274 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-04-28 03:14 EDT by Alexander Kanevskiy
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-04-28 16:43:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexander Kanevskiy 2000-04-28 03:14:21 EDT
Newver version of squid (2.3+) has aonother syntax cache_dir directive.
so when user change default value
cache_dir ufs 100 16 256
for exmaple to incrase cache dir size we got a "squid -z" on every squid
start.

fix:
in squid.init:
CACHE_SWAP=`sed -e 's/#.*//g' /etc/squid/squid.conf | \
        grep cache_dir | sed -e 's/cache_dir//' | \
        cut -d ' ' -f 2`

change "cut -d ' ' -f 2" to "cout -d ' ' -f 3"
Comment 1 Bill Nottingham 2000-04-28 16:43:59 EDT
Ack, you're right. Fixed in 2.3.stable2-5.
Thanks for the bug report & fix!
Comment 2 Bill Nottingham 2000-05-16 12:46:59 EDT
*** Bug 11274 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.