[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#927725: Please build with --enable-mmdblookup



Am 23.04.19 um 10:32 schrieb Michael Biebl:
> Am 22.04.19 um 03:11 schrieb Dmitry Smirnov:
>> Source: rsyslog
>> Version: 8.1901.0-1
>> Severity: wishlist
>>
>> https://www.rsyslog.com/doc/v8-stable/configuration/modules/mmdblookup.html
>>
>> Enabling "mmdblookup" requires adding "libmaxminddb-dev" to Build-Depends.
> 
> This will add a runtime dependency on libmaxminddb0 and I'm not sure
> everyone will be happy with that as this is a rather uncommonly used
> library and thus not installed by default.
> Splitting out this tiny module seems like a lot of overhead.

My main concern is to keep the rsyslog core package reasonably small
(dependency wise).

Up until now, I've split modules with larger dependencies into separate
subpackages, mostly the ones which target specific database backends,
like rsyslog-mysql, rsyslog-pgsql etc [1].

But splitting each tiny module into a separate package adds significant
overhead packaging-wise.

If I take rsyslog-relp as an example, the actual .so is around 76K, the
packaging meta data, 270K.

Maybe a middle ground would be to build a rsyslog-extras binary package
which contains all sorts of modules which have additional
library/runtime dependencies that I don't want to pull into the rsyslog
package or are less well tested/maintained upstream.

Maybe it would even make sense to fold rsyslog-relp, rsyslog-gnutls and
rsyslog-gssapi into this rsyslog-extras package.
The binaries packages which target specific databases I would probably
keep as separate binary packages.
But e.g. this module (mmdblookup) would be a candiate for such a
rsyslog-extras package.

Not quite sure what users of rsyslog would want regarding the
granularity of the packaging, i.e. if they'd be happy with such a single
rsyslog-extras package, if they actually wouldn't mind if such modules
would be added to the rsyslog binary package itself (and the additional
 runtime dependencies), or if they'd prefer separate binary packages for
each module if it has additional runtime dependencies.

Seeking for input on debian-devel.

Regards,
Michael


[1] https://tracker.debian.org/pkg/rsyslog
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: