From owner-freebsd-stable@freebsd.org Sat May 28 11:54:49 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF6F7B4DC5C for ; Sat, 28 May 2016 11:54:49 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C00F319E6 for ; Sat, 28 May 2016 11:54:49 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id BB4D0B4DC5B; Sat, 28 May 2016 11:54:49 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAF64B4DC59 for ; Sat, 28 May 2016 11:54:49 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8222B19E5 for ; Sat, 28 May 2016 11:54:49 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1b6cpK-000Jzq-Ll for stable@freebsd.org; Sat, 28 May 2016 14:54:46 +0300 Date: Sat, 28 May 2016 14:54:46 +0300 From: Slawa Olhovchenkov To: stable@freebsd.org Subject: Misinterop between bsdinstall and /etc/rc.d/netif Message-ID: <20160528115446.GF39874@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 11:54:49 -0000 I am setup new system with two interface card -- em0 and em1. Connected and configured only em1, set static address via bsdinstall at install time. Connected network equipment pass traffic after some delay after if up. After boot /etc/rc.d/netif print 'Starting Networks: lo0 em0' w/o em1. And print dummy output of ifconfig only for em0 (and nothing for em1). As result some services at boot time can't functional properly -- for example, ypbind can't resolve nis server address and switch to broadcast mode, nfs stuck at boot. Setting `ifconfig_em0=NOAUTO` resolve this. What need to fix? bsdinstall to set all unused interfaces to NOAUTO? Or /etc/rc.d/netif to not stop at first not configured interface?