On 2009-09-16 18:18, Lars Marowsky-Bree wrote:
> On 2009-09-15T15:30:14, Florian Haas <[email protected]> wrote:
> 
>> No one seems to have acted on this when it was first posted, but we just
>> discussed this on #linux-ha, and Lars and Dejan were kind enough to
>> offer an explanation:
> 
> Why is this cross-posted over 3 lists? One would suffice. Ah well.

Misch posted it on linux-ha, it belongs in linux-ha-dev, and just in
case I'm wrong and it's in fact Pacemaker related, then Andrew is most
likely to read it quickest on pacemaker. That's all. It may be a
heuristic too crude for Your Excellency, but it worked for me. :)

>> This appears to be the case on any system where libnet (on Debian,
>> libnet1-dev) is not available *at compile time*. The obvious workaround,
>> per Lars' and Dejan's suggestion, is to compile resource-agents on a
>> system with libnet installed.
> 
> No, the right solution would be to fix the stand-alone send_arp and drop
> the libnet dependency (libnet is not exactly well maintained), and be
> rid of the distinction between the two.

See, that's why I referred to a "workaround", rather than a "solution".

> The send_arp.linux.c code file has different semantics than
> send_arp.libnet.c (I doubt it was ever tested), and can do way more than
> we need, but at the same, can't do a few things we want (like sending
> both ARP types at once, backgrounding, etc).
> 
> A simple 7 step plan if someone feels like coding a bit of C:
> 
> 1. rm -f send_arp.linux.c
> 2. mv send_arp.libnet.c send_arp.c
> 3. vi send_arp.c
> 4. s/libnet calls/standalone calls/
> 5. fix build
> 6. compile
> 7. ship
> 
> Patches welcome ;-)
> 
>> Andrew -- assuming you are building packages for RHEL on CentOS, can you
>> make sure you pull libnet into the build environment?
> 
> RHEL packages get build on RHEL, not on CentOS.
>
> FWIW, this also affects IPaddr.

Tough luck then. Time to prod the CentOS clustering folks. Fabian?

Cheers,
Florian

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to