Hello, I have problem with firewall-cmd --reload command. Allways I get the same error. Fresh install of Ubuntu 20.04, Virtualmin (or without), firewalld version 0.8.2. Everything works fine until reload. firewall-cmd --reload or firewall-cmd --complete-reload gets error: Error: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct
systemctl status firewall-cmd gets: ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2021-02-06 17:12:25 UTC; 23h ago Docs: man:firewalld(1) Main PID: 155 (firewalld) Tasks: 2 (limit: 614) Memory: 30.5M CGroup: /system.slice/firewalld.service └─155 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid
Feb 06 17:11:59 matrica.world systemd[1]: firewalld.service: Succeeded. Feb 06 17:11:59 matrica.world systemd[1]: Stopped firewalld - dynamic firewall daemon. Feb 06 17:12:24 matrica.world systemd[1]: Starting firewalld - dynamic firewall daemon... Feb 06 17:12:25 matrica.world systemd[1]: Started firewalld - dynamic firewall daemon. Feb 07 16:38:42 matrica.world firewalld[155]: ERROR: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct Feb 07 16:38:42 matrica.world firewalld[155]: ERROR: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct
Can anyone help or link to solved solution?
On Sun, Feb 07, 2021 at 05:00:32PM -0000, Justas Balciunas wrote:
Hello, I have problem with firewall-cmd --reload command. Allways I get the same error. Fresh install of Ubuntu 20.04, Virtualmin (or without), firewalld version 0.8.2. Everything works fine until reload. firewall-cmd --reload or firewall-cmd --complete-reload gets error: Error: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct
systemctl status firewall-cmd gets: ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2021-02-06 17:12:25 UTC; 23h ago Docs: man:firewalld(1) Main PID: 155 (firewalld) Tasks: 2 (limit: 614) Memory: 30.5M CGroup: /system.slice/firewalld.service └─155 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid
Feb 06 17:11:59 matrica.world systemd[1]: firewalld.service: Succeeded. Feb 06 17:11:59 matrica.world systemd[1]: Stopped firewalld - dynamic firewall daemon. Feb 06 17:12:24 matrica.world systemd[1]: Starting firewalld - dynamic firewall daemon... Feb 06 17:12:25 matrica.world systemd[1]: Started firewalld - dynamic firewall daemon. Feb 07 16:38:42 matrica.world firewalld[155]: ERROR: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct Feb 07 16:38:42 matrica.world firewalld[155]: ERROR: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: ebtables-restore v1.8.4 (nf_tables): RULE_DELETE failed (No such file or directory): rule in chain OUTPUT_direct
This could be caused by some entity (e.g. libvirt, fail2ban, user) requesting firewalld to delete a direct rule that doesn't actually exist.
You can get my info by enabling debug, add `--debug` in `/etc/sysconfig/firewalld`. You can also set `IndividiualCalls=yes` in `/etc/firewalld/firewalld.conf`.
firewalld-users@lists.fedorahosted.org