Bug 24234
| Summary: | Stopping squid sometimes result in an endless loop | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jos Vos <jos> | ||||
| Component: | squid | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | CC: | rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2001-01-17 20:32:27 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jos Vos
2001-01-17 20:05:41 UTC
Created attachment 7748 [details]
Patch for squid init script.
Justification for the changes made in the patch: (1) The "-k check" is included to catch most cases, when squid is just not running anymore and the pid file still exists for some reason (e.g. kill -9). (2) The time counter is included, in case a squid process exists (assuming -k check works reliable), but won't shutdown for some reason. The timeout can be fairly long, as this will only happen in very rare cases (if ever), but it's still better than having to push the reset button :-). Will be fixed in 2.3.STABLE4-7. The variable will be set from the new /etc/sysconfig/squid, however - thanks for the patch. |