[kernel-bugs] [Bug 1173402] Kernel delays boot by 12s if ip= option given
https://bugzilla.suse.com/show_bug.cgi?id=1173402
https://bugzilla.suse.com/show_bug.cgi?id=1173402#c10
--- Comment #10 from Thomas Blume
"$NO_AUTO_DHCP" is only set in special cases and /tmp/net.${netif}.up shouldn't have been written either since that is done in the for loop. In this case it should go down to:
--< if [ $? -eq 0 ] && [ -z "$(ls /tmp/leaseinfo.${netif}*)" ]; then > /tmp/net.${netif}.did-setup if [ -e /sys/class/net/${netif}/address ]; then > /tmp/net.$(cat /sys/class/net/${netif}/address).did-setup fi fi --<
According to the logs it is the presence of the leaseinfo file that prevents the writing of did-setup: --> [ 10.385337] dracut-initqueue[419]: ++ ls /tmp/leaseinfo.ens3.dhcp.ipv4 [ 10.385969] dracut-initqueue[364]: + '[' -z /tmp/leaseinfo.ens3.dhcp.ipv4 ']' [ 10.386677] dracut-initqueue[364]: + exit 0 --< leasinfo is created by wicked, so that looks correct: --> [ 3.808884] dracut-initqueue[364]: + wicked test dhcp4 --format leaseinfo --output /tmp/leaseinfo.ens3.dhcp.ipv4 --request - ens3 [ 3.810522] dracut-initqueue[404]: wicked: ens3: Request to acquire DHCPv4 lease with UUID bab7fd5e-1e18-0500-9401-000001000000 [ 10.316896] dracut-initqueue[404]: wicked: ens3: Committed DHCPv4 lease with address 10.160.66.28 (lease time 1800 sec, renew in 900 sec, rebind in 1575 sec) [ 10.337314] dracut-initqueue[364]: + dhcp_wicked_apply -4 [ 10.338395] dracut-initqueue[364]: + unset IPADDR INTERFACE BROADCAST NETWORK PREFIXLEN ROUTES GATEWAYS MTU HOSTNAME DNSDOMAIN DNSSEARCH DNSSERVERS [ 10.341019] dracut-initqueue[364]: + '[' -f /tmp/leaseinfo.ens3.dhcp.ipv4 ']' [ 10.342144] dracut-initqueue[364]: + . /tmp/leaseinfo.ens3.dhcp.ipv4 --< which makes me wonder whether the -z in the test is correct. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com