pcp
[Top] [All Lists]

pcp updates: upgrade path fixes

To: Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Subject: pcp updates: upgrade path fixes
From: Paul Evans <pevans@xxxxxxxxxx>
Date: Fri, 10 Apr 2015 16:19:12 +0100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
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

<Prev in Thread] Current Thread [Next in Thread>