Bug 25600 - unclean uninstall scripts
Summary: unclean uninstall scripts
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Marc Krämer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-24 01:32 CEST by Marc Krämer
Modified: 2019-11-15 11:46 CET (History)
0 users

See Also:
Source RPM: java-1.8.0-openjdk-1.8.0.232-1.b09.2.mga7.src.rpm
CVE:
Status comment:


Attachments

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


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