Ocasionally after updating my smile plug (pacman -Syu) I see the following error:
$this->bbcode_second_pass_code('', '[FAILED] Failed to start Packet Filtering Framework.
See 'systemctl status iptables.service' for details.
')
I use systemctl and get the following:
$this->bbcode_second_pass_code('', '
[root@SMILEplug ~]# systemctl status iptables.service -l
iptables.service - Packet Filtering Framework
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled)
Active: failed (Result: exit-code) since Mon 2014-01-06 18:00:03 MST; 4min 45s ago
Process: 123 ExecStart=/usr/bin/iptables-restore /etc/iptables/iptables.rules (code=exited, status=2)
Main PID: 123 (code=exited, status=2)
CGroup: /system.slice/iptables.service
Jan 06 18:00:03 SMILEplug iptables-restore[123]: iptables-restore v1.4.21: iptables-restore: unable to initialize table 'filter'
Jan 06 18:00:03 SMILEplug iptables-restore[123]: Error occurred at line: 2
Jan 06 18:00:03 SMILEplug iptables-restore[123]: Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Jan 06 18:00:03 SMILEplug systemd[1]: iptables.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 06 18:00:03 SMILEplug systemd[1]: Failed to start Packet Filtering Framework.
Jan 06 18:00:03 SMILEplug systemd[1]: Unit iptables.service entered failed state.
')
MY iptables.rules FILE CONTAINS:
$this->bbcode_second_pass_code('', '
# Generated by iptables-save v1.4.19.1 on Fri Jul 19 07:58:31 2013
*filter
:INPUT ACCEPT [12:1149]
:FORWARD ACCEPT [8:672]
:OUTPUT ACCEPT [10:1243]
-A FORWARD -i br0 -j ACCEPT
COMMIT
# Completed on Fri Jul 19 07:58:31 2013
# Generated by iptables-save v1.4.19.1 on Fri Jul 19 07:58:31 2013
*nat
:PREROUTING ACCEPT [7:516]
:INPUT ACCEPT [5:348]
:OUTPUT ACCEPT [3:277]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
# Completed on Fri Jul 19 07:58:31 2013
')
Can someone enlighten me on how to debug/fix this problem?