Bug 1976882

Summary: logconv.pl -j: Use of uninitialized value $first in numeric gt (>) at /usr/bin/logconv.pl line 1754.
Product: Red Hat Enterprise Linux 8 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: Jamie Chapman <jachapma>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: bsmejkal, ldap-maint, mreynolds, sgouvern, tbordaz
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-1.4-8060020211118202403.ce3e8c9c Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 13:43:00 UTC Type: Bug
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 Flags
Example access log that shows error none

Description Viktor Ashirov 2021-06-28 13:02:49 UTC
Created attachment 1795415 [details]
Example access log that shows error

Description of problem:
When I run logconv.pl with -j option, it has error in the output:
Use of uninitialized value $first in numeric gt (>) at /usr/bin/logconv.pl line 1754.


Version-Release number of selected component (if applicable):
389-ds-base-1.4.3.16-13.module+el8.4.0+10307+74bbfb4e.x86_64

How reproducible:
always

Steps to Reproduce:
1. Run logconv.pl -j on access logs produced by IPA

Actual results:
----- Recommendations -----

 1.  You have unindexed components, this can be caused from a search on an unindexed attribute, or your returned results exceeded the allidsthreshold.  Unindexed components are not recommended. To refuse unindexed searches, switch 'nsslapd-require-index' to 'on' under your database entry (e.g. cn=UserRoot,cn=ldbm database,cn=plugins,cn=config).

 2.  You have a significant difference between binds and unbinds.  You may want to investigate this difference.
Use of uninitialized value $first in numeric gt (>) at /usr/bin/logconv.pl line 1754.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expected results:
No errors

Additional info:

Comment 6 bsmejkal 2021-11-26 11:32:04 UTC
Build tested:
389-ds-base-1.4.3.28-2.module+el8.6.0+13331+9eba6551.x86_64

Running logconv.pl with -j option on example access log:


----- Recommendations -----

 1.  You have unindexed components, this can be caused from a search on an unindexed attribute, or your returned results exceeded the allidsthreshold.  Unindexed components are not recommended. To refuse unindexed searches, switch 'nsslapd-require-index' to 'on' under your database entry (e.g. cn=UserRoot,cn=ldbm database,cn=plugins,cn=config).

 2.  You have a significant difference between binds and unbinds.  You may want to investigate this difference.


There is no error "Use of uninitialized value $first in numeric gt (>) at /bin/logconv.pl line 1754".
Marking as Verified:Tested, VERIFIED.

Comment 8 errata-xmlrpc 2022-05-10 13:43:00 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-2022:1815