[2012-06-09 13:27] Andrew Shadura <bugzi...@tut.by> > On Sat, 9 Jun 2012 11:13:09 +0100 > Raf Czlonka <rafal.czlo...@gmail.com> wrote: > > > Also, since IFACE is not declared anywhere in the script and by > > testing I found out that is being passed from if{up,down} as no > > matter which /etc/network/ip-up.d/ script I put "echo $IFACE" > > I get "--all" after running "ifup -a". > > Of course, because it should be there.
> > I guess IFACE shouldn't hold "--all" in the first place since a lot of > > scripts in the above location rely on it holding only an interface's > > name or all the scripts should be corrected not to use $IFACE. > > No, it should. Scripts should not rely on IFACE without also checking > ADDRFAM or METHOD, as it may have nothing in common with a real > interface name. > > > I'm getting more and more confused to be honest and am not sure which > > behaviour is correct, "--all" being passed in IFACE by ifupdown > > (can someone more knowledgeable correct me if I'm wrong here) or > > scripts assuming the usage of $IFACE to be only a single interface > > name. > > IFACE can be used only when you're sure it holds what you expect it to > hold. If you expect a name of iface ... inet stanza, you should also > check ADDRFAM for "inet". If you probably expect inet6 things too, you > should check ADDRFAM for it as well. Can we conclude that there is an issue that should be solved, but it is not related to masqmail anymore? (Well, at least as soon as the new package is uploaded.) meillo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org