FS#35430 - [ufw] iptables 1.4.18-2 break ufw

Attached to Project: Community Packages
Opened by Sylvain A. (ewilly) - Wednesday, 22 May 2013, 20:59 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 02 June 2013, 13:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
after the upgrade of iptable from testing, ufw seems to not work anymore

Additional info:
* package version(s) :
- iptables 1.4.18-2
- ufw 0.33-2

* config and/or log files etc.


Steps to reproduce:
ufw status verbose
ERROR: Couldn't determine iptables version
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 02 June 2013, 13:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  ufw 0.33-3
Comment by Jason (einseenai) - Friday, 31 May 2013, 03:24 GMT
Just found out about it accidentally - launched kcm-ufw, ufw was disabled somehow. Checked "ufw status" - and this "ERROR: Couldn't determine iptables version" showed up. Also on x86_64 system.
Comment by Sylvain A. (ewilly) - Friday, 31 May 2013, 14:07 GMT
solved thanks to the update of "filesystem" package to 2013.05-1
Bug could be closed
Comment by Nik (nskware) - Friday, 31 May 2013, 22:24 GMT
Guys,
I am running into the same issue. Is this thing really a bug? Sylvain A., can you please elobrate on how you fixed the issue?
Comment by Evangelos Foutras (foutrelis) - Saturday, 01 June 2013, 05:09 GMT
iptables 1.4.18-2 moved /usr/sbin/iptables to /usr/bin/iptables so that's probably why ufw can't find it.
Comment by Sylvain A. (ewilly) - Saturday, 01 June 2013, 07:55 GMT
@Nick : has Evangelos Foutras explained there are some changes in the structure in /. All the stuff in /bin, /sbin, /usr/sbin is moving to /usr/bin. iptables binaries was moved according this without simlinking them in the old /usr/sbin so ufw doesn't find them. Thanks the update of "filesystem" to 2013.05-x, /bin + /sbin + /usr/sbin becomes symlinks pointing to /usr/bin. So with that ufw find the iptable binary.
PS : becarfull before updating "filesystem", read carefully the dev mailing list (you will have to remove some packages before doing that but you can reinstall themen after)
Comment by Freek (teek) - Saturday, 01 June 2013, 09:11 GMT
I still have the error on my raspberry pi...

root@... x]# ufw status
ERROR: Couldn't determine iptables version
[root@... x]# ufw allow 8888
ERROR: Couldn't determine iptables version
[root@... x]#

It is completely up to date.
Comment by elementz (elementz) - Saturday, 01 June 2013, 22:47 GMT
I am on a fresh install of arch on a rpi. Packages are all up to date. Just installed ufw and I get the exact same error as Freek.
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 02 June 2013, 13:36 GMT
Please, do me a favour and don't tell that you're using Arch Linux ARM, especially on Arch Linux bugtracker.

Loading...