Bug 136049

Summary: unnecessary O_NONBLOCK on descriptor for disk file breaks with .624 kernel
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: squidAssignee: Jay Fenlason <fenlason>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: jfeeney
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: 2004-10-20 14:56:59 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:
Bug Depends On: 136057    
Bug Blocks: 123268    
Attachments:
Description Flags
patch to remove unnecessary O_NONBLOCK use none

Description Ulrich Drepper 2004-10-17 07:05:54 UTC
Description of problem:
The .624 kernel has this questionable feature that read for files on
disk can return EAGAIN.  squid breaks badly if this happens since this
is not considered as a recoverable error.  The attached patch seems to
fix it.

Version-Release number of selected component (if applicable):
squid-2.5.STABLE6-2

How reproducible:
always

Steps to Reproduce:
1.start squid on .624 kernel
2.
3.
  
Actual results:
bails out with errors about not being able to read
/etc/squid/errors/ERR_READ_TIMEOUT or a similar file.

Expected results:
Should start up.

Additional iI'll attach a patch which should fix it.  Works for me at
least.

Comment 1 Ulrich Drepper 2004-10-17 07:07:13 UTC
Created attachment 105345 [details]
patch to remove unnecessary O_NONBLOCK use

Comment 2 Bill Nottingham 2004-10-20 05:26:19 UTC
kernel is fixed, deescalating


Comment 3 Jay Fenlason 2004-10-20 14:56:59 UTC
New squid in rawhide with patch, too.