Re: [PATCH] [40network] Fix ifup.sh to always execute initqueue/online hook after bringing up an interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2013-04-11 at 18:13 +0200, Dennis Schridde wrote:
> Am Donnerstag, 11. April 2013, 17:44:08 schrieb Harald Hoyer:
> > IIRC, that is done, as soon as the dhcp client gets an IP

Technically it doesn't happen *immediately* - it adds a job to the
initqueue, and that job will run the initqueue/online hook.

> These patches are already a few months old, so dracut's behaviour may very 
> well have changed in the meantime. Where does what you describe happen?

See 40network/dhclient-script.sh - when $reason is BOUND (i.e. initial
binding to a new address, as per dhclient-script(8)), it adds a job
named "setup_net_$netif.sh" to the initqueue.

Hope that helps,

-w

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux