Bug 1312593 - Upgrades leave behind excess java.security.rpm* files
Upgrades leave behind excess java.security.rpm* files
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Deepak Bhole
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-27 12:16 EST by Scott Schmit
Modified: 2016-02-29 03:49 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-29 03:49:01 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Scott Schmit 2016-02-27 12:16:59 EST
Description of problem:
Even though I have never modified this file, it would appear that I have a bunch of java.security.rpm{save,new} files left behind from upgrades over time:
$ find /usr/lib/jvm -name '*.rpm???*'

Version-Release number of selected component (if applicable):
java-1.8.0-openjdk-1: ->

But based on the symlinks still used, I suspect this is still an issue.

How reproducible:

Steps to Reproduce:
1. Upgrade java-1.8.0-openjdk from one version to another

Actual results:
See results of find above, as well as this output:
warning: /usr/lib/jvm/java-1.8.0-openjdk- saved as /usr/lib/jvm/java-1.8.0-openjdk-

Expected results:
No extra files littered about in multiple version-specific directories.

Additional info:
Comment 1 jiri vanek 2016-02-29 03:49:01 EST
Hello. AFAIK this is caused by legacy behaviour, when you had custom modified/or by accident buggy from package (it happened in past)  java.security file. IN such an case the java.security.rpmsave was created, and as untracked file carried over updates. And always left behind (as  it is correct behaviour for *.rpmnew files)

If you delete *latest*  rpmnew  file, it should be not recreated in next update.

Ofocurse feel free to remove al legacy /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.*-*.b*.fc*.x86_64

I'm closinig now as this was intentionally fixed longer ago. 

If you remove latest jre/lib/security/java.security.rpmsave and in next udpate this file will be again recreated, please reopen. (in that case I wil lneed content and md5sum of all java.security* files)

(hm.. I'm hoping all the rpmnew/old fixes went to  f22 too, but should)

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