[pcp] pcp updates: pmwebd security, pmdaroot, libpcp, qa

Frank Ch. Eigler fche at redhat.com
Wed Nov 11 06:26:14 CST 2015


Hi -

> [...]
>       libpcp: allow exclusive socket flag to be passed via hostspec too

Can we discuss this PM_CTXFLAG_EXCLUSIVE idea?  How is a pmapi user
supposed to know whether it should be used?  They have no idea how
libpcp decides to share sockets to pmcd.  They have no idea what the
implications of sharing are, in terms of which pmapi operations are
affected intuitively or counterintuitively.  Even if they did, socket
sharing is supposed to be a transparent optimization, beneath the api
level.

If socket sharing is not working right, let's disable it or fix it,
not expose its mysteries to the user.  It is an api design mistake to
make users cargo-cult a workaround around problems even we don't seem
to understand.


- FChE



More information about the pcp mailing list