]> git.ipfire.org Git - thirdparty/dracut.git/commit
network-legacy/ifup: dhclient should be started in oneshot mode
authorLukas Nykryn <lnykryn@redhat.com>
Thu, 9 Jan 2020 09:49:52 +0000 (10:49 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 14 Jan 2020 08:16:48 +0000 (09:16 +0100)
commit2181c80c91f05bfae5e50de2f502e363b0219bae
tree65e91d3f41b7992832d7c30fc5b3c72e70aa54c2
parent212043f94dde1693d777e933945138747537f12f
network-legacy/ifup: dhclient should be started in oneshot mode

since we handle the retries explicitly via rd.net.dhcp.retry

Without -1 if user sets ip=dhcp6 and there is no dhcp on the network,
dhclient seems to wait indefinitely, ignoring rd.net.timeout.dhcp
modules.d/35network-legacy/ifup.sh