Page MenuHomeFreeBSD

bsdinstall(8): kill dhclient before trying to get an IP
ClosedPublic

Authored by will_worrbase.com on Mar 3 2018, 8:26 AM.

Details

Summary

kill dhclient before starting a new instance

Currently, if you're re-routed to the beginning of the install process or to the
beginning of the netconfig process, subsequent attempts to configure via
dhclient will fail as dhclient is already running.

Since there are many ways to get into this state, we should kill any dhclients
prior to configuring the primary interface with dhcp.

Test Plan

Tested by getting redirected to beginning of install process and
re-entering the netconfig portion

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

allanjude accepted this revision.Sat, Jul 11, 3:29 PM
This revision is now accepted and ready to land.Sat, Jul 11, 3:29 PM
This revision was automatically updated to reflect the committed changes.