pcp
[Top] [All Lists]

pcp updates - pmie, qa and PCP_SYSCONF_DIR (new)

To: pcp@xxxxxxxxxxx
Subject: pcp updates - pmie, qa and PCP_SYSCONF_DIR (new)
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 21 Dec 2012 08:32:28 +1100
PCP_SYSCONF_DIR changes touch lots of files ... all of this passes QA
for me with Debian packaging.

I've made what I believe to be the correct RPM packaging changes, but I
cannot test these as all my RPM builds are still failing with the python
packaging issue I raised several weeks ago that remains unresolved.  So
it would be _really_ good to have these changes reviewed by those with a
vested interest in RPM packaging for PCP.

Cheers, Santa Ken.

Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 GNUmakefile                   |    1 
 INSTALL                       |    9 
 build/rpm/.gitignore          |    1 
 build/rpm/GNUmakefile         |   34 
 build/rpm/fedora.spec         |  529 -
 build/rpm/fedora.spec.head    |  271 
 build/rpm/fedora.spec.head.in |  271 
 build/rpm/fedora.spec.tail    |  275 
 build/rpm/pcp.spec.head       |  360 
 build/rpm/pcp.spec.head.in    |  360 
 build/rpm/pcp.spec.in         |  492 -
 build/rpm/pcp.spec.tail       |  148 
 build/tar/.gitignore          |    2 
 build/tar/GNUmakefile         |   10 
 build/tar/preinstall          |   41 
 build/tar/preinstall.head.in  |   22 
 build/tar/preinstall.tail     |   35 
 configure                     |15147 ++++++++++--------------------------------
 configure.in                  |   35 
 debian/.gitignore             |    2 
 debian/GNUmakefile            |   15 
 debian/cleanconfigs           |   71 
 debian/pcp.conffiles          |   11 
 debian/pcp.lintian            |    4 
 debian/pcp.preinst.head.in    |   14 
 debian/pcp.preinst.tail       |    7 
 man/man1/pcp.1                |    4 
 man/man1/pcpintro.1           |    2 
 man/man1/pmafm.1              |    6 
 man/man1/pmclient.1           |    2 
 man/man1/pmie.1               |    4 
 man/man1/pmie_check.1         |    4 
 man/man1/pmlogger.1           |   31 
 man/man1/pmlogger_daily.1     |   12 
 man/man1/pmnewlog.1           |    6 
 man/man1/pmstat.1             |    2 
 qa/019                        |   37 
 qa/019.linux.4                |  689 +
 qa/023                        |    2 
 qa/041                        |    2 
 qa/110                        |   11 
 qa/115                        |    2 
 qa/119                        |    2 
 qa/187                        |   15 
 qa/244                        |    2 
 qa/273                        |   32 
 qa/273.out.4                  | 1715 ++++
 qa/280                        |    2 
 qa/282.out.2.1                |   12 
 qa/282.out.4                  |    6 
 qa/282.out.pre-2.1            |   12 
 qa/294                        |    4 
 qa/294.out.1                  |    2 
 qa/294.out.2                  |    2 
 qa/340                        |    2 
 qa/427                        |    2 
 qa/504                        |    2 
 qa/507                        |    2 
 qa/516                        |   41 
 qa/516.out                    |   16 
 qa/517                        |  199 
 qa/517.out                    |   54 
 qa/check                      |    8 
 qa/common                     |    4 
 qa/common.check               |    4 
 qa/common.filter              |    1 
 qa/group                      |    8 
 src/include/pcp.conf.in       |   28 
 src/pcp/GNUmakefile           |    2 
 src/pcp/pcp.sh                |    3 
 src/pmcd/GNUmakefile          |    2 
 src/pmcd/rc_local             |    2 
 src/pmclient/GNUmakefile      |    2 
 src/pmdas/cisco/GNUmakefile   |    2 
 src/pmie/GNUmakefile          |    2 
 src/pmie/control              |    2 
 src/pmie/pmie_check.sh        |    2 
 src/pmie/src/dstruct.c        |   19 
 src/pmieconf/GNUmakefile      |    2 
 src/pmieconf/pmieconf.c       |    4 
 src/pmlogctl/GNUmakefile      |    2 
 src/pmlogctl/pmnewlog.sh      |    4 
 src/pmlogger/pmlogger.c       |    8 
 src/pmstat/GNUmakefile        |    2 
 84 files changed, 8433 insertions(+), 12787 deletions(-)

commit 8442aa6c5c727e7245f94db006d29288875090cd
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 08:22:13 2012 +1100

    PCP_SYSCONF_DIR changes
    
    Big changes here to introduce $PCP_SYSCONF_DIR (defaults to
    /etc/pcp) as the base directory for the configuration files for
    pmcd, pmie, pmlogger and pmproxy.
    
    Also included is the migration script (debian/cleanconfigs)
    that can be used in packaging as part of the pre-install script
    to harvest and migrate configuration files from all the places
    we've hidden them in the past.

commit d22deb140c79fa3803ef079e9a1e206e9a9473ff
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 07:18:27 2012 +1100

    qa/273 - proc PMDA games
    
    Need to handle variant output this is different if the proc PMDA
    is (a) not installed, or (b) installed as a daemon, or (c) installed
    as a DSO.

commit fd1d15bb620b1e98bd8a10e6d07be16d6f602023
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 07:12:21 2012 +1100

    qa/019 - a little more parnoia in error check land

commit 8c6d017ecfe5921cc833970bfda4aca6c5b7f2f1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 06:44:57 2012 +1100

    qa/110 - be mor careful about the log file for the simple PMDA
    
    Post the non-root changes, the log file may be absent in some
    cases ... only issue is with the 110.full diagnostics.

commit e2ca9cd2182cb4663ddf0988a1f0631851556b68
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 06:23:36 2012 +1100

    qa/019 - more exposed to proc PMDA variants
    
    This test produces different results when the proc PMDA is
    installed as a daemon (not a DSO) ... add variant output file and
    more complicated logic to select the correct expected output file.

commit f8dd86b1eafb5294d3b7b5ba8dd27205597ab071
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Dec 20 10:51:52 2012 +1100

    qa/common.check - be more careful of quoting for perl
    
    ' is being interpreted by the shell in this context,
    need additional " to make Perl string of the arguments to
    gethostbyname() and inet_aton()

commit a60ce41c76430f4240d916874a6f3f850dc75bc6
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Dec 17 06:52:59 2012 +1100

    qa/517 - small typo correction

commit de599964dd55f29e3a3a6ba7b1e8c126213106f0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Dec 17 06:51:30 2012 +1100

    qa/517 (new) - check config file migration logic

commit 5ce01e8a3112bcafa0c20d45a8fc01fa5adba649
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Mon Dec 17 06:50:45 2012 +1100

    qa/516 (new) - pmie was dumping core on the error path

commit b447b1d615dcce75216748ee59bae09022a5bec7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Dec 15 07:11:28 2012 +1100

    pmie - ugly free botch on error path
    
    Discovered trying create multi-host pmie rules for the summary PMDA ...
    made a typing error and pmie blew up!  Cause ended up being multiple
    calls to free() with obscurely overlapping regions.



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