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

noscripting configuration option not available in YAML configuration file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.2, 2.7.1
    • Component/s: Admin
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Server 2.7.1

      Description

      Issue Status as of May 29, 2014

      ISSUE SUMMARY
      Server-side execution of JavaScript can't be disabled via a YAML configuration file, as the noscripting option is not properly recognized.

      USER IMPACT
      mongod does not run when the noscripting option is used in a YAML format configuration file. When the option is removed from the file, mongod runs with server-side JavaScript execution enabled.

      WORKAROUNDS
      Pass the --noscripting option, or revert to a 2.4 configuration file format

      AFFECTED VERSIONS
      MongoDB production releases 2.6.0 and 2.6.1 are affected by this issue.

      FIX VERSION
      The fix is included in the 2.6.2 production release.

      RESOLUTION DETAILS
      The noscripting option is now recognized when used in the YAML configuration file.

      Original description

      There's no way to disable server-side JavaScript using the new YAML configuration file format.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: