Hi,
Changes committed to git://git.pcp.io/lberk/pcp master
Lukas Berk (2):
Call Remove script when uninstalling single pmda's
rpm packaging: tweak pmda_remove macro
build/rpm/GNUmakefile | 1
build/rpm/fedora.spec | 185 +++++++++++++++++++++++++++++++++++++++++++++
build/rpm/pcp.spec.in | 203 +++++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 385 insertions(+), 4 deletions(-)
Details ...
commit b384ce011813069a6168d1e05017fd0e9ff3acae
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Fri Feb 5 14:33:58 2016 -0500
rpm packaging: tweak pmda_remove macro
the second 'cd' invocation wasn't needed however, was hiding the
errornous return value from the Remove invocation in cases where
the pmda had not been installed (and not created a domain.h file, which
pmdaSetup failed on, we now check for this file), as well as cases
after the main pcp package (containing pmcd and its config files) had
been removed.
commit 258368d3bcc4354fba6b0d70316979b9b9558c73
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Thu Feb 4 21:09:31 2016 -0500
Call Remove script when uninstalling single pmda's
With the current sub-rpm per pmda setup. When an enabled pmda is
removed via rpm -e, pmcd.conf still contains the pmda line, and will
attempt (and fail) to restart the pmda on a pmcd restart.
Thus, adding a global pmda_remove macro to run the Remove script of a
pmda sub-rpm as it's erased.
RedHat BZ1304722
|