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

XMLWordPrintableJSON

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

      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:
              Michael A. Fiedler
              Reporter:
              Michael Spiegle
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: