Nathan,
Please don't pull yet ... I've only validated the debian packaging for upgrades
and install. rpm and "other" packaging changes is yet to come but I want some
QA soak time with these lot.
Changes committed to git://git.performancecopilot.org/kenj/pcp.git dev
debian/pcp.postinst.tail | 40 +++++-
man/html/pcpintro.html | 2
man/man1/pmafm.1 | 6 -
man/man1/pmie.1 | 12 --
man/man1/pmie_check.1 | 2
man/man1/pmlogger.1 | 16 +-
man/man1/pmlogger_check.1 | 2
man/man1/pmnewlog.1 | 6 -
man/man1/pmstat.1 | 2
qa/365 | 4
qa/365.out.ipv6 | 8 -
qa/365.out.nonipv6 | 8 -
qa/744 | 2
qa/919 | 37 ++++++
qa/919.out | 8 +
qa/994 | 21 +++
qa/check | 28 ++++
qa/group | 1
qa/src/permslist | 7 -
src/pmchart/views/GNUmakefile | 5
src/pmdas/hotproc/GNUakefile | 14 +-
src/pmdas/linux_proc/pmda.c | 42 +++----
src/pmdas/linux_proc/proc_pid.c | 226 ++++++++++++++++++++++++++++----------
src/pmie/GNUmakefile | 7 -
src/pmie/control | 2
src/pmie/pmie_check.sh | 2
src/pmie/src/pmie.c | 4
src/pmlogger/GNUmakefile | 7 -
src/pmlogger/pmlogger_check.sh | 2
src/pmlogger/pmnewlog.sh | 4
src/pmlogger/src/pmlogger.c | 8 -
src/pmstat/GNUmakefile | 2
src/pmview/front-ends/GNUmakefile | 5
33 files changed, 380 insertions(+), 162 deletions(-)
commit 85ed914c1e399f4484cdbfa3f58da8ad06e9ed21
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 09:00:21 2014 +1000
debian packaging - rework pmie and pmlogger control and config files
The control files for pmie and pmlogger (used by the *_daily
and *_check scripts to determine what pmie and pmlogger
instances to start or restart) stay in $PCP_SYSCONF_DIR/pmie and
$PCP_SYSCONF_DIR/pmlogger, but these directories and the control
files are owned by root.
The search directory order for pmie (or pmlogger) config files
(from the -c option) that are not absolute pathnames is "." then
$PCP_VAR_DIR/config/pmie (or pmlogger). These directories are
owned and writeable by pcp, so pmlogger_check can create/recreate
the config.default file using pmlogconf.
This commit contains the postinstall changes to enforce the new
rules and ease migration for upgrades.
commit 65a8e0b401c974b01a4317f33df27b901d5e72a2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:57:58 2014 +1000
qa/src/permslist - rework pmie and pmlogger control and config files
Needed to rerun qa/src/mkpermslist to recreate this list after
the makefile changes to move the control and config files around.
This file drives qa/994 (the ownership/permission checker).
commit 292d78a62406b2e2c4107cbc5030008859c979d4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:56:23 2014 +1000
pmchart, pmview, hotproc pmda - cosmetic makefile changes
Needed so that qa/src/mkpermslist can scan the "install" lines
looking for non-standard user, group or mode settings.
commit 0020568401cefe9df692e2f705b8133a8ab87f0d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:54:31 2014 +1000
pmlogger - rework control and config files
The control file for pmlogger (used by the pmlogger_daily and
pmlogger_check scripts to determine what pmlogger instances to
start or restart) stay in $PCP_SYSCONF_DIR/pmlogger, but this
directory and the control file is owned by root.
The search directory order for pmlogger config files (from
the -c option) that are not absolute pathnames is "." then
$PCP_VAR_DIR/config/pmlogger. This directory is owned and
writeable by pcp, so pmlogger_check can create/recreate the
config.default file using pmlogconf.
commit 197183b04293f2b2a5268a6047672ac7b12a8d57
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:51:07 2014 +1000
pmie - rework control and config files
The control file for pmie (used by the pmie_daily and pmie_check
scripts to determine what pmie instances to start or restart)
stay in $PCP_SYSCONF_DIR/pmie, but this directory and the control
file is owned by root.
The search directory order for pmie config files (from the
-c option) that are not absolute pathnames is "." then
$PCP_VAR_DIR/config/pmie. This directory is owned and writeable
by pcp, so pmie_check can create/recreate the config.default
file using pmieconf.
commit fae07e228ded3bdeacccf9d964a76073537cd63b
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:40:13 2014 +1000
man pages - rework pmie and pmlogger control and config files
The control files for pmie and pmlogger (used by the *_daily and
*_check scripts to determine what pmie and pmlogger instances to
start or restart) stay in $PCP_SYSCONF_DIR/pmie and
$PCP_SYSCONF_DIR/pmlogger, but these directories and the control
files are owned by root.
The search directory order for pmlogger config files (from the
-c option) that are not absolute pathnames is "." then
$PCP_VAR_DIR/config/pmlogger. This directory is owned and writeable
by pcp, so pmlogger_check can create/recreate the config.default
file using pmlogconf.
The search directory order for pmie config files (from the
-c option) that are not absolute pathnames is "." then
$PCP_VAR_DIR/config/pmie. This directory is owned and writeable
by pcp, so pmie_check can create/recreate the config.default
file using pmieconf.
This split allows the PCP files below /etc to all be owned by root
and moves the config files that the user "pcp" may need to create
or modify below $PCP_VAR_DIR.
commit 570d26a7e946da4ef43f51275c7aec00c38955c2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 08:28:38 2014 +1000
qa - run 994 to check-n-repair permissions and ownership after each test
Following Nathan's excellent suggestion, check now runs 994 after
each test to check that key files and directories retain the ownership
and mode as at install time. 994 now also supports a --fix option that
repairs any breakage, and check uses this.
If a test breaks the permissions or modes, it is considered a failure
and the details are appended to the $seq.out.bad file.
commit 3f062f6418b431934fa22c4f1c8eb35c962f7ea4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Sep 26 07:04:28 2014 +1000
pmstat - add pmlogger config as per man page
In the context of reworking where the pmlogger configuration files
are stored, noticed this one that was missing.
Also added qa/919 to validate the configuration and its installation.
commit e20cae31d622d183e779259a53d359d072301ca9
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 25 07:09:21 2014 +1000
qa/744 - a little assistance for sudo and newhelp
commit 4373bf9725f249c2dff62f03dc7a5360ff3949a3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 25 07:07:50 2014 +1000
Linux proc pmda - proc_pid.c - parser rework
The parsers for /proc/<pid>/status and /proc/<pid>io were both
very brittle and in the case of /proc/<pid>/status totally broken
on at least one kernel version.
commit 5f3d9852aa9dc789c4442d367daecf9ec96f0cb4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 25 07:07:12 2014 +1000
Linux proc pmda - pmda.c - smack more PM_ERR_INST uses
These should return "No values available", not an error.
commit b5aba8131b7439a96680d350d35e317ab77eb556
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Sep 24 16:34:08 2014 +1000
qa/365 - minor fiddle
Use no.such.host.pcp.io rather then not.a.real.host.pcp.io ... makes
it the same as the other qa tests and reduces the chance will miss
it the next time the global DNS lurches to the left.
|