<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:11 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-803] Authentication &amp; replication = exit on startup</title>
                <link>https://jira.mongodb.org/browse/SERVER-803</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;0. Completely clean data dir&lt;br/&gt;
1. Start mongo WITHOUT auth&lt;br/&gt;
2. Add admin &amp;amp; a local user: use local; db.addUser(&apos;repl&apos;, &apos;test&apos;)&lt;br/&gt;
3. Re-start mongod with --auth and --master, and get the following:&lt;/p&gt;

&lt;p&gt;Mon Mar 22 20:14:43 Mongo DB : starting : pid = 14111 port = 27017 dbpath = /var/lib/mongodb master = 1 slave = 0  64-bit&lt;br/&gt;
Mon Mar 22 20:14:43 db version v1.3.4, pdfile version 4.5&lt;br/&gt;
Mon Mar 22 20:14:43 git version: nogitversion&lt;br/&gt;
Mon Mar 22 20:14:43 sys info: Linux promethium 2.6.24-27-xen #1 SMP Thu Jan 28 01:08:07 UTC 2010 x86_64 BOOST_LIB_VERSION=1_38&lt;br/&gt;
Mon Mar 22 20:14:43 waiting for connections on port 27017&lt;br/&gt;
Mon Mar 22 20:14:43 Assertion: 10057:unauthorized for db &lt;span class=&quot;error&quot;&gt;&amp;#91;local&amp;#93;&lt;/span&gt; lock type: 1&lt;/p&gt;

&lt;p&gt;0x4d8ef1 0x5b404c 0x5b55d6 0x58bdbb 0x58c6e6 0x550484 0x61b0d5 0x61deac 0x61e438 0x62188e 0x7fa3dba34abd 0x48ed29&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x241) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4d8ef1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo6Client7Context5_authEi+0x27c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5b404c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo6Client7Context11_finishInitEb+0x186) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5b55d6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x58bdbb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo7Helpers12getSingletonEPKcRNS_7BSONObjE+0x66) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x58c6e6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo16startReplicationEv+0x84) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x550484&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo6listenEi+0x125) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x61b0d5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo14_initAndListenEiPKc+0x5ec) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x61deac&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo13initAndListenEiPKc+0x18) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x61e438&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(main+0x32de) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x62188e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(__libc_start_main+0xfd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fa3dba34abd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x48ed29&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Mar 22 20:14:43   exception in initAndListen std::exception: unauthorized for db &lt;span class=&quot;error&quot;&gt;&amp;#91;local&amp;#93;&lt;/span&gt; lock type: 1&lt;br/&gt;
, terminating&lt;br/&gt;
Mon Mar 22 20:14:43  dbexit:&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: going to close listening sockets...&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: going to flush oplog...&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: going to close sockets...&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: waiting for fs preallocator...&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: closing all files...&lt;br/&gt;
Mon Mar 22 20:14:43      closeAllFiles() finished&lt;br/&gt;
Mon Mar 22 20:14:43      shutdown: removing fs lock...&lt;br/&gt;
Mon Mar 22 20:14:43  dbexit: really exiting now&lt;/p&gt;

&lt;p&gt;Starting without --auth is fine.&lt;/p&gt;</description>
                <environment>Mon Mar 22 20:14:43 sys info: Linux promethium 2.6.24-27-xen #1 SMP Thu Jan 28 01:08:07 UTC 2010 x86_64 BOOST_LIB_VERSION=1_38&lt;br/&gt;
</environment>
        <key id="11585">SERVER-803</key>
            <summary>Authentication &amp; replication = exit on startup</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="aaron">Aaron Staple</assignee>
                                    <reporter username="goosmurf">Yun Huang Yong</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Mar 2010 05:20:17 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:05 +0000</updated>
                            <resolved>Mon, 22 Mar 2010 15:52:55 +0000</resolved>
                                    <version>1.3.3</version>
                    <version>1.3.4</version>
                                    <fixVersion>1.3.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="13854" author="eliot" created="Mon, 26 Apr 2010 13:51:16 +0000"  >&lt;p&gt;in a release&lt;/p&gt;</comment>
                            <comment id="13155" author="goosmurf" created="Tue, 23 Mar 2010 04:29:52 +0000"  >&lt;p&gt;Works for me, thanks for the quick fix. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="13147" author="auto" created="Mon, 22 Mar 2010 17:51:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-803&quot; title=&quot;Authentication &amp;amp; replication = exit on startup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-803&quot;&gt;&lt;del&gt;SERVER-803&lt;/del&gt;&lt;/a&gt; add pair test&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/8f7d5a26f5b0a53fabd8eb26c230029f1dc06b3d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/8f7d5a26f5b0a53fabd8eb26c230029f1dc06b3d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13144" author="auto" created="Mon, 22 Mar 2010 15:52:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-803&quot; title=&quot;Authentication &amp;amp; replication = exit on startup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-803&quot;&gt;&lt;del&gt;SERVER-803&lt;/del&gt;&lt;/a&gt; add test&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/07db021d74e7f23939fa49bbe10895b89632f67b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/07db021d74e7f23939fa49bbe10895b89632f67b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13134" author="auto" created="Mon, 22 Mar 2010 13:53:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-803&quot; title=&quot;Authentication &amp;amp; replication = exit on startup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-803&quot;&gt;&lt;del&gt;SERVER-803&lt;/del&gt;&lt;/a&gt; make repl work when auth is enabled&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/82be9226a67a465e62615d088c90d6085f9e841d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/82be9226a67a465e62615d088c90d6085f9e841d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13133" author="aaron" created="Mon, 22 Mar 2010 13:52:33 +0000"  >&lt;p&gt;this commit seemed fix things in my manual testing.  Working on an automated test now.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Mar 2010 13:52:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 43 weeks, 2 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>
                            13 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>goosmurf</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpq27:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22576</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_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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0jof:</customfieldvalue>

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