pcp
[Top] [All Lists]

pcp updates - some qa, some packaging, some obscure

To: pcp@xxxxxxxxxxx
Subject: pcp updates - some qa, some packaging, some obscure
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 27 Dec 2013 10:57:27 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 debian/GNUmakefile               |    2 +-
 debian/pcp.postinst.tail         |    2 ++
 qa/1045                          |    5 +++--
 qa/159                           |    4 ++--
 qa/282                           |   21 +++++++++++++--------
 qa/512                           |    4 ++--
 qa/640                           |    2 +-
 qa/660                           |   12 +++++++++---
 qa/src/GNUlocaldefs              |   12 ++++++------
 qa/src/mkpermslist               |    8 ++++++++
 qa/src/permslist                 |    9 ++++-----
 src/libpcp_fault/src/GNUmakefile |    2 +-
 src/pcp/pcp.sh                   |    9 +++++++--
 src/pmcd/pmdaproc.sh             |    4 ++--
 src/pmcd/rc_pmcd                 |   10 +++++-----
 src/pmie/pmie_check.sh           |    4 ++--
 src/pmie/rc_pmie                 |    8 ++++----
 src/pmlogger/pmlogger_check.sh   |    4 ++--
 src/pmlogger/rc_pmlogger         |    4 ++--
 src/pmns/ReplacePmnsSubtree      |    2 +-
 src/pmproxy/rc_pmproxy           |    4 ++--
 src/pmwebapi/rc_pmwebd           |    4 ++--
 22 files changed, 81 insertions(+), 55 deletions(-)

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 - some qa, some packaging, some obscure, Ken McDonell <=