Bug 1002248 - Minor Version upgrade creates broken links in /etc/alternatives
Summary: Minor Version upgrade creates broken links in /etc/alternatives
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: java-1.7.0-oracle
Version: 5.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-28 17:41 UTC by Keith Jung
Modified: 2023-09-14 01:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-02 13:00:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Keith Jung 2013-08-28 17:41:39 UTC
Description of problem:
Applying the RPMs for java & javac components from java-1.7.0-oracle-1.7.0.15.x86_64 to java-1.7.0-oracle-1.7.0.21.x86_64 does not run a post install to update the links in /etc/alternatives this causes java components like jps to not resolve due to the link pointing at the old version which doesn't exist anymore. 

Version-Release number of selected component (if applicable):
Running on RHEL 5.9 Linux upgrading java & javac packages 
java-1.7.0-oracle-1.7.0.15.x86_64 to java-1.7.0-oracle-1.7.0.21.x86_64

How reproducible:
yum update 

Steps to Reproduce:
1.Run yum update on server that had java-1.7.0-oracle-1.7.0.15.x86_64 installed
2.will update to java-1.7.0-oracle-1.7.0.21.x86_64 to pick up current security fixes
3.Note you have many broken links in /etc/alternatives

Actual results:
Broken links in /etc/alternatives

Expected results:
Links in /etc/alternatives should point to new versions of the java components after the update

Additional info:

Comment 1 jiri vanek 2013-08-29 09:46:17 UTC
This sound to me like your alternatives are in manual mode. Then this is moreover correct behaviour. Nevertheless, the dangling symlinks should not be left even in manual mode. This sounds like bug in alternatives (although not probably)

Comment 2 RHEL Program Management 2014-03-07 12:36:33 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 3 RHEL Program Management 2014-06-02 13:00:20 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).

Comment 4 Red Hat Bugzilla 2023-09-14 01:49:49 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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