Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 20:59:01 +0800
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        Remko Lodder <remko@elvandar.org>
Cc:        FreeBSD-Net mailing list <freebsd-net@FreeBSD.org>, Brooks Davis <brooks@FreeBSD.org>, "Bruce M. Simpson" <bms@FreeBSD.org>, Miroslav Lachman <000.fbsd@quip.cz>
Subject:   Re: 7.0 - ifconfig create is not working as expected?
Message-ID:  <20080330125901.GD57135@svzserv.kemerovo.su>
In-Reply-To: <9C5282E0-B44F-4A07-A606-1783D7725B5A@elvandar.org>
References:  <47EE42C8.3070100@quip.cz> <20080329204344.GA66910@lor.one-eyed-alien.net> <20080330072137.GA35435@svzserv.kemerovo.su> <47EF69F0.1050304@FreeBSD.org> <20080330104525.GA57135@svzserv.kemerovo.su> <9C5282E0-B44F-4A07-A606-1783D7725B5A@elvandar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 30, 2008 at 01:14:36PM +0200, Remko Lodder wrote:

> >It worked. Now it does not work. Someone(tm) made the change.
> >We have the CVS. Isn't there such thing as responsibility for changes?
> >A dichotomy will show us who did the change :-)
> 
> Given that the idea is that we dont expect to get to this anytime  
> soon, we welcome the person who does the analysis for us so that we  
> might be able to fix this quicker (if possible with all the changes  
> involved).

Let's take a look to ifconfig(8) manual page:

SYNOPSIS
ifconfig [-L] [-k] [-m] [-n] interface [create] [address_family] [address
              [dest_address]] [parameters]

It states that "create" word may be used with address family,
adresses and other paramerets in line. Now there is design problem brought
into ifconfig code with sam's commit 2006/07/09. Current code
defers device cloning using callback facility because vlan creation
procedure needs to gather vlan tag and parent device parameners before.

However, it means that "create inet" or "create tunnel" clauses
now became incorrect. So this change broke things and should be corrected.
Basically, it broke all setups for sake of vlan processing.
It seems that vlans should be processed as special case leaving
all other cases in peace.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080330125901.GD57135>