<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:59:37 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-42113] Stop overwriting systemd configuration on update with aptitude</title>
                <link>https://jira.mongodb.org/browse/SERVER-42113</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When an existing install has a manually updated mongod.service configuration file for systemd, it should not be overwritten by an update process. This both causes a pain for administrators and causes mongod to start up with wrong configuration, causing cleanup and other annoying tasks. Worst case it should ask if you want to modify the existing or keep it.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="838512">SERVER-42113</key>
            <summary>Stop overwriting systemd configuration on update with aptitude</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13202">Works as Designed</resolution>
                                        <assignee username="mathew.robinson@mongodb.com">Mathew Robinson</assignee>
                                    <reporter username="sallgeud">Chad Kreimendahl</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Jul 2019 20:58:32 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:10 +0000</updated>
                            <resolved>Mon, 30 Sep 2019 16:43:26 +0000</resolved>
                                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="2438608" author="mongo@phish.org" created="Sun, 29 Sep 2019 19:40:28 +0000"  >&lt;p&gt;Typically, yes. We do all of our mounting from /lib as well. While we&apos;ve been doing this for decades (though obv systemd a bit less time), the man pages had never made that obvious to us. We were well aware of the order of precedence, but figured overwriting (much like /etc/mongod.conf) would be checked.&lt;/p&gt;</comment>
                            <comment id="2435058" author="mathew.robinson" created="Thu, 26 Sep 2019 19:05:50 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sallgeud&quot; class=&quot;user-hover&quot; rel=&quot;sallgeud&quot;&gt;sallgeud&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Are you editting the files in &lt;tt&gt;/lib/systemd/system/mongod.service&lt;/tt&gt;? This file is not expected to be editted according to SystemD best practices. If you want to edit or create a custom service file for a SystemD service it&apos;s expected that you copy the service file from &lt;tt&gt;/lib/systemd/system&lt;/tt&gt; to &lt;tt&gt;/etc/systemd/system&lt;/tt&gt; which takes precedence. &lt;/p&gt;

&lt;p&gt;You can find more information on this in the manpage for &lt;a href=&quot;http://manpages.ubuntu.com/manpages/disco/en/man5/systemd.unit.5.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;systemd.unit&lt;/a&gt;. I also recommend the man page for &lt;a href=&quot;http://manpages.ubuntu.com/manpages/disco/en/man5/systemd.service.5.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;systemd.service&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;A good overview of SystemD is &lt;a href=&quot;http://0pointer.net/blog/projects/on-etc-sysinit.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this blog post from Leonnart Pottering (the author of SystemD)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you are editting service files in &lt;tt&gt;/etc/systemd&lt;/tt&gt; and having them overwritten by our packages please let me know as that would be a major bug but I was not able to reproduce that behavior. However, edits to the &lt;tt&gt;/lib&lt;/tt&gt; service files were overwritten and this is what I would expect to happen. &lt;/p&gt;</comment>
                            <comment id="2346944" author="mongo@phish.org" created="Sun, 28 Jul 2019 03:01:24 +0000"  >&lt;p&gt;mongodb-org-server&lt;/p&gt;</comment>
                            <comment id="2337536" author="eric.sedor" created="Mon, 22 Jul 2019 20:52:19 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mongo%40phish.org&quot; class=&quot;user-hover&quot; rel=&quot;mongo@phish.org&quot;&gt;mongo@phish.org&lt;/a&gt;, can you clarify the exact package name for the repo being updated/upgraded?&lt;/p&gt;</comment>
                            <comment id="2324076" author="mongo@phish.org" created="Sat, 13 Jul 2019 00:08:52 +0000"  >&lt;p&gt;apt-get update; apt-get upgrade&lt;/p&gt;

&lt;p&gt;&amp;#8211; on an unrelated note, it made me create a new account on here. any way to tie my old account with my new one?&lt;/p&gt;</comment>
                            <comment id="2318066" author="eric.sedor" created="Tue, 9 Jul 2019 23:15:36 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sallgeud&quot; class=&quot;user-hover&quot; rel=&quot;sallgeud&quot;&gt;sallgeud&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Can you clarify the command used to install the package and the update command you&apos;re running that&apos;s causing the service file to be overwritten?&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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 9 Jul 2019 23:15:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 19 weeks, 3 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 19 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mongo@phish.org</customfieldvalue>
            <customfieldvalue>sallgeud</customfieldvalue>
            <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>mathew.robinson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvb7kn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv0bav:</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="3281">Dev Tools 2019-10-07</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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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