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

RPM package overwrites /etc/sysconfig/mongod

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.4, 3.3.2
    • Packaging
    • Fully Compatible
    • ALL
    • Build 10 (02/19/16)

    Description

      This bug has been reported 4 times on different versions and has been closed as fixed in every case, and yet the rpm package STILL overwrites the /etc/sysconfig/mongod file, replacing it with an empty file.

      The problem is present in all versions of the mongodb rpms that i have installed from tne 10gen repos. Versiins 2.4, 2.6 and 3.0. It is a major hazzard to production systems that may rely on tbe ability to override configuratiin in the sysconfig file.

      To be clear, if an existing /etc/sysconfig/mongod file exists it should never be over written by the rpm installer, if there are important new options in tne file then it should be created with a .rpmnew extension.

      This defect is a major pain in the ass when upgrading servers.

      Attachments

        Issue Links

          Activity

            People

              sam.kleinman Sam Kleinman (Inactive)
              tim.thawkins@gmail.com Tim Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: