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

deb install aborts if membase server start fails

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • feature-backlog
    • 1.6.0.1
    • installer
    • Security Level: Public
    • None
    • ubuntu lucid 10.4

    Description

      I am using debootstrap to create a root filesystem, the command fails on installing membase. It appears to be due to debian/postinst trying to start membase and failing.

      Command used, "sudo debootstrap -arch=i386 --components=main --include=ubuntu-standard,plymouth-x11,linux-image-generic-pae,xorg,ubiquity-frontend-gtk,ubiquity-ubuntu-artwork,grub pc,dmraid,casper,tinywm,patch,monit,heartbeat,ifplugd,iftop,ntp,unzip,dialog,openssh-server,nginx,mysql-server,mysql-client,libmysqlclient16,chromium-browser,membase-server,avahi-daemon lucid lucid-rootfs http://url/to/some/repo/that/includes/membase"

      http://url/to/some/repo/that/includes/membase is an custom apt repository that contains all the required debs including membase-server.

      Attached is a patch that solves the problem by ignoring the startup failure, which is the approach taken by the mysql package. I haven't found where the sources for the debian package are, so my patch was created by recovering the postinst via dpkg -e.

      Attachments

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

        Activity

          People

            steve Steve Yen
            marcs marcs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty