Description of problem: I cannot stop in an easy commandline way the mageia firewall, the iptables rules are not removed and the policy stays on drop Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. iptables -L -n => shows loaded ruleset 2. systemctl stop iptables.service 3. systemctl stop shorewall.service 4. iptables -L -n [root@localhost ~]# iptables -L -n Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy DROP) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED Chain OUTPUT (policy ACCEPT) target prot opt source destination Maybe my recollection is wrong but I remember at some time in the past that stopping both services would give em an empty ruleset with all policies set to ACCEPT. I know I can use my own script to do this but stopping both services should do the trick. Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedAssignee: bugsquad => tmb
This bug is still present on Cauldron (Mageia 6). I noticed it a long time ago too and it's still not fixed. Let me see if I can find a solution.
CC: (none) => shlomifVersion: 4 => CauldronWhiteboard: (none) => MGA5TOO MGA4TOO
Workaround script can be found here: http://bash.cyberciti.biz/security/shell-script-to-stop-linux-firewall/