← Back to team overview

touch-packages team mailing list archive

[Bug 1465332] [NEW] Disable IPv6 in kernel generate error in Ufw 0.33.3

 

Public bug reported:

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_LINUX_DEFAULT of /etc/default/grub

ufw status/enable
Traceback (most recent call last):
  File "/usr/bin/ufw", line 95, in <module>
    ui = ufw.frontend.UFWFrontend(pr.dryrun)
  File "/usr/lib/python2.7/site-packages/ufw/frontend.py", line 153, in __init__
    self.backend = UFWBackendIptables(dryrun)
  File "/usr/lib/python2.7/site-packages/ufw/backend_iptables.py", line 45, in __init__
    ufw.backend.UFWBackend.__init__(self, "iptables", dryrun, files)
  File "/usr/lib/python2.7/site-packages/ufw/backend.py", line 88, in __init__
    nf_caps = ufw.util.get_netfilter_capabilities(self.ip6tables)
  File "/usr/lib/python2.7/site-packages/ufw/util.py", line 734, in get_netfilter_capabilities
    raise OSError(errno.ENOENT, out)
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.d/40-ipv6.conf all work OK.
# Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1

Greetings

** Affects: ufw (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ufw in Ubuntu.
https://bugs.launchpad.net/bugs/1465332

Title:
  Disable IPv6 in kernel generate error in Ufw 0.33.3

Status in ufw package in Ubuntu:
  New

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_LINUX_DEFAULT of /etc/default/grub

  ufw status/enable
  Traceback (most recent call last):
    File "/usr/bin/ufw", line 95, in <module>
      ui = ufw.frontend.UFWFrontend(pr.dryrun)
    File "/usr/lib/python2.7/site-packages/ufw/frontend.py", line 153, in __init__
      self.backend = UFWBackendIptables(dryrun)
    File "/usr/lib/python2.7/site-packages/ufw/backend_iptables.py", line 45, in __init__
      ufw.backend.UFWBackend.__init__(self, "iptables", dryrun, files)
    File "/usr/lib/python2.7/site-packages/ufw/backend.py", line 88, in __init__
      nf_caps = ufw.util.get_netfilter_capabilities(self.ip6tables)
    File "/usr/lib/python2.7/site-packages/ufw/util.py", line 734, in get_netfilter_capabilities
      raise OSError(errno.ENOENT, out)
  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.d/40-ipv6.conf all work OK.
  # Disable IPv6
  net.ipv6.conf.all.disable_ipv6 = 1

  Greetings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1465332/+subscriptions


Follow ups

References