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

Invalid --pidfilepath is silently ignored

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.3
    • None
    • Usability
    • Fully Compatible
    • ALL

    Description

      If --pidfilepath is specified on the mongod or mongos command line and the path to the pid file does not work for any reason, no pid file is written and no error message is displayed.

      Probably, this should cause a EXIT_BADOPTIONS exit similar to what would happen with any other unusable file specification on the command line (dbpath, logpath, config).

      ./mongod --pidfilepath /there/is/no/such/path/or/file
      // normal startup, no file written, no error message

      Attachments

        Activity

          People

            kyle.erf Kyle Erf
            tad Tad Marshall
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: