Cockpit dependency on PCP without Avahi

Frank Ch. Eigler fche at redhat.com
Thu Dec 4 15:22:02 UTC 2014


Hi, Stef -

> We're working on using PCP to load server resource metrics in Cockpit.

Nice.

> Is it possible to build pcp-libs without libavahi? It seems an odd
> feature for such a low level library to have ... as opposed to higher
> level PCP tools ... where dynamic discovery is interesting.

The discovery functionality is within libpcp because that is a
convenient place for present and future pcp clients to share code.


> [...]  Can we have /usr/lib64/libpcp.so without an Avahi dependency?
> Or should we treat PCP as an optional dependency of Cockpit and
> structure our code so that PCP is more of an add-on, used when
> available?

Can we dig a little deeper?  avahi-libs by itself is tiny (<200K); is
its "Require: avahi" part the only problematic aspect?  In Fedora20+
that's already gone (BZ913168); maybe that simply needs to be
backported to RHEL*.


- FChE


More information about the cockpit-devel mailing list