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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.1
    • Affects Version/s: 1.6.5
    • Component/s: Build
    • Environment:
      Redhat Enterprise 5.4
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: