Hi,
As suggested by Nathan I have had a look at his patches for implementing the
update path from pmdadmcache to pmdadm and implemented the changes. The
updates have been tested on and work correctly for me on RHEL 6, Fedora
and Ubuntu 14.04.
There was a small bug in rc_pmcd with _pmda_enact() where we would change
from PCP_PMDA_DIR when running the current action and not revert back to the
directory (which was expected by _pmda_setup()) for moving to the next
_pmda_enact() action.
Changes committed to git://github.com/pauljevans/pcp.git master
build/rpm/pcp.spec.in | 11 +++++++++++
debian/pcp.postinst.tail | 11 +++++++++++
src/pmcd/rc_pmcd | 2 ++
3 files changed, 24 insertions(+)
commit 56b0a446db3f063bf1fb9d00cc8e6de4cb533ad2
Author: Paul Evans <pevans@xxxxxxxxxx>
Date: Fri Apr 10 16:00:19 2015 +0100
pcp: Fix current directory location issue in _pmda_setup() when
leaving enact
"Remove" and moving to enact "Install".
commit 6611297e70e111e07c65ef979bbc839dcabb5464
Author: Paul Evans <pevans@xxxxxxxxxx>
Date: Fri Apr 10 15:59:56 2015 +0100
pcp: Ensure that older pmdadmcache is removed and newer replacement
pmdadm is
installed as a replacement when updating release.
Cheers,
Paul
|