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

Sanity.gmk should check /etc/redhat-release instead of /etc/issue (Linux)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • infrastructure
    • None
    • beta
    • generic
    • generic

      /etc/issue is often changed by Linux system vendors. On my Linux box, e.g., it
      contains:

          Penguin Computing (RH 6.1)
          www.penguincomputing.com
          Kernel 2.2.13 on an i686

      This confuses Sanity.gmk because it looks for a line starting with "Red".

      A better test is to look for the release number in /etc/redhat-release, which
      as far as I know is the same on all RedHat-derived systems.

      -- mr@eng 2001/3/23

            mr Mark Reinhold
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: