måndag den 26 mars 2012 klockan 00:34 skrev Andrew Shadura detta: > 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.
Snapshot 56f2da3d7e9b fails at test three: Testcase 3: -a --- tests/up.3 2012-04-02 22:15:33.740548443 +0200 +++ tests/up-res.3 2012-04-02 22:15:33.781549464 +0200 @@ -10,7 +10,7 @@ Configuring interface eth0=eth0 (inet6) run-parts --exit-on-error --verbose /etc/network/if-pre-up.d ifconfig eth0 up -ifconfig eth0 inet6 3ffe:ffff:100:f101::1/64 +ifconfig eth0 inet6 3ffe:ffff:100:f101::1/64 alias run-parts --exit-on-error --verbose /etc/network/if-up.d run-parts --exit-on-error --verbose /etc/network/if-up.d (failed) It seems to me that the test description has not been updated with the required "alias" command. > > > 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. There for sure is something in ifup(8) and ifdown(8) that triggers "route -n", in fact at every completiion of "inet" and then again at completion of "inet6": Use the following wrapper to see for yourself. $ mv /lib/freebsd/route{,.orig} $ cat <<EOF > /lib/freebsd/route #!/bin/sh echo >&2 $0 $@ /lib/freebsd/route.orig "$@" EOF $ chmod a+x /lib/freebsd/route With this wrapper you will observe "route -n" being called by ifup(8), but I have no clue at all where this arifact arises. > 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 Best regards, Mats E A -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org