LayLow
(LayLow)
1
Hi,
It seems that after removal of the Mattermost module, a firewall rules are left behind:
How can I remove these manually pls?
TIA
HTH
stephdl
(Stéphane de Labrusse)
2
it should not, except if remove service does not remove UDP port
LayLow
(LayLow)
4
I just installed Mattermost again removed it again. Now I have both instances firewall settings (TCP and UDP) left:
So something is not right I guess?
stephdl
(Stéphane de Labrusse)
5
please what is the output
firewall-cmd --list-all-zones
and what is the
firewall-cmd --info-service=mattermost1
firewall-cmd --info-service=mattermost2
adapt to the module_id of mattermost you will find in the public zone
stephdl
(Stéphane de Labrusse)
6
evidences 
Jun 14 14:37:56 R3.rocky9-3.org agent@mattermost1[3776]: Action destroy-module skipped step 90firewall: fork/exec /home/mattermost1/.config/actions/destroy-module/90firewall: permission denied
stephdl
(Stéphane de Labrusse)
7
firewall-cmd --permanent --delete-service=mattermost1
firewall-cmd --reload
LayLow
(LayLow)
8
I can confirm, I changed the permissions to 0755 and uninstalled the module. Firewall rules are correctly adjusted.
stephdl
(Stéphane de Labrusse)
9
hello laylow, could you please verify this QA
just install and check the bug is not reproducible
thank a lot
LayLow
(LayLow)
10
Verified, issue is resolved with Mattermost 2.0.6-dev.1. (I have test repo enabled)
Thanks!
New install via software center of Mattermost 2.0.6-dev.1 and firewall shows:
Remove mattermost via software center and firewall shows: