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

Init scripts overwritten during upgrades

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.2.4, 2.4.3
    • Packaging
    • None
    • CentOS 5/6
    • Fully Compatible
    • Linux
    • Hide

      Change your init script and upgrade.

      Show
      Change your init script and upgrade.

    Description

      When you upgrade from 2.2.2 to 2.2.4 or 2.4.3, the init scripts are overwritten in /etc/init.d/mongod. Some people set options in here like the replset and --shardsvr or --cfgsvr with puppet like us. During an upgrade if mongod is started before puppet pushes the right config (or people who don't use puppet and lost their config you overwrote) the mongod will not know what it should be doing like being a config server or being part of a replset.

      Attachments

        Activity

          People

            ernie.hershey@mongodb.com Ernie Hershey
            dan.cooper@take2games.com Dan Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: