From owner-freebsd-net@FreeBSD.ORG Fri Sep 8 17:28:54 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374CE16A4ED; Fri, 8 Sep 2006 17:28:54 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FA4143D46; Fri, 8 Sep 2006 17:28:53 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k88HSpMg027424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Sep 2006 21:28:52 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k88HSpvB027423; Fri, 8 Sep 2006 21:28:51 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 8 Sep 2006 21:28:51 +0400 From: Gleb Smirnoff To: Denis Peplin Message-ID: <20060908172851.GM40020@FreeBSD.org> Mail-Followup-To: Gleb Smirnoff , Denis Peplin , freebsd-net@freebsd.org References: <45011B31.1080103@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <45011B31.1080103@FreeBSD.org> User-Agent: Mutt/1.5.6i Cc: freebsd-net@FreeBSD.org Subject: Re: ng_ether and interface naming (bug or feature?) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:28:54 -0000 On Fri, Sep 08, 2006 at 11:26:41AM +0400, Denis Peplin wrote: D> I have found, that changing interface names from rc.conf D> can break ng_ether when it loaded from loader.conf or D> compiled into kernel. D> D> For example, when mpd is used as PPPoE server, rc.conf D> contain ifconfig_fxp0_name="net1" and /boot/loader.conf D> contain ng_ether_load="YES", the mpd logs: D> D> exec: /sbin/ifconfig net1 up D> Cannot send a netgraph message: net1::No such file or directory D> Error in creation ng_pppoe node on net1: D> D> There only two workarounds: avoid using interface naming, or D> loading ng_ether after renaming interfaces. D> D> Is this a bug or a feature, that just wait somebody to document it? This is probably a bug, not a feature. We have several PRs about this. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE