<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:31:14 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-32766] net.bindIpAll with net.ipv6 fails with &quot;listen: Address already in use, terminating&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-32766</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Enabling both &lt;tt&gt;net.bindIpAll&lt;/tt&gt; (&lt;tt&gt;&amp;#45;&amp;#45;bind_ip_all&lt;/tt&gt;) and &lt;tt&gt;net.ipv6&lt;/tt&gt; (&lt;tt&gt;&amp;#45;&amp;#45;ipv6&lt;/tt&gt;) results in the server failing to start with the following error message:&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;exception in initAndListen std::exception: listen: Address already in use, terminating&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;The same thing occurs if specifying &lt;tt&gt;&amp;#45;&amp;#45;bind_ip 0.0.0.0,::&lt;/tt&gt; with the &lt;tt&gt;&amp;#45;&amp;#45;ipv6&lt;/tt&gt; option.&lt;/p&gt;

&lt;p&gt;A workaround for this issue is to specify &lt;tt&gt;&amp;#45;&amp;#45;bind_ip&lt;/tt&gt;&#160;with all IPv4 &amp;amp; IPv6 addresses of the server.&lt;/p&gt;

&lt;p&gt;The log output is attached as &lt;tt&gt;mongodb-ipv6-bindall-log.txt&lt;/tt&gt;.&lt;/p&gt;
</description>
                <environment>Debian Jessie</environment>
        <key id="484440">SERVER-32766</key>
            <summary>net.bindIpAll with net.ipv6 fails with &quot;listen: Address already in use, terminating&quot;</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="13201">Fixed</resolution>
                                        <assignee username="sara.golemon@mongodb.com">Sara Golemon</assignee>
                                    <reporter username="olavmrk">Olav Morken</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jan 2018 15:17:52 +0000</created>
                <updated>Mon, 30 Oct 2023 23:09:13 +0000</updated>
                            <resolved>Sun, 28 Jan 2018 13:55:36 +0000</resolved>
                                    <version>3.6.2</version>
                                    <fixVersion>3.6.3</fixVersion>
                    <fixVersion>3.7.2</fixVersion>
                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1789996" author="xgen-internal-githook" created="Wed, 31 Jan 2018 00:27:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;sara.golemon@mongodb.com&apos;, &apos;name&apos;: &apos;Sara Golemon&apos;, &apos;username&apos;: &apos;sgolemon&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32766&quot; title=&quot;net.bindIpAll with net.ipv6 fails with &amp;quot;listen: Address already in use, terminating&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32766&quot;&gt;&lt;del&gt;SERVER-32766&lt;/del&gt;&lt;/a&gt; Address already in use with bind_ip_all and ipv6&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d887ee0da56d4f099e3bec9f1079467ec465850c)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cffb06a769d4f59fed460de930cfc51cd0cc4b09&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cffb06a769d4f59fed460de930cfc51cd0cc4b09&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1786983" author="sara.golemon" created="Sun, 28 Jan 2018 13:55:36 +0000"  >&lt;p&gt;Issue fixed on master branch.  Backport for 3.6 requested.&lt;/p&gt;</comment>
                            <comment id="1786982" author="xgen-internal-githook" created="Sun, 28 Jan 2018 13:55:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;sara.golemon@mongodb.com&apos;, &apos;name&apos;: &apos;Sara Golemon&apos;, &apos;username&apos;: &apos;sgolemon&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32766&quot; title=&quot;net.bindIpAll with net.ipv6 fails with &amp;quot;listen: Address already in use, terminating&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32766&quot;&gt;&lt;del&gt;SERVER-32766&lt;/del&gt;&lt;/a&gt; Address already in use with bind_ip_all and ipv6&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d887ee0da56d4f099e3bec9f1079467ec465850c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d887ee0da56d4f099e3bec9f1079467ec465850c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1786877" author="sara.golemon" created="Sun, 28 Jan 2018 01:29:06 +0000"  >&lt;p&gt;Hello Olav;&lt;br/&gt;
Indeed, thank you for the clear description.  It took some digging, but I found the issue and I&apos;m genuinely surprised both that we didn&apos;t have a test for this, and that it took a couple releases for someone to notice.&lt;/p&gt;

&lt;p&gt;The fix is currently in review, and should hopefully find its way back to 3.6 shortly.  In the mean time, you should be able to bind all addresses on your 3.6 system by specifying:&lt;/p&gt;

&lt;p&gt;--bind_ip &apos;::&apos; --ipv6&lt;/p&gt;

&lt;p&gt;Note the lack of of the IPv4 formatted &quot;0.0.0.0&quot;.  Ordinarily this would NOT work, but our new transport layer was missing an option which disables IPv4-in-IPv6 mapped addresses.  Since both 0.0.0.0 and :: would therefore cover the 0.0.0.0 range, we get the &quot;address already in use&quot; message.&lt;/p&gt;

&lt;p&gt;Once the fix is in, and you upgrade to a version which has the fix, you&apos;ll want to put 0.0.0.0 back into that list, or better yet just use --bind_ip_all directly at that time.&lt;/p&gt;</comment>
                            <comment id="1779527" author="thomas.schubert" created="Fri, 19 Jan 2018 20:47:16 +0000"  >&lt;p&gt;Thanks for the clear reproduction steps, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=olavmrk&quot; class=&quot;user-hover&quot; rel=&quot;olavmrk&quot;&gt;olavmrk&lt;/a&gt; &#8211; we&apos;re investigating the issue and will update this ticket as we progress.&lt;/p&gt;</comment>
                            <comment id="1777808" author="olavmrk" created="Thu, 18 Jan 2018 15:27:02 +0000"  >&lt;p&gt;Sorry for the incorrectly formatted issue description; It was appears that using &lt;tt&gt;monospaced&lt;/tt&gt; with option names in some cases result in JIRA formatting it as strike-through instead. Unfortunately I cannot edit the description to fix it.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="176166" name="mongodb-ipv6-bindall-log.txt" size="3743" author="olavmrk" created="Thu, 18 Jan 2018 15:12:23 +0000"/>
                    </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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15141"><![CDATA[v3.6]]></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>Fri, 19 Jan 2018 20:47:16 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 2 weeks, 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>olavmrk</customfieldvalue>
            <customfieldvalue>sara.golemon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hto9fr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htfqen:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1. Create a temporary empty data directory for the database: &lt;tt&gt;mkdir /tmp/delete-me-test-mongodb-bindall&lt;/tt&gt;&lt;br/&gt;
2. Try to start MongoDB with the &lt;tt&gt;--ipv6&lt;/tt&gt; and &lt;tt&gt;bind_ip_all&lt;/tt&gt;&#160;options: &lt;tt&gt;mongod --port 35723 --ipv6 --bind_ip_all --dbpath /tmp/delete-me-test-mongodb-bindall/&lt;/tt&gt;&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|htnvk7:</customfieldvalue>

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