<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:12:03 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[BGPCEP-109] BGP listener should fail to configure if we do not have privileges</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-109</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;Running ODL as non-root currently produces the following exception:&lt;/p&gt;

&lt;p&gt;2014-07-17 14:37:56.854 CEST &lt;span class=&quot;error&quot;&gt;&amp;#91;globalEventExecutor-1-5&amp;#93;&lt;/span&gt; WARN  i.n.util.concurrent.DefaultPromise - An exception was thrown by org.opendaylight.controller.config.yang.bgp.rib.impl.BGPPeerAcceptorModule$1.operationComplete()&lt;br/&gt;
java.lang.IllegalStateException: Unable to start bgp server on /0.0.0.0:179&lt;br/&gt;
        at org.opendaylight.controller.config.yang.bgp.rib.impl.BGPPeerAcceptorModule$1.operationComplete(BGPPeerAcceptorModule.java:44) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:679) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.19.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.DefaultPromise$3.run(DefaultPromise.java:595) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.19.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.GlobalEventExecutor$TaskRunner.run(GlobalEventExecutor.java:325) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.19.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: java.net.SocketException: Permission denied&lt;br/&gt;
        at sun.nio.ch.Net.$$YJP$$bind0(Native Method) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.nio.ch.Net.bind0(Net.java) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.nio.ch.Net.bind(Net.java:444) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.nio.ch.Net.bind(Net.java:436) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:476) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.DefaultChannelPipeline$HeadHandler.bind(DefaultChannelPipeline.java:1000) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.DefaultChannelHandlerContext.invokeBind(DefaultChannelHandlerContext.java:463) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.DefaultChannelHandlerContext.bind(DefaultChannelHandlerContext.java:448) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:842) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:195) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:338) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        ... 1 common frames omitted&lt;/p&gt;


&lt;p&gt;The problem is that we should not allow the validate step to complete. Use the following check:&lt;/p&gt;

&lt;p&gt;import io.netty.util.internal.PlatformDependent;&lt;br/&gt;
if (!PlatformDependent.isWindows() &amp;amp;&amp;amp; !PlatformDependent.isRoot()) {&lt;br/&gt;
    ... we are not root, yada, yada, yada    &lt;br/&gt;
}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23349">BGPCEP-109</key>
            <summary>BGP listener should fail to configure if we do not have privileges</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="milos.fabian@pantheon.tech">Milos Fabian</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Jul 2014 12:45:58 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:16 +0000</updated>
                            <resolved>Thu, 31 Jul 2014 10:42:22 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>General</component>
                        <due>Fri, 25 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44732" author="milos.fabian@pantheon.tech" created="Thu, 24 Jul 2014 09:06:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9259/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9259/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1383</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1383]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10363"><![CDATA[Helium-M4]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02a9b:</customfieldvalue>

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