Thanks. Next iteration. Here is the updated logging function:
```
log_flags() {
echo "*******************"
for device in /sys/class/net/*; do
if [ ! -f "${device}/flags" ]; then
echo "*** ${device}/flags missing"
continue
fi
flags="$(cat "${device}/flags")"
echo "*** ${device}/flags = $flags";
if [ "$((flags & 1))" -ne 0 ]; then
printf "*** ${device}/carrier = "
cat "${device}/carrier"
fi;
done
}
```
Can you call log_flags before and after the _set_available_devices_to_up
call and also directly before the dhcpcd call?
Once you collected the logs, can you add a "wait_for_udev 10" call after
the _set_available_devices_to_up and collect the logs again?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065037
Title:
dhcpcd is called before interfaces have carrier causing a 29 seconds
boot delay
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2065037/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs