RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1976882 - logconv.pl -j: Use of uninitialized value $first in numeric gt (>) at /usr/bin/logconv.pl line 1754.
Summary: logconv.pl -j: Use of uninitialized value $first in numeric gt (>) at /usr/bi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Jamie Chapman
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-28 13:02 UTC by Viktor Ashirov
Modified: 2022-05-10 14:11 UTC (History)
5 users (show)

Fixed In Version: 389-ds-1.4-8060020211118202403.ce3e8c9c
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 13:43:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Example access log that shows error (139.56 KB, application/gzip)
2021-06-28 13:02 UTC, Viktor Ashirov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 4921 0 None closed logconv.pl - Use of uninitialized value 2021-10-25 19:11:45 UTC
Red Hat Issue Tracker IDMDS-1587 0 None None None 2021-08-30 07:05:43 UTC
Red Hat Issue Tracker IDMDS-1588 0 None None None 2021-08-30 07:09:40 UTC
Red Hat Product Errata RHBA-2022:1815 0 None None None 2022-05-10 13:43:29 UTC

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


Note You need to log in before you can comment on or make changes to this bug.