pcp
[Top] [All Lists]

pcp updates: merge kenj (qa fixes and debian/systemctl)

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates: merge kenj (qa fixes and debian/systemctl)
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Sat, 02 May 2015 09:43:33 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Changes committed to git://git.pcp.io/pcp.git master

Ken McDonell (7):
      libpcp/check-statics: more Mac OS X changes
      root PMDA: fix for root_root installer problem on Mac OS X
      qa/src/chkctx2.c: fix botch in last change
      src/pmcd/rc-proc.sh: more cautious approach to using systemctl
      qa/admin/myconfigure: be smarter and more robust
      qa/common.check: track init-rc changes for systemctl
      qa/555: track init-rc changes for systemctl

 qa/555                       |    2
 qa/admin/myconfigure         |   91 ++++++++++++++++++++++++++++++++++++++++---
 qa/common.check              |   26 +++++++++++-
 qa/src/chkctx2.c             |    2
 src/libpcp/src/check-statics |    8 +--
 src/pmcd/rc-proc.sh          |   15 +++++--
 src/pmdas/root/GNUmakefile   |   10 +++-
 7 files changed, 134 insertions(+), 20 deletions(-)

Details ...

commit 2992b429e5986c8ffca594e3e7162ad87e020b81
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 1 12:20:14 2015 +1000

    qa/555: track init-rc changes for systemctl

    Make logic here follow the new logic in src/pmcd/rc-proc.sh.

commit b2eb781fd753ccb5260857c44de163e240c236ed
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 1 12:18:29 2015 +1000

    qa/common.check: track init-rc changes for systemctl

    Make logic here follow the new logic in src/pmcd/rc-proc.sh.

commit d312d7d38c1d5060e4fb064103c202e6fe049598
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 1 12:12:20 2015 +1000

    qa/admin/myconfigure: be smarter and more robust

    First, get the Debian configopts directly from debian/rules instead
    of replicating the settings here and risking them diverging over
    time ... as happened!

    Second, for all platforms, since the objective of this script
    is to set up the workarea so that Makepkgs and make followed by
    "sudo make install" will produce the same results, try and check
    that the critical files installed from the package(s) (if found)
    match the corresponding files in the workarea after configure
    has been run.

commit 51798da2e1000bec1ab7afd0661d2f610bc79d40
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Fri May 1 09:40:43 2015 +1000

    src/pmcd/rc-proc.sh: more cautious approach to using systemctl

    On some Debian-derived systems, systemctl is present but a real
    systemd is not and our Debian builds are currently configured
    with --without-systemd.

    This commit makes the logic more restricitve so we'll only try
    and uses systemctl to control service "foo" if
    - systemctl inary exists, and
    - $PCP_SYSTEMDUNIT_DIR is not empty, and
    - $PCP_SYSTEMDUNIT_DIR/foo.service exists

commit a474fa74571b7a222677605c8f5091c949c657f5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Apr 29 15:42:54 2015 +1000

    qa/src/chkctx2.c: fix botch in last change

    qa/024 is failing everywhere because I made a mistake in the
    last round of pmLoadNameSpace() changes ... for chkctx2 we
    MUST always call pmLoadASCIINameSpace, even if there is no
    -n argument and namespace == PM_NS_DEFAULT.

commit badfc2686da23880e54c940ebda3159b247d3b58
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Apr 29 09:04:11 2015 +1000

    root PMDA: fix for root_root installer problem on Mac OS X

    Issue was installing root_root twice ... this triggered Mac OS X
    installer failures of the form
install-pcp: Error: Unable to find file (src/pmdas/root/root_root) for /var/lib/pcp/pmns/root_root

    Fix is to clone the link-and-install-the-link trick from the
    mmv PMDA.

commit 36420d68ff51eeb6a4e45e719e21d0a68b8aa9f1
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Wed Apr 29 06:52:11 2015 +1000

    libpcp/check-statics: more Mac OS X changes

    This time on Mac OS X 10.6.8 (and probably other versions),
    there are a couple of variables in pmns.c that are thread private
    (curr_pmns and useExtPMNS) and generate no external symbols ... so
    make 'em optional in the check-statics manifest, like the thread
    private variables in other source files.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: merge kenj (qa fixes and debian/systemctl), Mark Goodwin <=