Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104280 - sysctl set /proc system before udev rename the interfaces
Summary: sysctl set /proc system before udev rename the interfaces
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: 104535
  Show dependency tree
Reported: 2005-08-30 09:28 UTC by Matteo Contri
Modified: 2005-10-30 02:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Contri 2005-08-30 09:28:10 UTC
Sorry. I'm very newbie to the system, so don't blame me!
I renamed all my interfaces on my Gentoo box with simply rule in /etc/udev, then
i would enable proxy_arp only for interface named "pub0", so i put it with the
correct value in /etc/sysctl.conf
I rebooted, but i found that sysctl is launched before udev renaming then my
proxy_arp didn't work as i'm expected.


Reproducible: Always
Steps to Reproduce:
1. rename the interfaces with udev rules in /etc/udev
2. set a features with sysctl.conf for specific interface
3. reboot

Actual Results:  
It's not so drammatic bug. I simply add sysctl -p -q on /etc/conf.d/local.start
Comment 1 SpanKY gentoo-dev 2005-08-30 10:42:25 UTC

sysctl is run long after udev is started

sysctl simply sets values in /proc/sys/net/ so something else is likely going on
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-09-01 23:02:23 UTC
Yeah, sysctl happens _way_ after udev runs at startup.

What is probably happening is your module is getting loaded for your device,
and that is racing with the sysctl stuff, right?

Comment 3 SpanKY gentoo-dev 2005-10-26 11:25:20 UTC
get back to us
Comment 4 Matteo Contri 2005-10-30 02:01:26 UTC
Sorry guys, but i completely forget this issue!
I cannot test anymore on the machine because now is on production: it's a lovely
outgoing load balancer...
But i tried with my workstation.
Greg Kroah-Hartman was right, the problem is that the configuration for the
device was create by the kernel when the interface goes up (then at network
initialization) but the sysctl was already started.

Now i know a little bit more of Linux... and thank you Gentoo devs!