Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1084

CVMFS Client fails on mac OS Sierra 10.12

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • High
    • Resolution: Fixed
    • None
    • CernVM-FS 2.3.3
    • None
    • None

    Description

      CVMFS determines the Mac OS client version, by examining /System/Library/CoreServices/SystemVersion.plist.

      ```
      inline void platform_get_os_version(int32_t *major,
      int32_t *minor,
      int32_t *patch) {
      const std::string plist = "/System/Library/CoreServices/SystemVersion.plist";
      const std::string plist_key = "ProductVersion";

      ...
      const int matches = sscanf(version.c_str(), "%u.%u.%u", major, minor, patch);
      assert(matches == 3 && "failed to read OS X version string");
      }
      ```

      This is a hack, as major OS X releases consist of only a major/minor release, not a patch level.

      ```
      <key>ProductVersion</key>
      <string>10.12</string>
      ```

      I'd highly appreciate if you could relax the requirement, to accept two dots only, and prepare a hot fix release.

      Attachments

        Activity

          People

            rpopescu Radu Popescu (Inactive)
            nzimmerm Nikolas Zimmermann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: