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

Preinstall scriptlet removes links from /opt/couchbase, even when RPM_INSTALL_PREFIX0 is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 2.0.1
    • Component/s: installer
    • Security Level: Public
    • Labels:
    • Environment:
      Linux RPM

      Description

      I found the following in the pre-install scriptlet. I imagine that you should be using $RPM_INSTALL_PREFIX0 instead of /opt/couchbase here.

      if [ -d /opt/couchbase ]
      then
        find /opt/couchbase -maxdepth 1 -type l | xargs rm -f || true
      fi
      

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

        Activity

        Hide
        steve Steve Yen added a comment -

        Hi Xiaoqin,
        Raising this to 2.0.1 on behalf of Alex Ma.
        Steve

        Show
        steve Steve Yen added a comment - Hi Xiaoqin, Raising this to 2.0.1 on behalf of Alex Ma. Steve
        Hide
        dipti Dipti Borkar added a comment -

        Is this fixed?

        Why is fixversion 2.1 as well?

        Show
        dipti Dipti Borkar added a comment - Is this fixed? Why is fixversion 2.1 as well?
        Hide
        xiaoqin Xiaoqin Ma (Inactive) added a comment -

        It was planned for 2.1 first. Then @Dipti and others asked to fix it in 2.0.1 too.

        Show
        xiaoqin Xiaoqin Ma (Inactive) added a comment - It was planned for 2.1 first. Then @Dipti and others asked to fix it in 2.0.1 too.
        Hide
        dipti Dipti Borkar added a comment -

        So is it fixed in 2.0.1?

        Show
        dipti Dipti Borkar added a comment - So is it fixed in 2.0.1?
        Hide
        xiaoqin Xiaoqin Ma (Inactive) added a comment -

        Yes. It is fixed both in 2.1 and 2.0.1.

        Show
        xiaoqin Xiaoqin Ma (Inactive) added a comment - Yes. It is fixed both in 2.1 and 2.0.1.

          People

          • Assignee:
            xiaoqin Xiaoqin Ma (Inactive)
            Reporter:
            bj Bryce Jasmer
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: