Hi Paul,
Thanks for looking into this!
----- Original Message -----
> Changes committed to git://github.com/pauljevans/pcp.git dev
>
> man/man1/pmdagfs2.1 | 4 ++++
> src/pmdas/gfs2/Install | 26 +++++++++++++++++---------
> src/pmdas/gfs2/README | 7 +++++++
> 3 files changed, 28 insertions(+), 9 deletions(-)
>
> commit afe3cd4ff009baebe4b011b340614ab436bd4393
> Author: Paul Evans <pevans@xxxxxxxxxx>
> Date: Fri Feb 7 11:32:26 2014 +0000
>
> pmdagfs2: Update install script to check for pmcd before install
>
I'm not sure this is the best spot to tackle the problem as this
issue affects all PMDA install scripts (gfs2 was just an unlucky
victim here). I'd begun to look into this yesterday, but got
distracted before finishing up - sorry 'bout that!
The attached patch is where I was at - it looks to see if the
root namespace file exists before attempting to add the new sub
tree, and if not, Rebuilds it and flags pmcd to be started later
on. I've not tested it though, and its something that needs a
few more eyes on it (affects every PMDA install). If you could
look over it and give it a whirl, that'd be much appreciated.
cheers.
--
Nathan
pmdaproc.patch
Description: Text Data
|