I've just installed ufw and when running ufw status I get: ERROR: Couldn't determine iptables version
As per this bug https://bugs.archlinux.org/task/35430, the problem seems to be that iptables moved from /usr/sbin/iptables to /sbin/iptables.
I've tried softlinking iptables , iptables-restore and iptables-save to /usr/sbin/ but it still breaks.
The system itself is up to date
$this->bbcode_second_pass_code('', 'uname -r
3.6.11-11-ARCH+
')
$this->bbcode_second_pass_code('', 'ufw --version
ufw 0.33
')
$this->bbcode_second_pass_code('', 'iptables --version
iptables v1.4.18
')
I am able to start iptables via systemctl:
$this->bbcode_second_pass_code('', '
[~]# systemctl start iptables.service
[~]# systemctl status iptables.service
iptables.service - Packet Filtering Framework
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled)
Active: active (exited) since Sun 2013-06-02 18:06:30 CEST; 23min ago
Process: 342 ExecStart=/usr/bin/iptables-restore /etc/iptables/iptables.rules (code=exited, status=0/SUCCESS)
')