pcp
[Top] [All Lists]

pcp updates: kenj, fche, michele fixes

To: pcp@xxxxxxxxxxx
Subject: pcp updates: kenj, fche, michele fixes
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun, 5 Jan 2014 19:00:24 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1673358504.42940342.1388966239909.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: phtj6OOil7IjEA4z67Zbo4V5gAPMeg==
Thread-topic: pcp updates: kenj, fche, michele fixes
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 INSTALL                          |   22 ++++--
 debian/GNUmakefile               |    2 
 debian/libpcp3-dev.install       |  125 +++++++++++++++++-----------------
 debian/pcp.postinst.tail         |    2 
 man/man1/collectl2pcp.1          |    2 
 man/man1/dbpmda.1                |    2 
 man/man1/pcpintro.1              |    2 
 man/man1/pmcd.1                  |    2 
 man/man1/pmcollectl.1            |    2 
 man/man1/pmdabash.1              |    2 
 man/man1/pmdagfs2.1              |    2 
 man/man1/pmdagluster.1           |    2 
 man/man1/pmdahotproc.1           |    4 -
 man/man1/pmdaweblog.1            |    2 
 man/man1/pmie.1                  |    2 
 man/man1/pmie2col.1              |    2 
 man/man1/pmproxy.1               |    2 
 man/man1/pmval.1                 |    2 
 man/man3/pcpintro.3              |    4 -
 man/man3/pmapi.3                 |    2 
 man/man3/pmatomstr.3             |    3 
 man/man3/pmda.3                  |    2 
 man/man3/pmdachildren.3          |    6 -
 man/man3/pmdahelp.3              |    2 
 man/man3/pmdainstance.3          |    2 
 man/man3/pmdaopenlog.3           |    2 
 man/man3/pmdatrace.3             |    6 -
 man/man3/pmerrstr.3              |    3 
 man/man3/pmeventflagsstr.3       |    3 
 man/man3/pmfetch.3               |    2 
 man/man3/pmgetarchiveend.3       |    2 
 man/man3/pmgetarchivelabel.3     |    2 
 man/man3/pmgetchildren.3         |    4 -
 man/man3/pmgetchildrenstatus.3   |    4 -
 man/man3/pmgetconfig.3           |    2 
 man/man3/pmgetcontexthostname.3  |    2 
 man/man3/pmgetindom.3            |    2 
 man/man3/pmgetindomarchive.3     |    2 
 man/man3/pmgetpmnslocation.3     |    2 
 man/man3/pmidstr.3               |    5 -
 man/man3/pmindomstr.3            |    5 -
 man/man3/pmistart.3              |    4 -
 man/man3/pmiunits.3              |    4 -
 man/man3/pmloadasciinamespace.3  |    2 
 man/man3/pmloadnamespace.3       |    2 
 man/man3/pmnumberstr.3           |    3 
 man/man3/pmtime.3                |    8 +-
 man/man3/pmtraversepmns.3        |    3 
 man/man3/pmtypestr.3             |    3 
 man/man3/pmunitsstr.3            |    3 
 man/man3/pmwebapi.3              |    2 
 qa/.gitignore                    |    2 
 qa/003                           |    1 
 qa/1045                          |    5 -
 qa/159                           |    4 -
 qa/282                           |   21 +++--
 qa/504                           |   14 +++
 qa/504.out                       |   32 --------
 qa/504.out.1                     |   32 ++++++++
 qa/504.out.2                     |   32 ++++++++
 qa/512                           |    4 -
 qa/575                           |   17 +++-
 qa/575.out                       |    2 
 qa/575.out.1                     |    3 
 qa/575.out.2                     |    3 
 qa/640                           |    2 
 qa/660                           |   12 ++-
 qa/chk.setup                     |   58 ++++++++-------
 qa/src/GNUlocaldefs              |   12 +--
 qa/src/mkpermslist               |    8 ++
 qa/src/permslist                 |    9 +-
 src/include/pcp/impl.h           |    1 
 src/libpcp/src/auxconnect.c      |  112 ++++++++++++++++++------------
 src/libpcp/src/exports           |    1 
 src/libpcp/src/secureconnect.c   |  142 ++++++++++++++++++++++++---------------
 src/libpcp_fault/src/.gitignore  |    2 
 src/libpcp_fault/src/GNUmakefile |    2 
 src/pcp/pcp.sh                   |    9 +-
 src/pmcd/pmdaproc.sh             |    4 -
 src/pmcd/rc_pmcd                 |   10 +-
 src/pmdas/linux/interrupts.c     |    4 -
 src/pmie/examples/GNUmakefile    |    1 
 src/pmie/pmie_check.sh           |    4 -
 src/pmie/rc_pmie                 |   10 +-
 src/pmie/src/pmie.c              |    5 -
 src/pmlogger/pmlogger_check.sh   |    4 -
 src/pmlogger/rc_pmlogger         |    4 -
 src/pmns/ReplacePmnsSubtree      |    2 
 src/pmproxy/rc_pmproxy           |    6 -
 src/pmwebapi/rc_pmwebd           |    4 -
 90 files changed, 533 insertions(+), 351 deletions(-)

commit 6efee0fdaa768fe9fabfb2342d203a46cf7e71c3
Author: Michele Baldessari <michele@xxxxxxxxxx>
Date:   Mon Jan 6 10:52:29 2014 +1100

    Man pages spelling fixes

commit 813f4a13424840eaa662f12d7ae41afda1673ac6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Jan 6 10:24:15 2014 +1100

    Update git ignore file for libpcp_fault builds

commit 417e6f2c02ca89b51642234c9df052f218954508
Merge: f08713f 8b04845
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Jan 6 10:16:37 2014 +1100

    Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev

commit f08713f6024c2f829ba8f7393b3142c25776f761
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Fri Dec 13 20:36:01 2013 -0500

    linux pmda: plug memory leak in /proc/interrupts parsing
    
    Previous code in src/pmdas/linux/interrupts.c accidentally forgot that
    it had already parsed the structure of /proc/interrupts into the
    interrupt_lines/interrupt_other realloc variables by resetting the
    lines_count/other_count variables every refresh.  That caused an
    endless re-allocation growth.  Hey, teacher, leave those _counts alone!
    
    Reported-By: Mahmoud Hanafi <mahmoud.hanafi@xxxxxxxx>

commit 8b04845ff778a9b97ac01cc9b0c7e8a7bc6c8f2f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jan 5 17:35:19 2014 +1100

    libpcp - tweak diags in __pmConnect
    
    Need debug flags CONTEXT & DESPERATE, not just CONTEXT.

commit 2e4a05a83607da058247675acfd4d3abcc05167f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Jan 5 06:42:34 2014 +1100

    libpcp - *connect.c - diagnostic cleanup
    
    Since there are routines of the same name in these two files
    (build-time configuration selects one or the other), add __FILE__
    as prefix to all diagnostic messages.
    
    Also add more diagnostics around __pmBind() to help track down
    QA failures.

commit 62f4986836b6ad44b4b98e6d0c238df80edb0de5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 4 21:14:25 2014 +1100

    libpcp - add __pmSockAddrGetPort()
    
    Dual of existing routine __pmSockAddrSetPort().

commit 70c8489def5f0b6ef6271ff0b8e9e8139cee4a42
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 4 09:25:21 2014 +1100

    pmie and pmproxy rc script tweak
    
    We still has a couple of remnants of the old verbose
        Performance Co-Pilot starting ...
    messages in these two rc scripts.  Updated to the more terse
    (and consistent with the other rc scripts)
        Starting pmie ...
        Starting pmproxy ...

commit 3492c52fd178e53709579473dfcb03ba953ab0de
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 4 07:00:25 2014 +1100

    qa/003 - network.icmpmsg.* metrics sometimes unavailable
    
    Adjust filter.

commit 159bcf34b9391e0505cc31556639ce55a6ea6ad7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 4 06:58:17 2014 +1100

    qa/chk.setup - allow host on the command line
    
    So I can check just one QA host, not all of 'em.

commit c3b76c8eff6f7c07ea2886b6f7dfdb30411cb600
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Dec 29 08:21:48 2013 +1100

    man page rework for some NAME entries
    
    When more than one command/routine per man page, start each
    command/routine name on a new line in the NAME section.
    
    Fixes http://oss.sgi.com/bugzilla/show_bug.cgi?id=972

commit a4646cc362856a38ac2370bfe179cf4466b6b7aa
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sun Dec 29 06:36:13 2013 +1100

    INSTALL - add notes for creating user pcp before make from source
    
    In response to bug http://oss.sgi.com/bugzilla/show_bug.cgi?id=1040
    from TomÃÅ DohnÃlek.

commit ed6c37f1d5d3e46cdbe520ae261d416f647e613d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Dec 28 21:17:46 2013 +1100

    pmpost - one more bizarre name collision fixup
    
    Small change to edit DISK group to include full correct pathname
    for pmpost

commit ab4a162e58ae44ddd31b1e0dafe80ab1153fd5d4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Sat Dec 28 15:44:42 2013 +1100

    pmie - temp file directory creation change
    
    First off, pmie should not try and create $PCP_TMP_DIR/pmie
    ... it should be done in the packaging.
    
    But even if we try to do a "fixup" creation here then a failure
    to create the directory should not be a fatal error ... it should
    be just like the later failure to create the stats file, namely
    pmie still runs there are just no stats available to the pmcd pmda.

commit 49f8a1808710526141a24e969677afd2da3fe68b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 27 06:47:48 2013 +1100

    pmpost - bizare name collision
    
    Turns out that the texlive-binaries package installs an executable
    in /usr/bin/pmpost (oops), but worse, it is broken as follows:
    
        $ sudo -u pcp pmpost message
    
        Sorry, I can't find the 'pmpost' preload file; will try 'plain'.
        I can't find the 'plain' preload file!
    
    Since we already (many moons ago) decided to hide our pmpost in
    $PCP_BINADM_DIR this change replaces all references to pmpost
    (and punting on $PATH) in the PCP scripts with the explicit
    $PCP_BINADM_DIR/pmpost.

commit 8e46755e48c365e44ad5d4278affc3b22be2d86e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 27 06:41:31 2013 +1100

    qa/282 - be more careful about mode and ownership of control files
    
    With recent changes to the modes and ownership of control files
    and directories in the pcp packaging, we need to be more careful
    about preserving these in the qa scripts.
    
    These changes mean qa/282 is no longer one of the scripts
    implicated in qa/994 failing.

commit 30e0cfbf05f23a74b4e0721cd5bcc9aa09695544
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri Dec 27 06:38:04 2013 +1100

    qa/994 - update driver data
    
    permslist is built by mkpermslist which in turn scans the source
    makefiles.
    
    Update mkpermslist to reflect recent makefile changes and new
    exceptions (...systemtap/tapset/pmcd.stp is not always installed,
    so make this one optional).
    
    Update permslist.

commit 1d8e407c076d47504b286317b3bc8c4b811eeea0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Dec 26 09:17:12 2013 +1100

    debian/pcp.postinst.tail - chown/chmod change for $PCP_LOG_DIR
    
    In the top-level makefile we install $PCP_LOG_DIR with non-standard
    mode and ownership.
    
    Added
        chown pcp:pcp /var/log/pcp
        chmod 775 /var/log/pcp
    here to match.
    
    qa/994 passes on debian now immediately after a new install/upgrade.

commit 7ffd94745ff6f6fc63c8894a000c8081bbda69ad
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Dec 26 09:11:37 2013 +1100

    debian/GNUmakefile - fix strange build warnings
    
    When making debian packages, the build was generating this concerning
    messages:
    
    /bin/tar: rm -f pcp.postrm: Cannot stat: No such file or directory
    /bin/tar: cat pcp.postrm.head configversions pcp.postrm.tail > pcp.postrm: 
Cannot stat: No such file or directory
    /bin/tar: Exiting with failure status due to previous errors
    
    from the build/tar directory (we do descend there, even for debian
    package builds).
    
    Turns out pcp.postrm was not being made early enough in the build
    which led to the build/deb/pcp-3.8.10/build/pcp.src control file
    being polluted with make noise ...
    
    rm -f pcp.postrm
    cat pcp.postrm.head configversions pcp.postrm.tail > pcp.postrm
    
    which confused the tar build when it expected the pcp.src file to
    contain the names of source files.

commit 5d0e97a4917b538059128d8b27afd4ea9e5caa6c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:36:55 2013 +1100

    pcp (command) - add -D command-line support

commit 9f9eb94a0f05c47c524d8e26fa5e88ad36094065
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:33:24 2013 +1100

    lipcp_fault - tweak the build
    
    libpcp_fault needs support from libpcp_pmda for pmdaCache*()
    routines so need to link with -lpcp_pmda when building
    libpcp_fault.
    
    All of this is outside the normal "build" so it only impacts me
    ... 8^)>

commit d2abbf5e1c4f2348d0cf7d8bb4d6c7b15048f212
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:27:19 2013 +1100

    qa/src/GNUlocaldefs - more libpcp_fault dodgem games
    
    Need to conditionally make check_fault_injection and
    exercise_fault, but only ever in an "about to run QA" context
    and never in a package build context.
    
    Wrinkle is that the condition depends on the existence of
    /usr/include/pcp/fault.h which was breaking the build if you had
    previously built and installed libpcp_fault on the build machine.

commit 07990a94519cdfdd6d755c231b54d862484c8901
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:24:26 2013 +1100

    qa/660 - more verbose diagnostics to $seq.full

commit fecb704fbd310c12f85c840d535e28f1a4d22a70
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:19:12 2013 +1100

    qa/512 - be more careful about $seq.full
    
    Need $here/$seq.full after chdir.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: kenj, fche, michele fixes, Nathan Scott <=