Excerpts from Stéphane Graber's message of 2012-06-28 20:49:20 UTC:
> I vaguely remember discussing that on IRC already, but there it's again
> anyway ;)
> 
> I don't agree that we should start dhclient in the background on failure
> to get an IP, that sounds wrong and will prevent any of the ifupdown
> scripts from running properly, not to mention confuse ifupdown regarding
> the state of the interface.
> 
> What I did fix last cycle with a change to isc-dhcp is the case where
> you boot with a working dhcp config and then your dhcp server dies for a
> few days. In the past, dhclient would exit and you'd never get an IP
> again, now that's fixed and dhclient will never exit once it
> successfully gets a first lease.
> 
> In your weird setup, I see two obvious options:
>  - Go with static addressing
>  - Go with a manual interface entry calling "dhclient $INTERFACE" as post-up
> 
> I'm going to mark it as won't fix based on that, if you don't agree,
> feel free to revert or poke me on IRC :)

While we may have fixed other bugs by not running if-up.d scripts
improperly, this does not address the regression introduced. Users could
be sure that if they plugged in an unplugged interface marked as dhcp, it
would acquire an address and bring up the interface (at least partially,
without the if-up.d scripts running.

I'm suggesting that dhclient needs some kind of "callback" for when it
acquires an address, and that should kick off the rest of the if-up.d
process.

Its not easy to fix, but that doesn't mean we shouldn't at least entertain
the idea of making it work.

If we decide to let the regression stand, perhaps we should document
that change? How do we do that in releases past? Can we add it to
oneiric/precise release notes?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1017166

Title:
  Unplugged or deactivated ethernet interfaces may not be handled
  properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1017166/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to