Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4680244

RPM does not follow LSB or filesystem hierachy

XMLWordPrintable

    • x86
    • linux

      Name: gm110360 Date: 05/06/2002


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      redhat 7.1
      i386

      ADDITIONAL OPERATING SYSTEMS :
      The error is in the RPM, not the OS


      A DESCRIPTION OF THE PROBLEM :
      Java is not being installed according to the Linux Standards
      Base. No effort is made to designate files in the RPM as
      documentation or configuration. Shareable files(docs,
      examples, manpages, are not separated from unshareable
      files(binaries) but instead dumped in a big directory
      containing all java1.4 related files. no effort is made to
      include java in the standard path. The manpages are copied
      into a manpage location, a hard or softlink would suffice.
      Solution would be to read the Linux Standards Base, esp the
      Standard Filesystem Hierachy, and install the software
      accordingly. The way it is now is considered bad practice
      and uses none of the benefits the RPM system offers.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.rpm -ql j2sdk-1.4.0-fcs
      2.rpm -ql --scripts j2sdk-1.4.0-fcs
      3.rpm -ql -c j2sdk-1.4.0-fcs
      4.rpm -ql -d j2sdk-1.4.0-fcs

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      read description, LSB etc.
      everything is now in one directory, should be in separate
      directories (shared/not-shared, variable/static). For
      example look at the output of " rpm -ql kaffe-1.0.6-3" (that
      is, if kaffe is installed, which would probably not be the
      case at sun) J2sdk en J2jre should replace kaffe, and
      earlier versions of itself.

      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      make links to correct locations after install. This thwarts
      RPM, but it is not used effectively now anyway.
      (Review ID: 146060)
      ======================================================================

            dmalav Dinesh Malav (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: