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

RPM init script hard codes path of pid file which will change if user specifies new data directory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.6.5
    • Fix Version/s: 2.1.1
    • Component/s: Build
    • Environment:
      Redhat Enterprise 5.4
    • Backwards Compatibility:
      Fully Compatible

      Description

      The init script supplied does not stop the server in some environments because killproc() in the stop() section hard-codes the path of the PID file. If the user specifies a new 'dbpath' in /etc/mongod.conf, then the PID file will be placed there instead, and killproc won't find it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              miketheman Michael A. Fiedler
              Reporter:
              mspiegle Michael Spiegle
              Participants:
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: