[Linux-ha-dev] IPaddr2 gives a spurious warning on stop
Alan Robertson
alanr at unix.sh
Wed Mar 7 13:52:56 MST 2007
Lars Marowsky-Bree wrote:
> On 2007-03-06T20:19:54, Alan Robertson <alanr at unix.sh> wrote:
>
>> I'm currently rewriting IPaddr* and their interface to findif. Someone
>> really broke it in converting them to R2. Don't know why no one has
>> complained about them before.
>
> What's broken? Any critical issues?
The parsing of options only works if you always specify the options in a
sort of undocumented hierarchy order. In R1, this might have existed,
but it was more obvious.
And, in the process of trying but failing to fix this, the parsing in
findif was made more complicated (and incorrect).
Describing exactly what the broken code will do in various circumstances
is hard - but trust me it's broken.
A simple example:
If I specify an IP address and an interface ONLY, it won't work - even
though findif is designed to work nicely in that case.
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
More information about the Linux-HA-Dev
mailing list