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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.4.0
    • Build
    • None
    • Ubuntu 9.10 (karmic)

    Description

      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.

      Attachments

        Activity

          People

            richard.kreuter Richard Kreuter (Inactive)
            dpiddy Dan Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: