I was experimenting with DRBD (9) and decided to go another route. I uninstalled DRBD and removed config files from /etc. I went to remove DRBD from my firewall using YaST and received an error message trying to open firewall:
I responded OK to the error window and YaST firewall opened but when I attempted to remove drbd I received the following error message:
I went to YaST software and did a force reinstall of all selected YaST (Yast2) software components and firewall-cmd. After reboot, the problem remains and YaST displays the same messages. I tested with âfirewall-cmd --stateâ and had âfailedâ return.
I am running OpenSUSE Tumbleweed 20230521 and with YaSt2 4.6.2-1.1
Does someone know how to remove the uninstalled drbd service from the external zone of my firewall or is this aYast/firewall error that needs to be reported???
Need a bit of help to get the command correct. I tried âfirewall-cmd --zone=external --remove-service-from-zone=drbdâ; âfirewall-cmd --zone=external --delete-service=drbdâ; and âfirewall-cmd --delete-service=drbdâ but did not get the command correct.
I tried to reset firewall to defaults but that did not work:
rherbert@Obedient:~> firewall-cmd --reset-to-defaults
Error: INVALID_SERVICE: Zone âexternalâ: âdrbdâ not among existing services
rherbert@Obedient:~>
The uninstalled drbd service shows up in YaSt and cannot be removed while with command lines the drbd service does not show and firewalld is in âFAILED stateâ. Note that the mysql service does not show up with command lines. Interestingly, I have a ânewâ problem with my mariadb master-master replication where the two servers do not recognize each other but my ssh service is working.
This may be germane ⌠I had also installed yast2-drbd, never used it, and then uninstalled yast2-drbd.
Should have removed the service and any linked references to it in Yast2, THEN un-install the drbd software.
(⌠with no other working suggestions, personally I would install the drbd software again, then go back to Yast2, remove the config/service/reference and double-check it, THEN uninstall the drbd software.)
Good thought. I will keep that order of removal in mind for other uninstalls.
Before I opened this help tag, I did try reinstalling drbd and removing drbd from my firewall in YaST before uninstalling again. However, that did not resolve the problem. Meaning, I could not remove drbd from my firewall before I uninstalled with this second attempt as the problem did not go away with the reinstall.
The drbd installation through YaST included âdrbdâ, âdrbd-kmp-defaultâ, and âdrbd-utilsâ. When I uninstalled these three, virtualbox could no longer open a guest machine due to a missing (?) kernel. I force reinstalled âvirtualbox-kmp-defaultâ (the kernel) through YaST and functionality was restored to virtualbox. I later discovered my problem with removing drbd from my firewall settings through Yast. However, force reinstalling firewalld and 5 dependencies did not resolve my current YaST/firewall problem.
Note as well: I did add drbd to my firewalls through YaST initially.
There must be a way to get firewalld functioning and out of its âFAILEDâ state.
I managed to resolve this by going into the firewalld zone files in Super User Mode and removing out the drbd service with a text editor. All firewalld problems resolved AND my Mariadb master-master replication came back on line. The zone file in OpenSUSE Tumbleweed for the zone I was having trouble with was: