Bug 904165 - link to cacerts file is broken under RHEL 5.9 (OK on 6.3)
Summary: link to cacerts file is broken under RHEL 5.9 (OK on 6.3)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: java-1.7.0-openjdk
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: Lukáš Zachar
URL:
Whiteboard:
: 850656 (view as bug list)
Depends On:
Blocks: 816135
TreeView+ depends on / blocked
 
Reported: 2013-01-25 16:18 UTC by Ian Young
Modified: 2013-03-15 09:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 09:19:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ian Young 2013-01-25 16:18:46 UTC
Description of problem:

The new (in 5.9) java-1.7.0-openjdk package installs a jre whose bin/security/cacerts is no longer a file but a link to /etc/pki/java/cacerts, which does not exist.

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

java-1.7.0-openjdk-1.7.0.9-2.3.4.el5_9.1

Additional info:

Under 6.3 the same link is present in the bin/security directory, but the destination file is present courtesy of the ca-certificates package.  Unfortunately that package is not available in 5.9.

Comment 1 Ian Young 2013-01-25 19:58:07 UTC
For bin/security, read lib/security throughout.

Sorry, long day...

Comment 2 jiri vanek 2013-01-30 13:23:42 UTC
yap, this is redundant in spec file, should be removed:

  # Install cacerts symlink.
  rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
  pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
    RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
      %{_jvmdir}/%{jredir}/lib/security)
    ln -sf $RELATIVE/cacerts .
  popd

Comment 3 Tomas Hoger 2013-02-06 09:19:09 UTC
*** Bug 850656 has been marked as a duplicate of this bug. ***


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