CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2021/08/01 19:29:26
Modified files: distrib/miniroot: install.sub Log message: Leave resolv.conf to resolvd if it learned nameservers During install (not upgrade) the installer parses resolv.conf looking for nameservers, FQDN and domain information; it also prompts for nameservers if none were found. If DHCP is used and nameservers were found, resolv.conf gets recreated from scratch. Under dhclient(8) this was fine, but resolvd(8) persists learned proposals across such file modifications and resolv.conf will thus contain a mix between managed and manual entries -- stale duplicates which users have to remove manually. Do not touch resolv.conf anymore in case resolvd knows better and thus provide a clean file for installations. OK florian