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

Invalid --pidfilepath is silently ignored

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Usability
    • Fully Compatible
    • ALL

      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
      

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

              Created:
              Updated:
              Resolved: