<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:27 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-2267] RPM init script hard codes path of pid file which will change if user specifies new data directory</title>
                <link>https://jira.mongodb.org/browse/SERVER-2267</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The init script supplied does not stop the server in some environments because killproc() in the stop() section hard-codes the path of the PID file.  If the user specifies a new &apos;dbpath&apos; in /etc/mongod.conf, then the PID file will be placed there instead, and killproc won&apos;t find it.&lt;/p&gt;</description>
                <environment>Redhat Enterprise 5.4</environment>
        <key id="14040">SERVER-2267</key>
            <summary>RPM init script hard codes path of pid file which will change if user specifies new data directory</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="miketheman">Michael A. Fiedler</assignee>
                                    <reporter username="mspiegle">Michael Spiegle</reporter>
                        <labels>
                            <label>initscript</label>
                            <label>packaging</label>
                    </labels>
                <created>Tue, 21 Dec 2010 22:32:43 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:43 +0000</updated>
                            <resolved>Sat, 18 Feb 2012 00:32:32 +0000</resolved>
                                    <version>1.6.5</version>
                                    <fixVersion>2.1.1</fixVersion>
                                    <component>Build</component>
                                        <votes>3</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="89721" author="auto" created="Sat, 18 Feb 2012 01:07:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #180 from miketheman/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;-changelog&lt;/p&gt;

&lt;p&gt;updating rpm changelog for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f06e7dc332a694ed3b344c360338b2a18814db2b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f06e7dc332a694ed3b344c360338b2a18814db2b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="89720" author="auto" created="Sat, 18 Feb 2012 01:07:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #180 from miketheman/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;-changelog&lt;/p&gt;

&lt;p&gt;updating rpm changelog for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f06e7dc332a694ed3b344c360338b2a18814db2b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f06e7dc332a694ed3b344c360338b2a18814db2b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="89719" author="auto" created="Sat, 18 Feb 2012 01:07:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: updating rpm changelog for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c9787e73033e167789d8fec94cc8617227b84d33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c9787e73033e167789d8fec94cc8617227b84d33&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="89711" author="miketheman" created="Sat, 18 Feb 2012 00:32:32 +0000"  >&lt;p&gt;This has been resolved in the current branch of mongodb 2.1.x.&lt;br/&gt;
The change is slightly different than described by Tilo above, in that we now use the &lt;tt&gt;--pidfilepath&lt;/tt&gt; argument to create the PID file in &lt;tt&gt;/var/run/mongo/mongod.pid&lt;/tt&gt;, rather than rely on the contents of the &lt;tt&gt;mongod.lock&lt;/tt&gt; file.&lt;br/&gt;
In most scenarios, the lock file may contain the pid of the process anyways, but this is a bad practice to rely on.&lt;/p&gt;</comment>
                            <comment id="89707" author="auto" created="Sat, 18 Feb 2012 00:24:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #179 from miketheman/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;-init-pid&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt; init pid&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b76fd75476efbbcc9acc8bcedac00ec4d28ab088&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b76fd75476efbbcc9acc8bcedac00ec4d28ab088&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="89706" author="auto" created="Sat, 18 Feb 2012 00:24:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: Merge pull request #179 from miketheman/&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;-init-pid&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt; init pid&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b76fd75476efbbcc9acc8bcedac00ec4d28ab088&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b76fd75476efbbcc9acc8bcedac00ec4d28ab088&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="89705" author="auto" created="Sat, 18 Feb 2012 00:24:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;miketheman&apos;, u&apos;name&apos;: u&apos;Mike Fiedler&apos;, u&apos;email&apos;: u&apos;miketheman@gmail.com&apos;}
&lt;p&gt;Message: Merge branch &apos;master&apos; of git://github.com/mongodb/mongo into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2267&quot; title=&quot;RPM init script hard codes path of pid file which will change if user specifies new data directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2267&quot;&gt;&lt;del&gt;SERVER-2267&lt;/del&gt;&lt;/a&gt;-init-pid&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/673d220faadc3669f00b49cac1faa5d14bbfde72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/673d220faadc3669f00b49cac1faa5d14bbfde72&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="81823" author="puneet.kandhari@demandmedia.com" created="Mon, 23 Jan 2012 22:42:08 +0000"  >&lt;p&gt;Will this be fixed as part of 2.* releases ? &lt;/p&gt;</comment>
                            <comment id="27596" author="tilo" created="Sat, 2 Apr 2011 03:48:55 +0000"  >&lt;p&gt;NOTE: &lt;/p&gt;

&lt;p&gt;I observed this problem on Fedora 13 and Fedora 14&lt;/p&gt;
</comment>
                            <comment id="27595" author="tilo" created="Sat, 2 Apr 2011 03:47:18 +0000"  >&lt;p&gt;here&apos;s the BUGFIX for this:&lt;/p&gt;

&lt;p&gt;in the top section of the script, add these two lines:&lt;/p&gt;

&lt;p&gt;MONGO_DBPATH=`/bin/grep &apos;^dbpath&apos; /etc/mongod.conf | /bin/cut -d&apos;=&apos; -f2` 	# grep for the dbpath in the config file &lt;br/&gt;
MONGO_LOCKFILE=&quot;$MONGO_DBPATH/mongod.lock&quot;&lt;/p&gt;


&lt;p&gt;and replace the line with the killproc statement as follows:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;killproc -p /var/lib/mongo/mongod.lock -t30 -TERM /usr/bin/mongod&lt;br/&gt;
  killproc -p $MONGO_LOCKFILE -t30 -TERM /usr/bin/mongod&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;this should do the trick! works for me..&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="177046">SERVER-16731</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.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>Sat, 2 Apr 2011 03:47:18 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 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>
                            12 years, 5 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>auto</customfieldvalue>
            <customfieldvalue>miketheman</customfieldvalue>
            <customfieldvalue>mspiegle</customfieldvalue>
            <customfieldvalue>puneet.kandhari@demandmedia.com</customfieldvalue>
            <customfieldvalue>tilo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp9ov:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8795</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|ht090f:</customfieldvalue>

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