← Back to team overview

kernel-packages team mailing list archive

[Bug 997605] Re: Disabling IPv6 autoconfiguration in sysctl.conf doesn't affect boot process


Gabriele Tozzi, would the following placed in sysctl.conf achieve the intended objective:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Stéphane Graber, could you please provide a URL to the upstream
maintainer discussion you referred to in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/997605/comments/2 ?

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Disabling IPv6 autoconfiguration in sysctl.conf doesn't affect boot

Status in “linux” package in Ubuntu:

Bug description:
  When you put the following lines in sysctl.conf

  net.ipv6.conf.all.autoconf = 0
  net.ipv6.conf.all.accept_ra = 0

  the expeced result is to disable IPv6 autoconfiguration at bootup,
  but, actually, it does nothing, because sysctl.conf network settings
  are applied after network has been started.

  So what happens:
  1. Network interfaces are started by /etc/init.d/networking
  1a. IPv6 uses autocnfiguratin, because it is enabled at this point
  2. Sysctl.conf settings are applied by /etc/init/procps.conf

  I don't know if there is an easy solution, because inverting order
  things are called could break something else.

To manage notifications about this bug go to: