Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105525145
D35094.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D35094.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
--- a/usr.sbin/bsdinstall/scripts/netconfig_ipv4
+++ b/usr.sbin/bsdinstall/scripts/netconfig_ipv4
@@ -49,6 +49,9 @@
dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' --yesno 'Would you like to use DHCP to configure this interface?' 0 0
if [ $? -eq $DIALOG_OK ]; then
if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then
+ # XXX: get interface down otherwise after installation restart
+ # dhclient does not build a new resolv.conf (see PR262262).
+ ifconfig $INTERFACE down
ifconfig $INTERFACE up
dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0
err=$( pkill -F /var/run/dhclient/dhclient.${INTERFACE}.pid; dhclient $INTERFACE 2>&1 )
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 6:43 AM (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15467485
Default Alt Text
D35094.diff (794 B)
Attached To
Mode
D35094: bsdinstall netconfig_ipv4: Fix resolv.conf rebuild
Attached
Detach File
Event Timeline
Log In to Comment