Due to possible timeouts inside netroot exceeding the usual udev
timeout limit, netroot should be called from inside the unsettled
initqueue.
ifup/dhclient should still remain inside udev because they should
be able to run in parallel and the dhcp-timeouts are udev
"compatible".
---
modules.d/40network/net-genrules.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/40network/net-genrules.sh
b/modules.d/40network/net-genrules.sh
index ba369cc..1332db2 100755
--- a/modules.d/40network/net-genrules.sh
+++ b/modules.d/40network/net-genrules.sh
@@ -39,5 +39,5 @@ fix_bootif() {
# Udev event 'online' only gets fired from ifup/dhclient-script.
# No special rules required
- printf 'ACTION=="online", SUBSYSTEM=="net", RUN+="/sbin/netroot
$env{INTERFACE}"\n'
+ printf 'ACTION=="online", SUBSYSTEM=="net", RUN+="/sbin/initqueue
--onetime /sbin/netroot $env{INTERFACE}"\n'
} > /etc/udev/rules.d/60-net.rules
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html