JDK-5057194 : Removal of SUNWj5cfg does not remove all components it created.
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_10
  • CPU: generic
  • Submitted: 2004-06-03
  • Updated: 2005-09-29
  • Resolved: 2005-09-29
Related Reports
Relates :  
Description
###@###.### 2004-06-03
Upon removal, the files /etc/mailcap and /etc/mime.types remain on the
system even if they were created by this package and are not referenced
by other packages.

Comments
EVALUATION This isn't trivial. Most applications modify these files dynamically rather than at install time. The only way to remove them properly would be to check the contents of the file and remove it iff it is unmodified from when it was created. That assumes there is only one JVM on the system. There may be many which makes this a very difficult problem and not worth the effort to address.
29-09-2005

EVALUATION ###@###.### 2004-06-05 Need to discuss this with Mike and Kumar. It may be as simple as regestering these files with installf, but we need to be careful about package interactions. ###@###.### 2004-06-17 Further review with the Java Desktop System team (and specifically Mozilla) is required to determine how best to resolve this bug. This is not a showstopper for Tiger. The only question is... which package should remove the files when refcount=0.
20-06-2004

SUGGESTED FIX ###@###.### 2004-06-03 Refister these components vi installf. We need to analyse any other packages which may modify these files to make sure they do the same. Netscape is the likely consummer, but it does not seem to modify these particular files.
20-06-2004

PUBLIC COMMENTS /etc/mailcap and /etc/mime.types may be left incorrectly on the system after the removal of SUNWj5cfg. This is a "no harm" situation.
20-06-2004