<div dir="ltr">Hey Gluster Developers,<div><br></div><div>I&#39;m fairly new to GlusterFS, but noticed, that it is missing the possibility to control firewalld, which is also addressed in [1]</div><div>Since I wanted to propose a solution for this problem, I briefly talked to Niels de Vos and we identified 2 possible ways to fix this:</div><div><br></div><div>1) Use the dbus connection to control firewalld when we do bind() as a server - it looks like there is only one place where we do that [2]</div><div>     --&gt; Pretty much a catch all solution, but will require to link against dbus and a precompiler check for OSs with firewalld</div><div><br></div><div>2) Use the glusterfs hooks to call a script, when we create volumes to open up the (dynamic) ports of the involved bricks</div><div>     --&gt; Easier to implement, but where do we get the port information from? Additionally involves the creation of a static config for the glusterd process.</div><div><br></div><div>Looking at [3], we need to open up additional (dynamic) ports for NFS? Is that info correct?</div><div><br></div><div>Since I&#39;m fairly new, I would welcome a discussion, which approach is best in your opinion. Please also tell me if any assumptions from above are incorrect...</div><div><br></div><div>Best Regards,</div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><span style="font-size:12.8000001907349px">Chris</span><br></div><div style="font-size:small"><br></div><div style="font-size:small"><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1057295">https://bugzilla.redhat.com/show_bug.cgi?id=1057295</a></div><div>[2] <a href="https://forge.gluster.org/glusterfs-core/glusterfs/blobs/master/rpc/rpc-transport/socket/src/socket.c#line758">https://forge.gluster.org/glusterfs-core/glusterfs/blobs/master/rpc/rpc-transport/socket/src/socket.c#line758</a></div><div>[3] <a href="http://www.gluster.org/community/documentation/index.php/Gluster_3.1:_Installing_GlusterFS_on_Red_Hat_Package_Manager_(RPM)_Distributions">http://www.gluster.org/community/documentation/index.php/Gluster_3.1:_Installing_GlusterFS_on_Red_Hat_Package_Manager_(RPM)_Distributions</a></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>