Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1326

sys.flavor on SUSE Linux has confusing value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Environment Detection
    • Labels:
      None
    • Platform:
      Other (details)

      Description

      sys.flavor on an openSUSE 13.1 system reports "SUSE_13", this is problematic and confusing.

      The "SUSE Linux" company supports a community distribution, called "openSUSE". This distribution is 'upstream' to the enterprise products, namely "SUSE Linux Enterprise Server" (SLES) and "SUSE Linux Enterprise Desktop" (SLED).

      Although openSUSE and SLES/SLED are closely related, they are different in many aspects. This is why https://github.com/cfengine/masterfiles/pull/191 introduced parsing /etc/os-release to distinguish openSUSE from SLES or SLED.

      The upcoming "SUSE Linux Enterprise Server" (SLES) version 12 will be derived from openSUSE 13.1 . Having "SUSE_12" for SLES 12 and "SUSE_13" for openSUSE 13.1 is confusing.

      Fedora 20 sets sys.flavor to "fedora_20" although its similar to RHEL.
      RHEL 6 sets sys.flavor to "redhat_6"

      Therefore, openSUSE 13.1 should set sys.flavor to "opensuse_13" and SLES/SLED 12 should report "suse_12"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kkaempf Klaus Kämpf
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel