Bug 53761 - Initscript doesn't handle pid file properly
Summary: Initscript doesn't handle pid file properly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: squid
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-17 22:33 UTC by Thomas Jarosch
Modified: 2014-03-17 02:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-25 04:28:09 UTC
Embargoed:


Attachments (Terms of Use)
bugfix (789 bytes, patch)
2001-09-17 22:33 UTC, Thomas Jarosch
no flags Details | Diff

Description Thomas Jarosch 2001-09-17 22:33:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)

Description of problem:
If you have to do a lot of restarts/reloads of squid (like changing the 
configuration on the fly for a network appliance) the current initscript 
will run multiple copies of squid due it's improper pidfile handling. 
Those extra instances will fail with "Cannot open HTTP port" or "No copy 
running". Patch supplied.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. ./squid restart ; ./squid restart ; ./squid restart
	

Additional info:

Comment 1 Thomas Jarosch 2001-09-17 22:33:49 UTC
Created attachment 31938 [details]
bugfix

Comment 2 Bill Nottingham 2002-07-08 21:06:14 UTC
Added in 2.4.STABLE7-1; thanks!


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