Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 913821

Summary: /usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre/lib/security/nss.cfg gets overwritten on updates
Product: Red Hat Enterprise Linux 6 Reporter: Andrew John Hughes <ahughes>
Component: java-1.6.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-23 05:49: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:

Description Andrew John Hughes 2013-02-22 08:25:02 UTC
Description of problem:

When installing an updated version of the java-1.6.0-openjdk RPM, my existing nss.cfg file is wiped and replaced with one which breaks my setup, resulting in
java.security.ProviderException: Error parsing configuration errors.

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

Both

java-1.6.0-openjdk-1.6.0.0-1.56.1.11.8.el6_3.x86_64

and

java-1.7.0-openjdk-1.7.0.9-2.3.7.1.el6_3.x86_64

suffer from the issue.

How reproducible:

Edit nss.cfg then update java-1.6.0/1.7.0-openjdk

Steps to Reproduce:
1.
2.
3.
  
Actual results:

nss.cfg is overwritten by the broken version from the RPM.

Expected results:

nss.cfg is left intact. New version is provided as nss.cfg.rpmnew as with java.security.

Additional info:

Comment 2 Deepak Bhole 2013-02-22 13:35:53 UTC
Good catch. We need to make it config(noreplace).

Comment 3 jiri vanek 2013-03-25 17:13:12 UTC
Builds with fix of this were pushed to fedora.
if they will pass theirs usual QA, I'm for inclusion into next CPU for Rhel
http://pkgs.fedoraproject.org/cgit/java-1.7.0-openjdk.git/commit/?id=89e2aea2f9880efd4ad773ef9dc566225c9ae9ef