Bug 25600

Summary: unclean uninstall scripts
Product: Mageia Reporter: Marc Krämer <mageia>
Component: RPM PackagesAssignee: Marc Krämer <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: java-1.8.0-openjdk-1.8.0.232-1.b09.2.mga7.src.rpm CVE:
Status comment:

Description Marc Krämer 2019-10-24 01:32:53 CEST
each update of java leaves files under /usr/lib/jvm/

it looks like some files are installed in 

/usr/lib/jvm/java-*/jre/lib/[ext,security] 

which are unknown to rpm, so they were not removed on uninstall/update.
Comment 1 David Walser 2019-10-27 17:00:48 CET
Just FYI, you'll need to report this to RedHat's bugzilla if you actually want it to be fixed.  We don't maintain any downstream changes beyond what is necessary.
Comment 2 Marc Krämer 2019-10-29 11:10:53 CET
@David: I quite don't understand your answer. As "user" of mageia, I'm supposed to report bugs upstream "redhat" because we just import packages?! The responsibility should be at the maintainer.
I thought we do more, than just importing packages... I thought fixing and reporting patches upstream is what we do too.
Comment 3 Marc Krämer 2019-11-15 11:44:21 CET
I've found the problem - and it is a change by mageia!
the files not removed are defined as config files and are binary which is total nonsense:
config(noreplace) %{_jvmdir}/%{jredir -- %{?1}}/lib/security/policy/unlimited/US_export_policy.jar
%config(noreplace) %{_jvmdir}/%{jredir -- %{?1}}/lib/security/policy/unlimited/local_policy.jar
%config(noreplace) %{_jvmdir}/%{jredir -- %{?1}}/lib/security/policy/limited/US_export_policy.jar
%config(noreplace) %{_jvmdir}/%{jredir -- %{?1}}/lib/security/policy/limited/local_policy.jar

Assignee: java => mageia

Comment 4 Marc Krämer 2019-11-15 11:46:29 CET
changed for future builds.

Resolution: (none) => FIXED
Status: NEW => RESOLVED