Bug 1859301

Summary: Misleading message in access log for idle timeout
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: Jamie Chapman <jachapma>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: medium Docs Contact: Josip Vilicic <jvilicic>
Priority: medium    
Version: 8.0CC: bsmejkal, jvilicic, pasik, sgouvern, spichugi, tbordaz, vashirov
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: 389-ds-devel-1.4-8040020201105165416.866effaa Doc Type: Bug Fix
Doc Text:
.Network connection idle timeouts are no longer reported as resource errors Previously, Directory Server reported a misleading error that a resource was temporarily unavailable when an idle network connection timed out. With this update, the error macro for network connection idle timeouts has been changed from `EAGAIN` to `ETIMEDOUT`, and an accurate error message describing a timeout is written to the Directory Server access logs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:45:18 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:

Description mreynolds 2020-07-21 16:22:23 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/389-ds-base/issue/47868

The wording for a connection being closed due to an idle time out is reported in the access log as:
[30/Jul/2014:14:23:22 -0500] conn=204887 op=-1 fd=66 closed error 11 (Resource temporarily unavailable) - T1

I would suggest changing this to clearly state that it is Idle Timeout Exceeded.  The present wording would suggest that there is a resource issue preventing a request from being fulfilled.  

*Note* when logconv.pl consumes a log, it does report these as:
Resource Unavailable:         387
    -  387  (T1) Idle Timeout Exceeded

Comment 3 bsmejkal 2020-11-16 09:10:54 UTC
Changes to log message are present in 389-ds-base-1.4.3.16-1.module+el8.4.0+8740+d5ec8778.x86_64 package.
Marking as Verified:Tested.

Comment 10 sgouvern 2020-11-23 09:48:35 UTC
verified:tested (see comment 3) with build 39-ds-base-1.4.3.16-1.module+el8.4.0+8740+d5ec8778.x86_64
-> marking as VERIFIED

Comment 18 errata-xmlrpc 2021-05-18 15:45:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (389-ds:1.4 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1835