Red Hat Bugzilla – Bug 136049
unnecessary O_NONBLOCK on descriptor for disk file breaks with .624 kernel
Last modified: 2014-08-31 19:26:49 EDT
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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.start squid on .624 kernel
bails out with errors about not being able to read
/etc/squid/errors/ERR_READ_TIMEOUT or a similar file.
Should start up.
Additional iI'll attach a patch which should fix it. Works for me at
Created attachment 105345 [details]
patch to remove unnecessary O_NONBLOCK use
kernel is fixed, deescalating
New squid in rawhide with patch, too.