disable_ipv6 value in /etc/sysctl.conf not set at boot time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
(The following seems to impact Raring, which I believe is a regression from Precise where the following setup did successfully disable ipv6).
I have attempted to disable ipv6 by adding a bunch of configuration flags to the bottom of /etc/sysctl.conf:
# tail -n 4 /etc/sysctl.conf
net.
net.
net.
net.
However from a fresh reboot ipv6 is *enabled* on eth0. Perhaps this is because it is trying to be set before that interface has come up. But then shouldn't the all interface cover it? We can see the values currently set:
# for i in /proc/sys/
/proc/
/proc/
/proc/
/proc/
Starting up procps again does set the configuration to what I would have expected:
# service procps start
procps stop/waiting
# for i in /proc/sys/
/proc/
/proc/
/proc/
/proc/
How can I disable ipv6 at bootup time?
----
# uname -a
Linux salinas 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04
# apt-cache policy procps
procps:
Installed: 1:3.3.3-2ubuntu5
Candidate: 1:3.3.3-2ubuntu5
Version table:
*** 1:3.3.3-2ubuntu5 0
500 http://
100 /var/lib/
I believe this is some sort of race condition, because at least once now I've rebooted and observed the expected behavior (ipv6 was disabled). Perhaps this is a duplicate of #84537?