[Bug 803739] Re: value set in /etc/sysctl.conf not used at boot time
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Thu Jan 19 15:26:33 UTC 2012
I think what you're really running into is that wlan0 comes up after the
sysctls are applied. Using net.ipv6.conf.all.use_tempaddr should fix
this in Precise now for devices that existed prior to the sysctls being
applied, and net.ipv6.conf.default.use_tempaddr was already meant to
take care of the case of devices coming up after the sysctls are applied
(and things have been that was as far as I can remember).
As such, I'll close this as Fix Released because there is an easy
workaround for your case with clearly known devices on a system
(meaning, there was no bug, the sysctls can't be applied if the device
doesn't exist and we're running the sysctls are early and as late as
feasible); and where using the per-device sysctls and .default. would
work, and because we've started shipping Precise with .all and .default
set to =2 along with a kernel patch to allow .all to work properly.
** Changed in: procps (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/803739
Title:
value set in /etc/sysctl.conf not used at boot time
Status in “procps” package in Ubuntu:
Fix Released
Bug description:
This is at the bottom of my /etc/sysctl.conf
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.wlan0.use_tempaddr = 2
net.ipv6.conf.eth0.use_tempaddr = 2
net.ipv6.conf.eth1.use_tempaddr = 2
Yet, after a reboot:
$ sysctl net.ipv6.conf.wlan0.use_tempaddr
net.ipv6.conf.wlan0.use_tempaddr = 0
$ sysctl net.ipv6.conf.eth0.use_tempaddr
net.ipv6.conf.eth0.use_tempaddr = 2
then as root:
# sysctl net.ipv6.conf.wlan0.use_tempaddr=2
net.ipv6.conf.wlan0.use_tempaddr = 2
This is on Ubuntu 11.04 64 bit. This behaviour does not happen on
Ubuntu 10.10 32 bit.
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ apt-cache policy procps
procps:
Installed: 1:3.2.8-10ubuntu3
Candidate: 1:3.2.8-10ubuntu3
Version table:
*** 1:3.2.8-10ubuntu3 0
500 http://ca.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: procps 1:3.2.8-10ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Wed Jun 29 23:41:24 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: procps
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/803739/+subscriptions
More information about the foundations-bugs
mailing list