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

need more graceful failure when running as root

    Details

    • Triage:
      Untriaged
    • Flagged:
      Release Note

      Description

      Due to some installation problems, the customer tried to run /opt/NorthScale/bin/northscale as root and things broke. The logs were spewing with memcached crash messages and it took a little while to diagnose.

      Assuming that someone is going to try and do that again, we should put in some better messaging saying that you can't do that.

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

        Activity

        Hide
        sean@northscale.com Sean Lynch (Inactive) added a comment -

        This definitely wont' be happening in beta2.

        Show
        sean@northscale.com Sean Lynch (Inactive) added a comment - This definitely wont' be happening in beta2.
        Hide
        sean@northscale.com Sean Lynch (Inactive) added a comment -

        This should be fixed in the init script.

        Show
        sean@northscale.com Sean Lynch (Inactive) added a comment - This should be fixed in the init script.
        Hide
        perry@northscale.com Perry Krug added a comment -

        I don't think the problem is within the init script. The problem here is when running the actual binary as root...the init script works just fine.

        Show
        perry@northscale.com Perry Krug added a comment - I don't think the problem is within the init script. The problem here is when running the actual binary as root...the init script works just fine.
        Hide
        sean@northscale.com Sean Lynch (Inactive) added a comment -

        /opt/northscale/bin/northscale is a script that's put there by the RPM installer.

        Reassigning back to the correct component.

        Show
        sean@northscale.com Sean Lynch (Inactive) added a comment - /opt/northscale/bin/northscale is a script that's put there by the RPM installer. Reassigning back to the correct component.
        Hide
        perry@northscale.com Perry Krug added a comment -

        Sean and I discussed the a bit and agreed that a simple check within the /opt/northscale/bin/northscale script to make sure that it's not being run as root is appropriate.

        Show
        perry@northscale.com Perry Krug added a comment - Sean and I discussed the a bit and agreed that a simple check within the /opt/northscale/bin/northscale script to make sure that it's not being run as root is appropriate.
        Hide
        perry@northscale.com Perry Krug added a comment -

        Created an attachment (id=418)
        logs

        Show
        perry@northscale.com Perry Krug added a comment - Created an attachment (id=418) logs
        Hide
        perry@northscale.com Perry Krug added a comment -

        (From update of attachment 418)
        Sorry, attached to wrong bug.

        Show
        perry@northscale.com Perry Krug added a comment - (From update of attachment 418) Sorry, attached to wrong bug.
        Hide
        sean@northscale.com Sean Lynch (Inactive) added a comment -

        Bumping all non-release-blocker bugs to P3 in preparation for removing the ReleaseBlocker keyword.

        Show
        sean@northscale.com Sean Lynch (Inactive) added a comment - Bumping all non-release-blocker bugs to P3 in preparation for removing the ReleaseBlocker keyword.
        Hide
        perry@northscale.com Perry Krug added a comment -

        Requested by FormSpring.

        Show
        perry@northscale.com Perry Krug added a comment - Requested by FormSpring.
        Hide
        perry Perry Krug added a comment -

        tagged: releasenotes

        Show
        perry Perry Krug added a comment - tagged: releasenotes
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        part of diagnostics improvements

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - part of diagnostics improvements

          People

          • Assignee:
            steve Steve Yen
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes