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 1390325 - Typo in comment line of UserPwdDirAuthentication.java
Summary: Typo in comment line of UserPwdDirAuthentication.java
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On: 1375347
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-31 17:06 UTC by Tom Lavigne
Modified: 2016-12-06 17:05 UTC (History)
7 users (show)

Fixed In Version: pki-core-10.3.3-12.el7_3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1375347
Environment:
Last Closed: 2016-12-06 17:05:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2881 0 normal SHIPPED_LIVE pki-core bug fix update 2016-12-06 22:00:37 UTC

Description Tom Lavigne 2016-10-31 17:06:45 UTC
This bug has been copied from bug #1375347 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Sumedh Sidhaye 2016-11-04 09:18:28 UTC
Bug #1375347 is still on POST, hence I cannot verify this fix until we have a new build.

Comment 5 Matthew Harmsen 2016-11-04 18:37:27 UTC
(In reply to Sumedh Sidhaye from comment #4)
> Bug #1375347 is still on POST, hence I cannot verify this fix until we have
> a new build.

That bug is for RHEL 7.4 which won't be released for quite some time; POST means that the fix has been checked into the source tree, but it is not MODIFIED since no build has been created yet.

This bug is the one that needs to be marked VERIFIED since it is part of the RHEL 7.3.z Batch 1 Update - pki-core-10.3.3-13.el7_3 (which contained additional fixes to pki-core-10.3.3-12.el7_3).

Comment 6 Sumedh Sidhaye 2016-11-07 08:12:10 UTC
Following are the steps I've followed to check the fix:

1. wget http://download.eng.bos.redhat.com/brewroot/packages/pki-core/10.3.3/13.el7_3/src/pki-core-10.3.3-13.el7_3.src.rpm
2. rpm2cpio - < pki-core-10.3.3-13.el7_3.src.rpm 
3. rpm2cpio pki-core-10.3.3-13.el7_3.src.rpm | cpio -idmv
4. tar -xvzf pki-core-10.3.3.tar.gz
5. cd pki-core-10.3.3/
6. grep -r UdnPwdDirAuth base/server/cms/src/com/netscape/cms/authentication/UserPwdDirAuthentication.java

Here is the output of step #6

[user@dhcp201-158 pki-core-10.3.3]$ grep -r UdnPwdDirAuth base/server/cms/src/com/netscape/cms/authentication/UserPwdDirAuthentication.java
     * Initializes the UdnPwdDirAuthentication auth manager.
[user@dhcp201-158 pki-core-10.3.3]$

I can still see reference to UdnPwdDirAuthentication, hence marking FailedQA

Comment 7 Endi Sukma Dewata 2016-11-07 18:53:12 UTC
The steps in comment #6 is incomplete because in RHEL updates the original source code in the tarball is unchanged but it's patched using separate patch files (see RPM spec file). To verify this bug properly, the patch files need to be applied against the original source code.

Alternatively, the fix can be verified upstream in the following file (line 111):
https://git.fedorahosted.org/cgit/pki.git/tree/base/server/cms/src/com/netscape/cms/authentication/UserPwdDirAuthentication.java?h=DOGTAG_10_3_BRANCH

Comment 8 Sumedh Sidhaye 2016-11-08 05:45:19 UTC
I can see the patch file in the downloaded SRPM. 

[root@cloud-qe-07 pki-core-10.3.3]# ls /root/test_1390325/
pki-core-10.3.3                                     pki-core-Fix-build-on-Fedora-25.patch                 pki-core-snapshot-2.patch
pki-core-10.3.3-13.el7_3.src.rpm                    pki-core-KRA-external-CA-partial-cert-chain.patch     pki-core-snapshot-3.patch
pki-core-10.3.3.tar.gz                              pki-core-KRA-key-recovery-via-CLI-in-FIPS-mode.patch  pki-core-snapshot-4.patch
pki-core-beta.patch                                 pki-core-post-re-base.patch                           pki-core.spec
pki-core-compare-serial-DNs-host-authz-check.patch  pki-core-problems-with-FIPS-mode.patch                pki-core-two-step-external-CA-authorityID.patch
pki-core-eliminate-duplicate-classes-in-jars.patch  pki-core-snapshot-1.patch                             pki-core-typo-in-UserPwdDirAuthentication.patch

I also verified the fix upstream in the file mentioned above.

Hence marking this bug verified.

Comment 10 errata-xmlrpc 2016-12-06 17:05:30 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, 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://rhn.redhat.com/errata/RHBA-2016-2881.html


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