Hello,

On Thu, 02 Feb 2012 20:03:11 +0100
Marcus Moeller <[email protected]> wrote:

> Normally dhclient is sent to bg and exit 0 during boot to speed up boot time.
> The problem is that it takes up to 8 seconds to obtain an ip address in our
> network and so services like nslcd do not have a fully configured network
> during startup. It would be great to have an option to force dhclient to be
> run if fg, in order to prevent the other services to be started before
> network is up.

Not sure it's a good idea. Currently, dchlient runs in foreground until it gets
a lease or times out. If we make it to run in foreground indefinitely, this
would block boot-up process, for example. That can be made an option for people
who know what they're doing, but I'd not dare enable it by default.

Good option would be running it in foreground without marking the interface
up but allowing system to boot, but that requires serious changes to ifupdown,
and I think that's not going to happen before the release.

-- 
WBR, Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to