Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-41913

Add explicit versioned glibc dependency to Linux packages

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 7.0.0
    • None
    • installer
    • None
    • 1
    • Build Team 2020 Sprint 21

    Description

      It's been requested a few times (most recently MB-41545) to have the Linux packages refuse to install on the 'wrong version' of a given distribution (ie, attempting to install the Centos 8 RPM on a Centos 7 system). Currently the installation will succeed but Server will almost certainly fail. As discussed on MB-41545 this is a deceptively hard problem and carries significant risk of false positives.

      However, Dave Rigby made the good point that 90% of the problems customers have had when making this mistake comes down to the glibc version being too old on the "wrong" OS, so if our packages listed explicitly the glibc version they depend on, the package manager itself would refuse to install on the wrong distribution (albeit with a somewhat confusing error message). We currently do not explicitly specify a glibc dependency at all, let alone a specific version.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ceej Chris Hillery
              ceej Chris Hillery
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty