[Bug 803739] Re: value set in /etc/sysctl.conf not used at boot time

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue Dec 6 03:33:42 UTC 2011


I can somewhat reproduce this on my system, except the device that comes
up early is (more expectedly than wlan0) eth0. All interfaces but that
one do get the right value set for use_tempaddr; and there seems to be
something fishy going on when setting these values in sysctl anyway:
net.ipv6.conf.all.use_tempaddr doesn't affect all the interfaces
directly as it seems it should, nor does it override the behaviour at
all.

I sent an email to linux-netdev regarding this matter:
http://marc.info/?l=linux-netdev&m=132285083905998&w=4

As a workaround I guess we might want to set some of these things in
initramfs (althought there are some cases where we want to not have an
initramfs, then we're still stuck), or somehow in udev; until this is
clarified and fixed in the kernel.

** Changed in: procps (Ubuntu)
       Status: New => Triaged

** Changed in: procps (Ubuntu)
   Importance: Undecided => Medium

-- 
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:
  Triaged

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