pcp
[Top] [All Lists]

pcp updates: tmpdir fix, configurable default user

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: tmpdir fix, configurable default user
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 22 Feb 2013 04:57:08 -0500 (EST)
Cc: Serguei Makarov <smakarov@xxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 configure                         |14104 +++++++++++++++++++++++++++++---------
 configure.in                      |   10 
 src/include/pcp.conf.in           |    4 
 src/include/pcp/impl.h            |    2 
 src/libpcp/src/util.c             |   16 
 src/pmcd/src/pmcd.c               |    3 
 src/pmdas/aix/aix.c               |    3 
 src/pmdas/apache/apache.c         |    4 
 src/pmdas/bash/bash.c             |    6 
 src/pmdas/cisco/pmda.c            |    3 
 src/pmdas/darwin/pmda.c           |    3 
 src/pmdas/freebsd/freebsd.c       |    3 
 src/pmdas/hotproc/src/hotproc.c   |    9 
 src/pmdas/linux/pmda.c            |    3 
 src/pmdas/lmsensors/lmsensors.c   |    3 
 src/pmdas/logger/logger.c         |    6 
 src/pmdas/lustrecomm/lustrecomm.c |    4 
 src/pmdas/mailq/mailq.c           |    4 
 src/pmdas/mmv/mmv.c               |    4 
 src/pmdas/mounts/mounts.c         |    3 
 src/pmdas/netbsd/netbsd.c         |    3 
 src/pmdas/sample/src/pmda.c       |    3 
 src/pmdas/sendmail/sendmail.c     |    4 
 src/pmdas/shping/pmda.c           |    3 
 src/pmdas/simple/simple.c         |    3 
 src/pmdas/summary/pmda.c          |    3 
 src/pmdas/systemd/systemd.c       |    2 
 src/pmdas/trace/src/pmda.c        |    3 
 src/pmdas/trivial/trivial.c       |    3 
 src/pmdas/txmon/txmon.c           |    3 
 src/pmdas/weblog/pmda.c           |    3 
 src/pmie/src/pmie.c               |    3 
 src/pmlogger/pmlogger.c           |    3 
 src/pmproxy/pmproxy.c             |    3 
 34 files changed, 11192 insertions(+), 3047 deletions(-)

commit 476e5d68a4a46b11bbd77b302b11118b540166f6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Feb 22 20:54:27 2013 +1100

    Add a PCP_USER setting, replacing the hard-coded value
    
    Serhei was building PCP using the configure-me-sideways
    option to get a local developer build and found there's
    still a need to become root, in order to use the start
    scripts.  These want to change user to "pcp" nowadays,
    but this may not exist in such a build environment.
    
    This provides configure option, environment variable and
    a pcp.conf setting allowing this to be changed.  This is
    still achievable using the more manual -U option to each
    of the daemons/agents as well.

commit 5b280e87223f8281e28e62d7e621a8f60c3d0894
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Feb 22 20:41:46 2013 +1100

    Ensure tmpdir used in vpmprintf always gets a sane value
    
    Recent changes in temporary file handling (BSD porting)
    regressed a corner case exercised by test 448, where no
    /etc/pcp.conf exists.  This resulted in invalid tmpfile
    paths being requested (in the fs root), and EPERM ended
    up being the result.
    
    Fix to ensure we always get a sane fallback for tmpdir.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: tmpdir fix, configurable default user, Nathan Scott <=