ifupdown-udev integration should be thought-out more thoroghly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ifupdown
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy ifupdown
ifupdown:
Installed: 0.6.8ubuntu19
Candidate: 0.6.8ubuntu19
Version table:
*** 0.6.8ubuntu19 0
500 http://
100 /var/lib/
0.6.8ubuntu12 0
500 http://
On my system I used Ubuntu 8.10 for some time, as well as earlier Ubuntu versions, starting probably from 7.04.
On this system I have server+router setup with pretty advanced options in '/etc/network/
Up to and including Ubuntu 8.10, everything in my setup worked well, probably due to the fact that 'ifup' was actually called in 'rcS.d/
After upgrade to Ubuntu 9.04, I found that 'ifup' is now called by 'udevd', very early in the boot process. Before filesystem check. Before the root is remounted rw. Before the 'resolvconf' initialized and its updates are allowed. So my nice network configuration, that I trusted to 'ifupdown' to handle for a long time, breaks. And it breaks in the middle of the way. I.e., what does not require storage in the filesystem, is still preformed. The iface is up, its address/
Anyway, commenting out the "add" line in "85-ifupdown.rules" have been an immensely helpful workaround in my case.
And even if my iface configs were simple enough, just want you to note another nice possibility of breakage :
In the same file, '85-ifupdown.
So as you see, upgrading from Ubuntu 8.10 to 9.04 happened to be a nice testcase for 'ifupdown'.
May be my information could be useful to you in further work on the package.
Lot of pain, yes, but the relief is possible :>
Related branches
Changed in ifupdown (Ubuntu): | |
assignee: | Scott James Remnant (scott) → nobody |
Changed in resolvconf (Ubuntu): | |
status: | New → Confirmed |
Changed in resolvconf (Ubuntu): | |
status: | Confirmed → Fix Committed |
Ubuntu has called ifup from a udev rule for pretty much every release, I'm not sure what changed between Ubuntu 8.10 and 9.04 that has caused your problem.
From the simplest perspective, yes, you have a very complex setup and it's likely not possible to run certain things before the filesystem is writable -- however the things you are doing should not rely on that.
As to the difference between /etc/network and /var/run/network - this is an Ubuntu/Debian difference. It sounds like some scripts are using the Debian /etc path, and need to be updated to use the Ubuntu path.
All-in-all you are experiencing a number of problems, and it would greatly help if you could explain in detail everything you have experienced. We can then get them filed as *separate* bugs that can be addressed.
Thanks