[syslog-ng] [PATCH 0/3] WIP: Convert syslog-ng to use upstream ivykis

Gergely Nagy algernon at balabit.hu
Mon May 14 17:50:20 CEST 2012


Lennert Buytenhek <buytenh at wantstofly.org> writes:

> What you argue for is basically that, so I think we're in
> agreement.

Yep, we are!

>> And that's the only two cases syslog-ng supports, and what anyone would
>> normally support, imo. Statically linking a dlopened module to a library
>> the main lib/binary is linked to will almost always result in
>> compatibility issues, as that would potentially allow for things like
>> syslog-ng linked with ivykis version Y, dlopening a module linked to
>> ivykis version X. All hell would break loose.
>>
>> It's probably better to abort right at the beginning, as a sign that
>> someone somewhere did some bad linkage.
>
> (Wouldn't symbol versioning help there, too?)

Mmm.. Perhaps. It would make it less of an issue. But it's easier to
avoid it altogether, and not link ivykis into both the main and the
dlopened object, just one of them.

-- 
|8]



More information about the syslog-ng mailing list