Disable IPv6 in kernel generate error in Ufw 0.33.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello.
I have found the following mistake:
Manjaro 0.8.13-rc1
OpenRC 0.16.3
Ufw 0.33.3
Linux manjaro 3.18.14-1-MANJARO #1 SMP PREEMPT Mon May 25 01:26:15 UTC 2015 x86_64 GNU/Linux
x64
---
IPv6 disable in kernel work OK but Ufw has an error with ipv6.disable=1 in GRUB_CMDLINE_
ufw status/enable
Traceback (most recent call last):
File "/usr/bin/ufw", line 95, in <module>
ui = ufw.frontend.
File "/usr/lib/
self.backend = UFWBackendIptab
File "/usr/lib/
ufw.
File "/usr/lib/
nf_caps = ufw.util.
File "/usr/lib/
raise OSError(
OSError: [Errno 2] ip6tables v1.4.21: can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.
In the file: /etc/default/ufw --> IPV6=no
Ufw don't start.
Disable IPv6 in /etc/sysctl.
# Disable IPv6
net.ipv6.
Greetings
Thank you for using ufw and reporting a bug. I was unable to reproduce this with ufw trunk. Can you try with that and report back?