Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 643 - /etc/rc.d/init.d/squid breaks with multiple CACHE_DIR tags
Summary: /etc/rc.d/init.d/squid breaks with multiple CACHE_DIR tags
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: squid
Version: 5.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-12-29 04:52 UTC by Adam Thompson
Modified: 2011-01-26 15:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1998-12-29 15:35:02 UTC


Attachments (Terms of Use)

Description Adam Thompson 1998-12-29 04:52:07 UTC
If multiple "cache_dir" tags are present in
/etc/squid.conf, the init script used to control squid
(/etc/rc.d/init.d/squid) breaks down due to the binary test
of $CACHE_DIR.  This assumes one cache_dir only.

In fact, this test needs to be a for... loop over all the
values of CACHE_DIR, and run the "init_cache_dir" mode if
*any* of them are invalid.

Comment 1 Aleksey Nogin 1998-12-29 05:49:59 UTC
Try using my squid-rhcn RPM from
http://developer.redhat.com/rhcn/browse/rpm2html/Networking_Daemons.html
(They are _not_ produced by RedHat)

Comment 2 Bill Nottingham 1998-12-29 15:35:59 UTC
fixed in the next squid release (2.1.PATCH2-2...)


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