Hello,

On Sun, 25 Mar 2012 23:25:46 +0200
Mats Erik Andersson <mats.anders...@gisladisker.se> wrote:

> I need to point to three reasons why ifupdown fails for GNU/kFreeBSD.

> 1) Version 0.7~beta2 fails to build for kfreebsd, which 0.7~beta1
> does.

As far as I remember, indeed, beta2 didn't have tests updated, so
nocheck should help with that.

> 2) ifupdown consistently finalises its tasks by running

>       route -n

>    be it for IPv4, or IPv6. This is a GNU-ism, which is illegal for
> BSD and Solaris, where the correct invokations are

There isn't such a call in ifupdown. Please track it down and file a
bug against an appropriate package.

> 3) The call sequence for IPv6 is erroneous on GNU/kFreeBSD. The patch
> below is able to raise static IPv6 and to close IPv6, but not to
> idempotently raise IPv6 immediately again. I will explain the
> important reasons.

>    Of reasons unknown to me, "ifupdown.nw" accepted a text "route -n
> del ...", but it never get to be run in practice, even without
> "[[  ]]".

Can't confirm, works here.

>    This must be done before the implementation can be fully
> functional, but the patch below contains the native commands for
> raising and closing once.

Thanks for pointing that route vs /lib/freebsd/route issue, forgot to
change it for IPv6.

>     [[ ifconfig %iface% inet6 %address% -alias ]]

> never caused any execution. Running with a null-command, i.e., neither
> "add", nor "alias", does instantiate a first address though, which can
> be overwritten by the next similar call.

Again, can't confirm.

Anyway, beta2 had one more problem which would prevent some things from
functioning normally. rc1 should be available very soon which is going
to have these and other issues fixed, so please test it. Or,
alternatively, you can try this version:
http://anonscm.debian.org/hg/collab-maint/ifupdown/archive/56f2da3d7e9b.tar.bz2

Thanks for you help,

-- 
WBR, Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to