<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:32:07 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-13563] Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file</title>
                <link>https://jira.mongodb.org/browse/SERVER-13563</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #EEEEEE;border-color: #ccc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-color: #ccc;background-color: #6CB33F;&quot;&gt;&lt;b&gt;Issue Status as of April 21, 2014&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;p&gt;&lt;b&gt;ISSUE SUMMARY&lt;/b&gt;&lt;br/&gt;
Previously, an update of MongoDB with yum from 2.4.x to 2.6.0 required removing the package, followed by installing the package again. This resets the default &lt;tt&gt;mongod.conf&lt;/tt&gt; file and can overwrite any customizations that were made to the file.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;USER IMPACT&lt;/b&gt;&lt;br/&gt;
Users might not be aware of this behavior and restart their instances with the new default config file, which can have serious impact to a production system or prevent the instances from starting at all (for example due to the new &lt;tt&gt;bind_ip&lt;/tt&gt; default, which is set to &lt;tt&gt;localhost&lt;/tt&gt; in 2.6).&lt;/p&gt;

&lt;p&gt;&lt;b&gt;WORKAROUNDS&lt;/b&gt;&lt;br/&gt;
Users should make a backup of their &lt;tt&gt;mongod.conf&lt;/tt&gt; file before the upgrade, and restore it before restarting the instances again. We also advise to review the new defaults in the 2.6 config file, and incorporate any desired changes.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;RESOLUTION&lt;/b&gt;&lt;br/&gt;
The old package names have been added to the &quot;Provides&quot; and &quot;Obsoletes&quot; fields in the RPM spec, for both the community and enterprise packages. This now allows a direct update (rather than remove/install), as well as other scenarios, like installing sub-packages or meta-packages.&lt;/p&gt;

&lt;p&gt;Note: Upgrading from a previous major release branch (e.g. 2.4.8) will now upgrade to the latest available stable release (e.g. 2.6.1). Additionally, users who want to downgrade to (or install) an older version of MongoDB now require additional flags, as described on our page about &lt;a href=&quot;http://docs.mongodb.org/v2.4/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/#install-packages&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RPM Package Installation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;AFFECTED VERSIONS&lt;/b&gt;&lt;br/&gt;
Verson 2.6.0 is affected by this bug.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;PATCHES&lt;/b&gt;&lt;br/&gt;
The patch is included in the 2.6.1 production release.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;h6&gt;&lt;a name=&quot;Originaldescription&quot;&gt;&lt;/a&gt;Original description&lt;/h6&gt;

&lt;p&gt;yum upgrade from MongoDB 2.4.10 to 2.6.0 results in loss of user changes to /etc/mongod.conf&lt;/p&gt;</description>
                <environment></environment>
        <key id="130677">SERVER-13563</key>
            <summary>Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="ernie.hershey@mongodb.com">Ernie Hershey</assignee>
                                    <reporter username="james.wahlin@mongodb.com">James Wahlin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Apr 2014 19:14:45 +0000</created>
                <updated>Wed, 11 Mar 2015 16:50:27 +0000</updated>
                            <resolved>Fri, 18 Apr 2014 21:30:23 +0000</resolved>
                                    <version>2.6.0</version>
                                    <fixVersion>2.6.1</fixVersion>
                    <fixVersion>2.7.0</fixVersion>
                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="555107" author="xgen-internal-githook" created="Fri, 18 Apr 2014 21:03:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13563&quot; title=&quot;Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13563&quot;&gt;&lt;del&gt;SERVER-13563&lt;/del&gt;&lt;/a&gt; Add old package names to RPM Provides and Conflicts&lt;/p&gt;

&lt;p&gt;This is two changes for every package and sub-package of both&lt;br/&gt;
community and enterprise:&lt;br/&gt;
1) Add the equivalent old package name to each package&apos;s Provides&lt;br/&gt;
field&lt;br/&gt;
2) Add the equivalent old package name to each apckage&apos;s Conflicts&lt;br/&gt;
field.&lt;/p&gt;

&lt;p&gt;Tested scenarios that should work:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Upgrading from 2.4.10 (Vs. uninstalling then installing)&lt;/li&gt;
	&lt;li&gt;Installing sub-packages with new name&lt;/li&gt;
	&lt;li&gt;Installing sub-packages with old name&lt;/li&gt;
	&lt;li&gt;Installing metapackage with new name&lt;/li&gt;
	&lt;li&gt;Installing metapackage with old name&lt;/li&gt;
	&lt;li&gt;Installing old versions of packages using new --exclude&lt;br/&gt;
  mongodb-org,mongodb-org-server syntax&lt;/li&gt;
	&lt;li&gt;Installing third party package that depends on old package name&lt;br/&gt;
  (new packages were automatically installed)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(cherry picked from commit 019c401589b34b46bf7bec801e23bd3dd7796151)&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7303d9b39af069dd530ca59233dae2831585c7af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7303d9b39af069dd530ca59233dae2831585c7af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="555104" author="xgen-internal-githook" created="Fri, 18 Apr 2014 21:01:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13563&quot; title=&quot;Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13563&quot;&gt;&lt;del&gt;SERVER-13563&lt;/del&gt;&lt;/a&gt; Add old package names to RPM Provides and Conflicts&lt;/p&gt;

&lt;p&gt;This is two changes for every package and sub-package of both&lt;br/&gt;
community and enterprise:&lt;br/&gt;
1) Add the equivalent old package name to each package&apos;s Provides&lt;br/&gt;
field&lt;br/&gt;
2) Add the equivalent old package name to each apckage&apos;s Conflicts&lt;br/&gt;
field.&lt;/p&gt;

&lt;p&gt;Tested scenarios that should work:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Upgrading from 2.4.10 (Vs. uninstalling then installing)&lt;/li&gt;
	&lt;li&gt;Installing sub-packages with new name&lt;/li&gt;
	&lt;li&gt;Installing sub-packages with old name&lt;/li&gt;
	&lt;li&gt;Installing metapackage with new name&lt;/li&gt;
	&lt;li&gt;Installing metapackage with old name&lt;/li&gt;
	&lt;li&gt;Installing old versions of packages using new --exclude&lt;br/&gt;
  mongodb-org,mongodb-org-server syntax&lt;/li&gt;
	&lt;li&gt;Installing third party package that depends on old package name&lt;br/&gt;
  (new packages were automatically installed)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(cherry picked from commit 5337c7e3f43a9c25347b18442d83aea6fe608ed7)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/019c401589b34b46bf7bec801e23bd3dd7796151&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/019c401589b34b46bf7bec801e23bd3dd7796151&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="552182" author="xgen-internal-githook" created="Wed, 16 Apr 2014 20:38:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13563&quot; title=&quot;Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13563&quot;&gt;&lt;del&gt;SERVER-13563&lt;/del&gt;&lt;/a&gt; Add old package names to RPM Obsoletes&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 8bbe304cde912c0e2f96ff6b8f6e4badd90d60f0)&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/644f64524848bc0e41660ee13feeaf0620071cfb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/644f64524848bc0e41660ee13feeaf0620071cfb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="552180" author="xgen-internal-githook" created="Wed, 16 Apr 2014 20:36:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ehershey&apos;, u&apos;name&apos;: u&apos;Ernie Hershey&apos;, u&apos;email&apos;: u&apos;ernie.hershey@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13563&quot; title=&quot;Upgrading from 2.4.x to 2.6.0 via yum clobbers configuration file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13563&quot;&gt;&lt;del&gt;SERVER-13563&lt;/del&gt;&lt;/a&gt; Add old package names to RPM Obsoletes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8bbe304cde912c0e2f96ff6b8f6e4badd90d60f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8bbe304cde912c0e2f96ff6b8f6e4badd90d60f0&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="135304">SERVER-13862</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="132768">SERVER-13691</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="131833">DOCS-3202</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="130658">DOCS-3129</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="13794">2.6.1</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Apr 2014 19:18:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 43 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 43 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ernie.hershey@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlwzr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrxqhz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>110915</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;b&gt;Reproduced on CentOS 6.4&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Install MongoDB 2.4 on CentOS
	&lt;ul&gt;
		&lt;li&gt;yum install mongo-10gen mongo-10gen-server&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Modify /etc/mongod.conf and add options (for my test I added replSet and smallfiles)&lt;/li&gt;
	&lt;li&gt;Run mongod and confirm config settings&lt;/li&gt;
	&lt;li&gt;Uninstall MongoDB 2.4.10
	&lt;ul&gt;
		&lt;li&gt;yum erase  mongo-10gen mongo-10gen-server&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Install MongoDB 2.6.0
	&lt;ul&gt;
		&lt;li&gt;yum install mongodb-org&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Confirm that your changes to /etc/mongod.conf are no longer present&lt;/li&gt;
&lt;/ol&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11858"><![CDATA[Completed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsgzhb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>