Comment 5 for bug 2065037

Revision history for this message
Benjamin Drung (bdrung) wrote :

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?