upstart script in Ubuntu package should exec start-stop-daemon

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: Build
    • None
    • Environment:
      Ubuntu 9.10 (karmic)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The upstart configuration placed by the mongodb-unstable package (and I would presume the others) calls start-stop-daemon without "exec." This leads to a situation where mongod's PID is not the one reported by "status mongodb" but the PID of the shell that ran start-stop-daemon.

      Changing from

      start-stop-daemon ...

      to

      exec start-stop-daemon ...

      fixes the problem.

            Assignee:
            Richard Kreuter (Inactive)
            Reporter:
            Dan Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: