On 04.04.2011 23:21, Taylor R Campbell wrote:
>    Date: Sun, 3 Apr 2011 23:21:39 +0000
>    From: "Jean-Yves Migeon" <j...@netbsd.org>
> 
>    Now that pkgsrc-2011Q1 has arrived, and before -6 chimes in, change
>    ifxname for xvif(4) from xvif%d.%d to xvif%d-%d. This is needed
>    to avoid sysctl(9) EINVAL errors when creating interface nodes.
> 
> This change came awfully close to fixing PR misc/39376 too...
> 
> (Hyphens may be valid in sysctl nodes while dots are not, but neither
> hyphens nor dots are valid in sh variables, for /etc/rc.d/network's
> ifconfig_ifN.)

Good catch; I missed it...

The newer scripts for Xen read the interface value from the vifname
entry in Xenstore, so changing the name is not that critical. But this
should be stabilized sooner than later. Personally, I find '_' rather
ugly in an interface name... but I am open to suggestions, even fixing
rc.d/network if it needs to.

-- 
Jean-Yves Migeon
jeanyves.mig...@free.fr

Reply via email to