pcp
[Top] [All Lists]

pcp updates: setuid tweaks

To: pcp@xxxxxxxxxxx
Subject: pcp updates: setuid tweaks
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 22 Nov 2012 22:42:19 -0500 (EST)
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 CHANGELOG                         |    5 +
 VERSION.pcp                       |    2 
 debian/changelog                  |    6 ++
 man/man1/pmdabash.1               |    7 ++
 man/man1/pmdacisco.1              |    9 ++-
 man/man1/pmdahotproc.1            |    6 ++
 man/man1/pmdamailq.1              |    7 ++
 man/man1/pmdasample.1             |    7 ++
 man/man1/pmdasendmail.1           |    7 ++
 man/man1/pmdasimple.1             |    7 ++
 man/man1/pmdasummary.1            |    6 ++
 man/man1/pmdatrace.1              |    7 ++
 man/man1/pmdatrivial.1            |    7 ++
 man/man1/pmdatxmon.1              |    7 ++
 man/man1/pmdaweblog.1             |    9 ++-
 qa/653                            |  103 ++++++++++++++++++++++++++++++++++++++
 qa/653.out                        |    5 +
 qa/group                          |    2 
 qa/src/.gitignore                 |    1 
 qa/src/GNUlocaldefs               |    3 -
 qa/src/username.c                 |   27 +++++++++
 src/libpcp/src/util.c             |   12 ++--
 src/pmdas/aix/aix.c               |   27 +++++----
 src/pmdas/apache/apache.c         |   13 +++-
 src/pmdas/bash/bash.c             |   16 ++++-
 src/pmdas/cisco/pmda.c            |   13 +++-
 src/pmdas/darwin/pmda.c           |   25 +++++----
 src/pmdas/freebsd/freebsd.c       |   28 +++++-----
 src/pmdas/hotproc/src/hotproc.c   |   11 +++-
 src/pmdas/linux/pmda.c            |   23 +++++---
 src/pmdas/lmsensors/lmsensors.c   |   31 ++++++-----
 src/pmdas/logger/logger.c         |   18 ++++--
 src/pmdas/lustrecomm/lustrecomm.c |   34 +++++++-----
 src/pmdas/mailq/mailq.c           |   16 +++--
 src/pmdas/mmv/mmv.c               |   28 +++++++---
 src/pmdas/mounts/mounts.c         |   37 +++++++------
 src/pmdas/sendmail/sendmail.c     |   25 +++++----
 src/pmdas/simple/simple.c         |   27 +++++----
 src/pmdas/summary/pmda.c          |   15 ++++-
 src/pmdas/systemd/README          |   64 +++++++++++++++++++++++
 src/pmdas/systemd/help            |   17 +++---
 src/pmdas/systemd/pmns            |   12 ++--
 src/pmdas/systemd/systemd.c       |   34 +++++++-----
 src/pmdas/trace/src/pmda.c        |   15 ++---
 src/pmdas/trivial/trivial.c       |   23 +++++---
 src/pmdas/txmon/txmon.c           |   28 +++++-----
 src/pmdas/weblog/pmda.c           |   13 ++++
 47 files changed, 638 insertions(+), 207 deletions(-)

commit 73c8a709c4a5bdbe6b299d3ed07a3ba80245c2d9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Nov 23 14:39:25 2012 +1100

    Remove hard-coded username use throughout.
    
    Its been correctly pointed out that a site may have a
    pre-existing "pcp" user/group account, and they might
    not appreciate being forced to dedicate it to PCP.
    
    This set of changes pushes the -U <username> command
    line option throughout the remaining PMDAs that were
    not doing that, providing a plan B for such sites.

commit 6bd5af27a95ee4bf994ff7f1710a79a5435ce0d4
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Nov 23 11:19:19 2012 +1100

    Change __pmSetProcessIdentity to fail more resoundingly
    
    For good security reasons, if we cannot change to the intended
    user identity we should abort operation in preference to simply
    continuing on as we were.  All callers need to fail hard in this
    scenario, so log a critical error and call exit.  This is a bit
    like pmGetConfig in terms of level-of-trouble-that-you-are-in if
    it ever happens, so exiting seems an acceptable option.
    
    Adds a QA test (653) to exercise the good and bad cases.
    
    Resolves PCP bugzilla bug #933.

commit 8ef74ab52556cefcee4624d7719c9f6973e61886
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Nov 23 10:14:46 2012 +1100

    Add a qa group file entry for systemd pmda test

commit aed6c765a596f6ded3707464e39e3cc22e2309ce
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Nov 23 09:39:50 2012 +1100

    Update version number for some future point release

commit 0edf6714db2497f213266ebad3cb4b3abf6209d2
Merge: 4887bea d5fd3a3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Nov 23 07:37:22 2012 +1100

    Merge branch 'fche/journald2' of git://sourceware.org/git/pcpfans into dev

commit d5fd3a3014ae956910edbf737197bfb2253037a4
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Thu Nov 22 15:14:53 2012 -0500

    systemd-journal: add a boilerplate README, with a bit of meat

commit 0ad64d78053d68df9db5caa95ed9c73048f5bf16
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Thu Nov 22 14:27:40 2012 -0500

    systemd-journal: rename event fields in pmns to under 
systemd.journal.field.*

commit 2c168cd983d37240d219a4232b62c988036a03c6
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Thu Nov 22 08:42:25 2012 -0500

    systemd-journal: use __pmSetProcessIdentity("adm") for daemon operation

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: setuid tweaks, Nathan Scott <=