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

Don't print startup warnings error when --auth enabled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-rc1
    • Component/s: Logging, Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      The startup warning will never be able to be printed until the user is authenticated, so printing an error message on every shell startup will only generate user confusion. We should swallow the error message.

      ubuntu@m110:~$ mongo m110.realm3.10gen.me
      MongoDB shell version: 2.4.0-rc0
      connecting to: m110.realm3.10gen.me/test
      Error while trying to show server startup warnings: unauthorized

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              pasette Daniel Pasette
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: