Bug 1378527

Summary: Miscellaneous Minor Changes
Product: Red Hat Enterprise Linux 7 Reporter: Matthew Harmsen <mharmsen>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: edewata, ssidhaye
Target Milestone: rc   
Target Release: 7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pki-core-10.4.0-1.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 22:46:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matthew Harmsen 2016-09-22 16:11:09 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/pki/ticket/2476

This ticket was created as a holding place for multiple minor bug fixes and enhancements made to the Dogtag 10.4.0 Milestone which have generally been provided by individuals outside the core development group (e. g. - QE), although it will also be used as the bug of choice for relatively minor bug fixes from core development members as well. 

REMINDER:  This bug MUST contain either (a) QE Test Procedures for each submittal, or (b) a
                   statement that explicitly states that no QE Test Procedure is needed for
                   particular check-ins.

Comment 2 Matthew Harmsen 2016-10-05 23:20:40 UTC
Check-ins from https://fedorahosted.org/pki/ticket/2463 - Troubleshooting improvements:

edewata - Changes in master (10.4):

* 15e2524c612184116763e36d5b91128662cf8006
* efc88b134f3f188c43b3bec978e9d19fd297df70 

edewata - Additional changes in master (10.4):

* 78949dc38608fa839e96780c6458f6dea5db9898

Comment 3 Matthew Harmsen 2016-10-05 23:22:40 UTC
Check-ins from https://fedorahosted.org/pki/ticket/2463 - Troubleshooting improvements:

edewata - Additional changes in master (10.4):

* 8c40580327493e4d18dbc32c48fd66e86ab1e500

Comment 4 Matthew Harmsen 2016-10-05 23:25:23 UTC
Check-ins from https://fedorahosted.org/pki/ticket/2505 - Fix packaging duplicates of classes in multiple jar files

edewata - Fixed in master (10.4):

* 0f9212ee0fee093be5e47afc15629d281984ec09

Comment 5 Matthew Harmsen 2016-10-05 23:35:17 UTC
(In reply to Matthew Harmsen from comment #4)
> Check-ins from https://fedorahosted.org/pki/ticket/2505 - Fix packaging
> duplicates of classes in multiple jar files
> 
> edewata - Fixed in master (10.4):
> 
> * 0f9212ee0fee093be5e47afc15629d281984ec09

QE - This particular check-in does not require any testing as it is
     a simple build-time fix which stopped duplicate classes being
     stored in pki-cms.jar and pki-<subsystem>.jar.

Optionally, if you still require simple sanity checking, you can perform the following:

# cd /usr/share/java/pki

# unzip -l pki-ca.jar > pki-ca.jar.manifest
# unzip -l pki-kra.jar > pki-kra.jar.manifest
# unzip -l pki-ocsp.jar > pki-ocsp.jar.manifest
# unzip -l pki-tks.jar > pki-tks.jar.manifest
# unzip -l pki-tps.jar > pki-tps.jar.manifest
# unzip -l pki-cms.jar > pki-cms.jar.manifest

# grep -F -x -f pki-cms.jar.manifest pki-ca.jar.manifest
   Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

# grep -F -x -f pki-cms.jar.manifest pki-kra.jar.manifest 
  Length      Date    Time    Name
---------  ---------- -----   ----
      156  01-01-1980 00:00   META-INF/MANIFEST.MF
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

# grep -F -x -f pki-cms.jar.manifest pki-ocsp.jar.manifest 
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

# grep -F -x -f pki-cms.jar.manifest pki-tks.jar.manifest 
  Length      Date    Time    Name
---------  ---------- -----   ----
      156  01-01-1980 00:00   META-INF/MANIFEST.MF
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

# grep -F -x -f pki-cms.jar.manifest pki-tps.jar.manifest 
  Length      Date    Time    Name
---------  ---------- -----   ----
      156  01-01-1980 00:00   META-INF/MANIFEST.MF
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

Comment 6 Matthew Harmsen 2016-10-18 22:38:27 UTC
(In reply to Matthew Harmsen from comment #4)
> Check-ins from https://fedorahosted.org/pki/ticket/2505 - Fix packaging
> duplicates of classes in multiple jar files
> 
> edewata - Fixed in master (10.4):
> 
> * 0f9212ee0fee093be5e47afc15629d281984ec09

Incorrect hash --- correct hash was documented in https://bugzilla.redhat.com/show_bug.cgi?id=1386424

Comment 7 Matthew Harmsen 2016-10-18 22:38:57 UTC
(In reply to Matthew Harmsen from comment #5)
> (In reply to Matthew Harmsen from comment #4)
> > Check-ins from https://fedorahosted.org/pki/ticket/2505 - Fix packaging
> > duplicates of classes in multiple jar files
> > 
> > edewata - Fixed in master (10.4):
> > 
> > * 0f9212ee0fee093be5e47afc15629d281984ec09
> 
> QE - This particular check-in does not require any testing as it is
>      a simple build-time fix which stopped duplicate classes being
>      stored in pki-cms.jar and pki-<subsystem>.jar.
> 
> Optionally, if you still require simple sanity checking, you can perform the
> following:
> 
> # cd /usr/share/java/pki
> 
> # unzip -l pki-ca.jar > pki-ca.jar.manifest
> # unzip -l pki-kra.jar > pki-kra.jar.manifest
> # unzip -l pki-ocsp.jar > pki-ocsp.jar.manifest
> # unzip -l pki-tks.jar > pki-tks.jar.manifest
> # unzip -l pki-tps.jar > pki-tps.jar.manifest
> # unzip -l pki-cms.jar > pki-cms.jar.manifest
> 
> # grep -F -x -f pki-cms.jar.manifest pki-ca.jar.manifest
>    Length      Date    Time    Name
> ---------  ---------- -----   ----
>         0  01-01-1980 00:00   META-INF/
>         0  01-01-1980 00:00   com/
>         0  01-01-1980 00:00   com/netscape/
>         0  01-01-1980 00:00   org/
>         0  01-01-1980 00:00   org/dogtagpki/
>         0  01-01-1980 00:00   org/dogtagpki/server/
> ---------                     -------
> 
> # grep -F -x -f pki-cms.jar.manifest pki-kra.jar.manifest 
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>       156  01-01-1980 00:00   META-INF/MANIFEST.MF
>         0  01-01-1980 00:00   META-INF/
>         0  01-01-1980 00:00   com/
>         0  01-01-1980 00:00   com/netscape/
>         0  01-01-1980 00:00   org/
>         0  01-01-1980 00:00   org/dogtagpki/
>         0  01-01-1980 00:00   org/dogtagpki/server/
> ---------                     -------
> 
> # grep -F -x -f pki-cms.jar.manifest pki-ocsp.jar.manifest 
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>         0  01-01-1980 00:00   META-INF/
>         0  01-01-1980 00:00   com/
>         0  01-01-1980 00:00   com/netscape/
>         0  01-01-1980 00:00   org/
>         0  01-01-1980 00:00   org/dogtagpki/
>         0  01-01-1980 00:00   org/dogtagpki/server/
> ---------                     -------
> 
> # grep -F -x -f pki-cms.jar.manifest pki-tks.jar.manifest 
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>       156  01-01-1980 00:00   META-INF/MANIFEST.MF
>         0  01-01-1980 00:00   META-INF/
>         0  01-01-1980 00:00   com/
>         0  01-01-1980 00:00   com/netscape/
>         0  01-01-1980 00:00   org/
>         0  01-01-1980 00:00   org/dogtagpki/
>         0  01-01-1980 00:00   org/dogtagpki/server/
> ---------                     -------
> 
> # grep -F -x -f pki-cms.jar.manifest pki-tps.jar.manifest 
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>       156  01-01-1980 00:00   META-INF/MANIFEST.MF
>         0  01-01-1980 00:00   META-INF/
>         0  01-01-1980 00:00   org/
>         0  01-01-1980 00:00   org/dogtagpki/
>         0  01-01-1980 00:00   org/dogtagpki/server/
> ---------                     -------

Moved procedure to https://bugzilla.redhat.com/show_bug.cgi?id=1386424

Comment 8 Matthew Harmsen 2017-01-30 16:46:01 UTC
8 weeks ago, edewata added these additional changes in master:

    e84e4a33570ce79f3c4d2aae4e6e96236221494b

Comment 9 Matthew Harmsen 2017-01-30 16:50:16 UTC
6 weeks ago edewata added these additional changes in master:

    b98ffc3d8bf386687ec53d7a73932dd2e8ff6ff8

Comment 11 Sumedh Sidhaye 2017-04-24 06:39:08 UTC
[root@pki1 pki]# rpm -qi pki-ca
Name        : pki-ca
Version     : 10.4.1
Release     : 1.el7
Architecture: noarch
Install Date: Monday 17 April 2017 01:30:34 AM EDT
Group       : System Environment/Daemons
Size        : 2290188
License     : GPLv2
Signature   : RSA/SHA256, Wednesday 29 March 2017 05:16:22 PM EDT, Key ID 199e2f91fd431d51
Source RPM  : pki-core-10.4.1-1.el7.src.rpm
Build Date  : Wednesday 29 March 2017 03:57:21 PM EDT
Build Host  : ppc-043.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://pki.fedoraproject.org/
Summary     : Certificate System - Certificate Authority

[root@pki1 pki]# unzip -l pki-ca.jar > pki-kra.jar.manifest
[root@pki1 pki]# unzip -l pki-kra.jar > pki-kra.jar.manifest
[root@pki1 pki]# unzip -l pki-ocsp.jar > pki-ocsp.jar.manifest
[root@pki1 pki]# unzip -l pki-tks.jar > pki-tks.jar.manifest
[root@pki1 pki]# unzip -l pki-tps.jar > pki-tps.jar.manifest
[root@pki1 pki]# unzip -l pki-cms.jar > pki-cms.jar.manifest

[root@pki1 ~]# cd /usr/share/java/pki

[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-tks.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------
[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-ca.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/legacy/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------
[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-kra.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
      153  01-01-1980 00:00   META-INF/MANIFEST.MF
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/legacy/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------
[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-ocsp.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------
[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-tks.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   com/
        0  01-01-1980 00:00   com/netscape/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------
[root@pki1 pki]# grep -F -x -f pki-cms.jar.manifest pki-tps.jar.manifest
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  01-01-1980 00:00   META-INF/
        0  01-01-1980 00:00   org/
        0  01-01-1980 00:00   org/dogtagpki/
        0  01-01-1980 00:00   org/dogtagpki/server/
---------                     -------

Comment 12 errata-xmlrpc 2017-08-01 22:46:01 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://access.redhat.com/errata/RHBA-2017:2110