Bug 1154232

Summary: nss tools core dump on ppc64 due to recent changes in softoken and freebl
Product: Red Hat Enterprise Linux 7 Reporter: Elio Maldonado Batiz <emaldona>
Component: nss-softoknAssignee: Elio Maldonado Batiz <emaldona>
Status: CLOSED ERRATA QA Contact: Alicja Kario <hkario>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.1CC: emaldona, hkario, ksrot, rrelyea
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: nss-softokn-3.16.2-10.el7 Doc Type: Bug Fix
Doc Text:
Cause: A build time check for platforms lacking nss init support was lacking. Consequence: The nss security tools core dumped when running on ppc64. Fix: The build files were modified to check for the NSS_NO_INIT_SUPPORT build-time environment variable and if if set enable code that allows those platforms to continue to function. Result: The ppc64 core dumps no longer occur.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 08:28:49 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:
Bug Depends On:    
Bug Blocks: 1145434    
Attachments:
Description Flags
handle no init support on ppc4
rrelyea: review+
spec file changes in patch format
rrelyea: review-
spec file changes V2 - in patch format
none
spec file changes V3 - in patch format rrelyea: review+

Description Elio Maldonado Batiz 2014-10-18 00:00:55 UTC
Description of problem: nss fails build on ppc564 fails due to many core dumps while running the test suite. This is not a problem with the test. Most nss security tools core dump on ppc64.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. On a ppc64 system execute certutil -H


Actual results: Core dump detected


Expected results: certutil displays help info


Additional info: The problem is caused by one of the recent nss-softokn patches to need latest FIPS 140 requirement. It has been investigated by Bob Relyea who has patches that solve the problem. I'll let Bob explain the causes in greater detail.

Comment 1 Elio Maldonado Batiz 2014-10-18 22:11:01 UTC
Created attachment 948190 [details]
handle no init support on ppc4

Bob's patch slightly modified on account of latest sources.

Comment 2 Elio Maldonado Batiz 2014-10-18 22:14:09 UTC
Created attachment 948192 [details]
spec file changes in patch format

Comment 3 Bob Relyea 2014-10-20 18:52:39 UTC
Comment on attachment 948190 [details]
handle no init support on ppc4

r+ rrelyea

Comment 4 Bob Relyea 2014-10-20 18:53:27 UTC
Comment on attachment 948192 [details]
spec file changes in patch format

r-

Comment 5 Elio Maldonado Batiz 2014-10-20 20:39:20 UTC
Created attachment 948710 [details]
spec file changes V2 - in patch format

Comment 6 Elio Maldonado Batiz 2014-10-20 21:23:46 UTC
Created attachment 948745 [details]
spec file changes V3 - in patch format

Comment 7 Bob Relyea 2014-10-20 23:13:19 UTC
Comment on attachment 948745 [details]
spec file changes V3 - in patch format

r+ rrelyea

Comment 13 errata-xmlrpc 2015-03-05 08:28:49 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-2015-0364.html