<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:54:04 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-40122] mongod generates inconsistent logs for journalctl during start up</title>
                <link>https://jira.mongodb.org/browse/SERVER-40122</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When I try to start mongod on a centos server using&#160; `systemctl start mongod`,&#160;mongod generates different format of logs for journalctl.&lt;br/&gt;
e.g.Sometimes I got _SYSTEMD_UNIT in logs sometimes I didn&apos;t.&lt;br/&gt;
use  `journalctl  -o verbose` to see following logs&lt;/p&gt;

&lt;p&gt;Thu 2019-03-14 08:56:25.564626 CST [s=f346de34a07a4ae4864c0b0d59247e13;i=380;b=8d1b546e8233453eb811aad9c83b&lt;br/&gt;
    PRIORITY=6&lt;br/&gt;
    _SYSTEMD_SLICE=system.slice&lt;br/&gt;
    _BOOT_ID=8d1b546e8233453eb811aad9c83b60d0&lt;br/&gt;
    _MACHINE_ID=5e6521e7a19a4ceaa05ce7b123bdf8b2&lt;br/&gt;
    _HOSTNAME=localhost.localdomain&lt;br/&gt;
    SYSLOG_FACILITY=3&lt;br/&gt;
    _TRANSPORT=stdout&lt;br/&gt;
    _SELINUX_CONTEXT=system_u:system_r:init_t:s0&lt;br/&gt;
    _CAP_EFFECTIVE=0&lt;br/&gt;
    _STREAM_ID=4b9a978cc3dc46a0b498c309478cc055&lt;br/&gt;
    SYSLOG_IDENTIFIER=mongod&lt;br/&gt;
    MESSAGE=Error reading config file: Permission denied&lt;br/&gt;
    _PID=941&lt;br/&gt;
    _UID=998&lt;br/&gt;
    _GID=995&lt;br/&gt;
    _COMM=mongod&lt;br/&gt;
    _SYSTEMD_CGROUP=/system.slice/mongod.service&lt;br/&gt;
    &lt;b&gt;_SYSTEMD_UNIT=mongod.service&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;Thu 2019-03-14 09:52:28.999450 CST [s=f346de34a07a4ae4864c0b0d59247e13;i=3c2;b=8d1b546e8233453eb811aad9c83b&lt;br/&gt;
    PRIORITY=6&lt;br/&gt;
    _BOOT_ID=8d1b546e8233453eb811aad9c83b60d0&lt;br/&gt;
    _MACHINE_ID=5e6521e7a19a4ceaa05ce7b123bdf8b2&lt;br/&gt;
    _HOSTNAME=localhost.localdomain&lt;br/&gt;
    SYSLOG_FACILITY=3&lt;br/&gt;
    _SYSTEMD_CGROUP=/&lt;br/&gt;
    _TRANSPORT=stdout&lt;br/&gt;
    _SELINUX_CONTEXT=system_u:system_r:init_t:s0&lt;br/&gt;
    _CAP_EFFECTIVE=0&lt;br/&gt;
    SYSLOG_IDENTIFIER=mongod&lt;br/&gt;
    MESSAGE=Error reading config file: Permission denied&lt;br/&gt;
    _UID=998&lt;br/&gt;
    _GID=995&lt;br/&gt;
    _COMM=mongod&lt;br/&gt;
    _STREAM_ID=b21afa0dd80f44dca15370450b1be552&lt;br/&gt;
    _PID=1644&lt;/p&gt;

&lt;p&gt;and only those with `_SYSTEMD_UNIT=mongod.service` can be seen by `journalctl  -u mongod` or &apos;systemctl status mongod&apos;&lt;/p&gt;</description>
                <environment></environment>
        <key id="716660">SERVER-40122</key>
            <summary>mongod generates inconsistent logs for journalctl during start up</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="13202">Works as Designed</resolution>
                                        <assignee username="mathew.robinson@mongodb.com">Mathew Robinson</assignee>
                                    <reporter username="jiahongchao">Jia Hongchao</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Mar 2019 05:53:05 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:17 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 21:44:58 +0000</resolved>
                                    <version>4.0.6</version>
                                                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="2278591" author="mathew.robinson" created="Mon, 10 Jun 2019 21:44:58 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jiahongchao&quot; class=&quot;user-hover&quot; rel=&quot;jiahongchao&quot;&gt;jiahongchao&lt;/a&gt;, so I finally tracked this one down.&lt;/p&gt;

&lt;p&gt;This is actually a bug specific to RedHat&apos;s version of SystemD which has since been fixed. The relevant &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=1643172&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;bugzilla bug is here.&lt;/a&gt;. They needed to apply the patch &lt;tt&gt;0673-Revert-bus-when-dumping-string-property-values-escap.patch&lt;/tt&gt; and they do so as of version &lt;tt&gt;systemd-219-62.el7_6.6&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Since this isn&apos;t a MongoDB bug and is specific to an edge case in RedHat&apos;s SystemD ( I have verified that versions of SystemD &amp;gt; 219 and &amp;gt;= the RH RPM version shown above do not have this problem ). I&apos;m going to close this ticket as Works as Designed.&lt;/p&gt;</comment>
                            <comment id="2207565" author="jiahongchao" created="Wed, 10 Apr 2019 01:31:48 +0000"  >&lt;p&gt;@Mathew Robinson&lt;/p&gt;

&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;   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;systemd 219&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
</comment>
                            <comment id="2205492" author="mathew.robinson" created="Mon, 8 Apr 2019 17:58:36 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jiahongchao&quot; class=&quot;user-hover&quot; rel=&quot;jiahongchao&quot;&gt;jiahongchao&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Can you post what version of SystemD you&apos;re using?&lt;/p&gt;

&lt;p&gt;You can find this with:&lt;/p&gt;

&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;systemctl --version&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;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="2185807" author="jiahongchao" created="Wed, 20 Mar 2019 01:25:11 +0000"  >&lt;p&gt;I wanted to edit it because &quot;sometime&quot; in &quot;Sometime I got _SYSTEMD_UNIT in logs sometime I didn&apos;t&quot; should be &quot;Sometimes&quot; &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="2185156" author="daniel.hatcher" created="Tue, 19 Mar 2019 17:58:59 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Thank you for the report! I&apos;m able to reproduce this behavior on my own system and this does appear to be a bug. I&apos;ll assign this ticket to the relevant team&apos;s backlog for them to triage and fix when possible. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;BTY, why I can not edit my own issue here?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We restrict the ability of outside accounts from editing issue descriptions because we use them for our internal tracking. If you leave comments with the changes that you wish to make to the description, we can determine if it is necessary to add them in.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2180515" author="jiahongchao" created="Thu, 14 Mar 2019 06:08:04 +0000"  >&lt;p&gt;BTY, why I can not edit my own issue here?&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>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Mar 2019 17:58:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 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>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, 35 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>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>jiahongchao</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|huqsa7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7bqn:</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="2839">Dev Tools 2019-04-08</customfieldvalue>
    <customfieldvalue id="2942">Dev Tools 2019-04-22</customfieldvalue>
    <customfieldvalue id="2980">Dev Tools 2019-06-17</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1 on centos7 `yum install&#160;mongodb-org-server-4.0.6`&lt;/p&gt;

&lt;p&gt;2 run `rm&#160;/etc/mongod.conf`&lt;/p&gt;

&lt;p&gt;3 run `systemctl start mongod`&lt;/p&gt;

&lt;p&gt;4 run `systemctl status mongod`&lt;/p&gt;

&lt;p&gt;5 `Error reading config file: Permission denied` not always shown.They only appear if log entry has&#160;`_SYSTEMD_UNIT=mongod.service`&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|huqejj:</customfieldvalue>

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