<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:30:10 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-53177] SELinux is preventing /usr/bin/mongod from search access on the directory net.</title>
                <link>https://jira.mongodb.org/browse/SERVER-53177</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;SELinux is preventing /usr/bin/mongod from search access on the directory net.&lt;/p&gt;

&lt;p&gt;&#160;I have followed the installation steps&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@xxxxxxxxx&amp;#93;&lt;/span&gt;# semodule -l | grep mongo&lt;br/&gt;
mongodb 1.1.0&lt;br/&gt;
mongodb_cgroup_memory 1.0&lt;br/&gt;
mongodb_proc_net 1.0&lt;/p&gt;

&lt;p&gt;OS:- Centos 7.9&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I saw one guy opened a same bug in RedHat also&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=1884810&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1884810&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;--------------------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;SELinux is preventing /usr/bin/mongod from search access on the directory net.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;
			&lt;ul&gt;
				&lt;li&gt;
				&lt;ul&gt;
					&lt;li&gt;Plugin catchall (100. confidence) suggests **************************&lt;/li&gt;
				&lt;/ul&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If you believe that mongod should be allowed search access on the net directory by default.&lt;br/&gt;
Then you should report this as a bug.&lt;br/&gt;
You can generate a local policy module to allow this access.&lt;br/&gt;
Do&lt;br/&gt;
allow this access for now by executing:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;ausearch -c &apos;mongod&apos; --raw | audit2allow -M my-mongod&lt;/li&gt;
	&lt;li&gt;semodule -i my-mongod.pp&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;Additional Information:&lt;br/&gt;
Source Context system_u:system_r:mongod_t:s0&lt;br/&gt;
Target Context system_u:object_r:sysctl_net_t:s0&lt;br/&gt;
Target Objects net [ dir ]&lt;br/&gt;
Source mongod&lt;br/&gt;
Source Path /usr/bin/mongod&lt;br/&gt;
Port &amp;lt;Unknown&amp;gt;&lt;br/&gt;
Host &amp;lt;Unknown&amp;gt;&lt;br/&gt;
Source RPM Packages mongodb-org-server-4.4.1-1.el7.x86_64&lt;br/&gt;
Target RPM Packages&lt;br/&gt;
Policy RPM selinux-policy-3.13.1-268.el7_9.2.noarch&lt;br/&gt;
Selinux Enabled True&lt;br/&gt;
Policy Type targeted&lt;br/&gt;
Enforcing Mode Enforcing&lt;br/&gt;
Host Name XXXXXXXXX&lt;br/&gt;
Platform Linux XXXXXXX 3.10.0-1160.6.1.el7.x86_64 #1&lt;br/&gt;
 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64&lt;br/&gt;
Alert Count 1&lt;br/&gt;
First Seen 2020-12-01 14:23:59 UTC&lt;br/&gt;
Last Seen 2020-12-01 14:23:59 UTC&lt;br/&gt;
Local ID 3f4e312c-a021-4bd7-9a3e-205b6367ec9c&lt;/p&gt;

&lt;p&gt;Raw Audit Messages&lt;br/&gt;
type=AVC msg=audit(1606832639.771:108): avc: denied { search } for pid=1674 comm=&quot;mongod&quot; name=&quot;net&quot; dev=&quot;proc&quot; ino=244 scontext=system_u:system_r:mongod_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0&lt;/p&gt;


&lt;p&gt;type=SYSCALL msg=audit(1606832639.771:108): arch=x86_64 syscall=stat success=no exit=EACCES a0=55f2684e18e0 a1=7ffca39f3c70 a2=7ffca39f3c70 a3=79732f636f72702f items=0 ppid=1670 pid=1674 auid=4294967295 uid=996 gid=995 euid=996 suid=996 fsuid=996 egid=995 sgid=995 fsgid=995 tty=(none) ses=4294967295 comm=mongod exe=/usr/bin/mongod subj=system_u:system_r:mongod_t:s0 key=(null)&lt;/p&gt;

&lt;p&gt;Hash: mongod,mongod_t,sysctl_net_t,dir,search&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1556936">SERVER-53177</key>
            <summary>SELinux is preventing /usr/bin/mongod from search access on the directory net.</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="9">Done</resolution>
                                        <assignee username="jonathan.streets@mongodb.com">Jonathan Streets</assignee>
                                    <reporter username="aneesh.reghu@gmail.com">Aneesh Reghu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Dec 2020 07:55:39 +0000</created>
                <updated>Fri, 10 Mar 2023 03:19:24 +0000</updated>
                            <resolved>Wed, 20 Jan 2021 15:50:37 +0000</resolved>
                                                                    <component>JavaScript</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3607588" author="jonathan.streets" created="Tue, 9 Feb 2021 19:20:02 +0000"  >&lt;p&gt;Thank-you for the extra information. I&apos;ve passed it along to the Documentation Team.&lt;/p&gt;</comment>
                            <comment id="3607295" author="JIRAUSER1269682" created="Tue, 9 Feb 2021 17:38:25 +0000"  >&lt;p&gt;Hi. I see this issue is closed but I&apos;ve just hit the same problem with MongoDB 4.4 on CentOS 8.&lt;/p&gt;

&lt;p&gt;After adding the rule for:&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;allow mongod_t sysctl_net_t:dir search;&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;I also got a number of other denials logged. To stop all the denials being logged, I ended up with the following:&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;&amp;nbsp;&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;   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;module mongodb_sysctl_net &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1.0&lt;/span&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;;&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;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&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;   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;require {&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;   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;        type mongod_t;&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;   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;        type sysctl_net_t;&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;   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;        &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;class&lt;/span&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; dir search;&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;   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;        &lt;/span&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;class&lt;/span&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; file { getattr read open };&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;   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;}&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;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&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;   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;#============= mongod_t ==============&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;   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;allow mongod_t sysctl_net_t:dir search;&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;allow mongod_t sysctl_net_t:file { getattr read open };&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;I&apos;m not sure if these rules should be included in the selinux-policy packaged detailed in:&lt;br/&gt;
&lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=1884810&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1884810&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;or if they should be added to the MongoDB documentation:&lt;br/&gt;
&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would imagine it&apos;s the latter.&lt;/p&gt;

&lt;p&gt;I can&apos;t see the previous info in the documentation yet so, if the additional rules I&apos;ve detailed are also required, could they also be included in the documentation. Thanks.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3562466" author="JIRAUSER1257839" created="Wed, 13 Jan 2021 14:54:51 +0000"  >&lt;p&gt;Hi Jonathan Streets,&lt;/p&gt;

&lt;p&gt;I have run that commands. now it&apos;s working fine.&lt;/p&gt;</comment>
                            <comment id="3528843" author="jonathan.streets" created="Mon, 14 Dec 2020 18:51:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aneesh.reghu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;aneesh.reghu@gmail.com&quot;&gt;aneesh.reghu@gmail.com&lt;/a&gt;, I looked at the redhat bugzilla report and found the reproducer using &lt;tt&gt;setroubleshoot&lt;/tt&gt;. I found that running the commands in your description adds the search exception to &lt;tt&gt;mongod&lt;/tt&gt;&#160;for SElinux:&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;ausearch -c &apos;mongod&apos; --raw | audit2allow -M my-mongod&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;semodule -i my-mongod.pp&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;I have opened an internal DOCS ticket to get the instructions updated. Does this fix the issue for you as well?&lt;br/&gt;
 jon&lt;/p&gt;</comment>
                            <comment id="3527610" author="JIRAUSER1257839" created="Mon, 14 Dec 2020 10:27:38 +0000"  >&lt;p&gt;Hi Jonathan,&lt;/p&gt;

&lt;p&gt;Thanks for the reply.&lt;/p&gt;

&lt;p&gt;I&apos;m using the default mongo directory.&#160; id didn&apos;t the default data directory.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;ls -lZ /var/lib/mongo/&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-0-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-0-275752799907371565.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-2-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-4-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-7-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-8-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 collection-9-1102071215071264138.wt&lt;br/&gt;
drwx------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 diagnostic.data&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-10-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-1-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-11-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-12-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-1-275752799907371565.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-13-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-16-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-2-275752799907371565.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-3-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-5-1102071215071264138.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 index-6-1102071215071264138.wt&lt;br/&gt;
drwx------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 journal&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 _mdb_catalog.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 mongod.lock&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 sizeStorer.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 storage.bson&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 WiredTiger&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 WiredTigerHS.wt&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 WiredTiger.lock&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 WiredTiger.turtle&lt;br/&gt;
&lt;del&gt;rw&lt;/del&gt;------. mongod mongod system_u:object_r:mongod_var_lib_t:s0 WiredTiger.wt&lt;/p&gt;</comment>
                            <comment id="3519390" author="jonathan.streets" created="Mon, 7 Dec 2020 20:15:01 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aneesh.reghu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;aneesh.reghu@gmail.com&quot;&gt;aneesh.reghu@gmail.com&lt;/a&gt;,&lt;br/&gt;
 Thank-you for reporting this issue. I was able to install and run &lt;tt&gt;mongodb 4.4.2&lt;/tt&gt;&#160;and attach to it with &lt;tt&gt;mongo&lt;/tt&gt; on a fresh Centos 7 VM. I followed the &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;instructions&lt;/a&gt;, but found I also needed to install &lt;tt&gt;semodule_package&lt;/tt&gt; with &lt;tt&gt;yum install policycoreutils-python&lt;/tt&gt;, and create the &lt;tt&gt;/data/db&lt;/tt&gt; directory, owned by the &lt;tt&gt;mongod&lt;/tt&gt; account. &lt;br/&gt;
 Do these extra commands work for you? If so I will get the documentation updated, if this still doesn&apos;t work for you please can you share a reproducer?&lt;br/&gt;
 thanks&lt;br/&gt;
 jon&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 7 Dec 2020 20:15:01 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 1 day 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>rachelle.palmer@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 1 day 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>aneesh.reghu@gmail.com</customfieldvalue>
            <customfieldvalue>third.line@invade.net</customfieldvalue>
            <customfieldvalue>jonathan.streets@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyjwhj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy5u27:</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_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|hyjiqv:</customfieldvalue>

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