<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:35:38 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-14679] (CentOS 7/RHEL 7) init.d script should create directory for pid file if it is missing</title>
                <link>https://jira.mongodb.org/browse/SERVER-14679</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The initscript of the RPM packages does not check wether the directory the pidfile is written to exists.&lt;/p&gt;

&lt;p&gt;This makes it impossible to start mongod via the initscript on CentOS 7 at last, and presumably on RHEL 7, too, as the directory &lt;tt&gt;/var/run/mongod&lt;/tt&gt; does not exist on system startup. The contents of &lt;tt&gt;/var/run&lt;/tt&gt; seem to be deleted over a reboot, so creating the directory manually or via RPM does not help.&lt;/p&gt;

&lt;p&gt;The file &lt;tt&gt;mongo/rpm/init.d-mongod&lt;/tt&gt; needs to be updated accordingly.&lt;/p&gt;

&lt;p&gt;I have already done that, a pull request will follow.&lt;/p&gt;</description>
                <environment>CentOS 7, RHEL 7</environment>
        <key id="149059">SERVER-14679</key>
            <summary>(CentOS 7/RHEL 7) init.d script should create directory for pid file if it is missing</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="markus.mahlberg@icloud.com">Markus Mahlberg</reporter>
                        <labels>
                            <label>pull-request</label>
                    </labels>
                <created>Fri, 25 Jul 2014 09:58:47 +0000</created>
                <updated>Tue, 29 Dec 2015 09:24:10 +0000</updated>
                            <resolved>Thu, 31 Jul 2014 15:56:28 +0000</resolved>
                                    <version>2.6.3</version>
                    <version>2.7.0</version>
                    <version>2.7.1</version>
                    <version>2.7.2</version>
                    <version>2.7.3</version>
                                    <fixVersion>2.6.5</fixVersion>
                    <fixVersion>2.7.5</fixVersion>
                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="725755" author="sfthomas" created="Wed, 24 Sep 2014 07:43:28 +0000"  >&lt;p&gt;Had the same issue on Oracle Linux Server release 6.3 using mongoDb 2.6.3 - the commit fixed it.&lt;/p&gt;</comment>
                            <comment id="720662" author="xgen-internal-githook" created="Wed, 17 Sep 2014 11:39:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;mwmahlberg&apos;, u&apos;name&apos;: u&apos;Markus W. Mahlberg&apos;, u&apos;email&apos;: u&apos;markus.mahlberg@me.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14679&quot; title=&quot;(CentOS 7/RHEL 7) init.d script should create directory for pid file if it is missing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14679&quot;&gt;&lt;del&gt;SERVER-14679&lt;/del&gt;&lt;/a&gt; fixed init.d script to create directory for pid file&lt;/p&gt;

&lt;p&gt;Startup scripts not fit for CentOS 7 / RHEL 7&lt;/p&gt;

&lt;p&gt;Default location for pid file is under /var/run/mongodb. /var/run can be mounted&lt;br/&gt;
on a temporary filesystem so the pid file directory is&lt;br/&gt;
not guaranteed to persist across reboots.&lt;/p&gt;

&lt;p&gt;Closes #723&lt;/p&gt;

&lt;p&gt;Signed-off-by: Benety Goh &amp;lt;benety@mongodb.com&amp;gt;&lt;br/&gt;
(cherry picked from commit 50ca596ace0b1390482408f1b19ffb1f9170cab6)&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	rpm/init.d-mongod&lt;br/&gt;
Branch: v2.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ddce701ed775996f2a49fc949e26c5bcbc38fe84&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ddce701ed775996f2a49fc949e26c5bcbc38fe84&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="677661" author="xgen-internal-githook" created="Thu, 31 Jul 2014 15:54:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;mwmahlberg&apos;, u&apos;name&apos;: u&apos;Markus W. Mahlberg&apos;, u&apos;email&apos;: u&apos;markus.mahlberg@me.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14679&quot; title=&quot;(CentOS 7/RHEL 7) init.d script should create directory for pid file if it is missing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14679&quot;&gt;&lt;del&gt;SERVER-14679&lt;/del&gt;&lt;/a&gt; fixed init.d script to create directory for pid file&lt;/p&gt;

&lt;p&gt;Startup scripts not fit for CentOS 7 / RHEL 7&lt;/p&gt;

&lt;p&gt;Default location for pid file is under /var/run/mongodb. /var/run can be mounted&lt;br/&gt;
on a temporary filesystem so the pid file directory is&lt;br/&gt;
not guaranteed to persist across reboots.&lt;/p&gt;

&lt;p&gt;Closes #723&lt;/p&gt;

&lt;p&gt;Signed-off-by: Benety Goh &amp;lt;benety@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/50ca596ace0b1390482408f1b19ffb1f9170cab6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/50ca596ace0b1390482408f1b19ffb1f9170cab6&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="52448">SERVER-7285</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="164401">SERVER-15724</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="187406">SERVER-17462</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="245198">SERVER-22023</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="176944">SERVER-16721</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="56881">SERVER-7708</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="14192">2.6.5</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>Thu, 31 Jul 2014 15:37:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 21 weeks 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>xcorat</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 21 weeks 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>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>markus.mahlberg@icloud.com</customfieldvalue>
            <customfieldvalue>sfthomas</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlr1r:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>129145</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;ol&gt;
	&lt;li&gt;Problems when starting MongoDB after installation
	&lt;ol&gt;
		&lt;li&gt;Install CentOS 7 Core&lt;/li&gt;
		&lt;li&gt;Install MongoDB as descibed in &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Install MongoDB on Red Hat Enterprise, CentOS, Fedora, or Amazon Linux&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;Try to start &lt;tt&gt;mongod&lt;/tt&gt; using &lt;tt&gt;service mongod start&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Check the log file&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;Starting after manually creating &lt;tt&gt;/var/run/mongod&lt;/tt&gt;
	&lt;ol&gt;
		&lt;li&gt;Create &lt;tt&gt;/var/run/mongod&lt;/tt&gt; manually by issuing
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;install -d -m 0755 -o mongod -g mongod /var/run/mongod&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;&lt;/li&gt;
		&lt;li&gt;Start mongod via &lt;tt&gt;service mongod start&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Check that it is running via &lt;tt&gt;service mongod status&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Reboot&lt;/li&gt;
		&lt;li&gt;Check the log file&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></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="11856"><![CDATA[Not Needed]]></customfieldvalue>

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

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