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

noscripting configuration option not available in YAML configuration file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0
    • 2.6.2, 2.7.1
    • Admin
    • None
    • Fully Compatible
    • ALL
    • 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

              sverch Shaun Verch
              jon.rangel@mongodb.com Jon Rangel (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: