<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:23:55 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-50891] mongod 3.6.20-rc2 core dumps if dbpath DNE or perms block</title>
                <link>https://jira.mongodb.org/browse/SERVER-50891</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Attempting to spin up a v3.6.20-rc2 &lt;tt&gt;mongod&lt;/tt&gt; reliably core dumps if either:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the dbpath does not exist, or&lt;/li&gt;
	&lt;li&gt;the dbpath is permissions restricted to the user that launches mongod.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This does not match expected behavior, where an error is instead thrown and the server terminates gracefully.&lt;/p&gt;

&lt;p&gt;See attached repro file. All it takes is a &lt;tt&gt;chmod 444&lt;/tt&gt; on the dbpath to core dump the next mongod start attempt.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1471334">SERVER-50891</key>
            <summary>mongod 3.6.20-rc2 core dumps if dbpath DNE or perms block</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="13201">Fixed</resolution>
                                        <assignee username="gabriel.russell@mongodb.com">Gabriel Russell</assignee>
                                    <reporter username="andrew.feierabend@mongodb.com">Andrew Feierabend</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Sep 2020 15:48:11 +0000</created>
                <updated>Sun, 29 Oct 2023 22:03:18 +0000</updated>
                            <resolved>Mon, 23 Nov 2020 18:11:07 +0000</resolved>
                                    <version>3.6.15</version>
                    <version>3.6.20</version>
                                    <fixVersion>3.6.22</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3502454" author="xgen-internal-githook" created="Mon, 23 Nov 2020 18:20:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Gabriel Russell&apos;, &apos;email&apos;: &apos;gabriel.russell@mongodb.com&apos;, &apos;username&apos;: &apos;gabrielrussell&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50891&quot; title=&quot;mongod 3.6.20-rc2 core dumps if dbpath DNE or perms block&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50891&quot;&gt;&lt;del&gt;SERVER-50891&lt;/del&gt;&lt;/a&gt; alow opCtx&apos;s to be created without globalStorageEngines&lt;/p&gt;

&lt;p&gt;o It&apos;s required that one be able to create opCtx&apos;s without&lt;br/&gt;
  globalStorageEngines. When the globalStorageEngine fails to get properly&lt;br/&gt;
  initialized, the process will shutdown. Shutdown tasks will then need to&lt;br/&gt;
  be able to create and use opCtx&apos;s&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/35fa4e01778f93a5ece635307a5bba04c6648f3f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/35fa4e01778f93a5ece635307a5bba04c6648f3f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3486218" author="gabriel.russell" created="Wed, 11 Nov 2020 20:26:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://mongodbcr.appspot.com/717980001/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mongodbcr.appspot.com/717980001/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3394983" author="connie.chen" created="Tue, 15 Sep 2020 17:10:37 +0000"  >&lt;p&gt;If this is only on 3.6 then we&apos;ll assign this to backlog&lt;/p&gt;</comment>
                            <comment id="3387647" author="eric.sedor" created="Fri, 11 Sep 2020 16:43:46 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=andrew.feierabend&quot; class=&quot;user-hover&quot; rel=&quot;andrew.feierabend&quot;&gt;andrew.feierabend&lt;/a&gt;. It looks like this reproduces as early as 3.6.15; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a751610b2eb005c0b47f6ad637f009f8aa9c8346/src/mongo/db/storage/storage_engine_init.cpp#L208-L211&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this error&lt;/a&gt; is logged in 3.6.14 and earlier. That error is still logged in 3.6.15+, but right before the invariant is hit.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="278000" name="3.6.20-rc2_core_dump_repro" size="20492" author="andrew.feierabend@mongodb.com" created="Fri, 11 Sep 2020 15:47:42 +0000"/>
                    </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Sep 2020 16:43:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 11 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 11 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.feierabend@mongodb.com</customfieldvalue>
            <customfieldvalue>connie.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>gabriel.russell@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy5cgn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4268">Service arch 2020-10-05</customfieldvalue>
    <customfieldvalue id="4270">Service arch 2020-11-02</customfieldvalue>
    <customfieldvalue id="4271">Service arch 2020-11-16</customfieldvalue>
    <customfieldvalue id="4272">Service arch 2020-11-30</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ol&gt;
	&lt;li&gt;Install MDB server via either DEB file / TGZ file / or &lt;tt&gt;apt&lt;/tt&gt; package manager.&lt;/li&gt;
	&lt;li&gt;Run a &lt;tt&gt;chown 444&lt;/tt&gt; on the dbpath your &lt;tt&gt;mongod&lt;/tt&gt; is using&lt;/li&gt;
	&lt;li&gt;Core Dump&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;In actual practice, this is largely missed on DEB / &lt;tt&gt;apt&lt;/tt&gt; installs, since both create the necessary dir with correct permissions. But this will spring on many TGZ initial installations, and will likely surface for the package manager / DEB installations during initial configuration, especially if admins seek to use custom users to run their &lt;tt&gt;mongod&lt;/tt&gt; instances.&lt;/p&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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy4ypz:</customfieldvalue>

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