Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-834

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

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

      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 Richard Kreuter (Inactive)
            Reporter:
            dpiddy Dan Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: