Changes committed to git://oss.sgi.com/kenj/pcp.git dev
GNUmakefile | 8 +
debian/pcp.postinst.tail | 57 +++++++++---
man/man1/pmatop.1 | 10 +-
man/man1/pmcd.1 | 2
man/man1/pmdagluster.1 | 6 -
man/man1/pmstat.1 | 2
qa/115 | 16 ++-
qa/262 | 6 -
qa/262.linux | 16 +--
qa/504 | 18 ++--
qa/994 | 88 +++++++++++++++++++
qa/994.out | 1
qa/common.filter | 3
qa/group | 1
qa/src/GNUlocaldefs | 4
qa/src/mkpermslist | 183 +++++++++++++++++++++++++++++++++++++++++
qa/src/permslist | 14 +++
src/pmcd/GNUmakefile | 2
src/pmcd/rc_pmcd | 8 +
src/pmdas/mysql/GNUmakefile | 2
src/pmie/GNUmakefile | 9 --
src/pmie/rc_pmie | 20 +++-
src/pmlogger/GNUmakefile | 6 -
src/pmlogger/pmlogger_check.sh | 4
src/pmlogger/pmlogger_daily.sh | 11 ++
src/pmproxy/GNUmakefile | 2
src/pmwebapi/GNUmakefile | 2
27 files changed, 433 insertions(+), 68 deletions(-)
commit 9913a427ce2c9a60150007cb74b07681ede6815f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 10:14:03 2013 +1000
qa/common.filter - handle changed waiting...pmie msg from rc script
commit 2b420834fa508964bdd46a0bbd3303e5f0a4488a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 10:12:08 2013 +1000
qa/262 - cleanup
- remove white space dependency
- handle "units" after numbers from pmstat
- remove proc PMDA dependency
commit 225bc166f87c1e4c5115ee8d6b5e65f0ba7e1992
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:55:37 2013 +1000
pmie rc script - Waiting ... PMIE -> Waiting ... pmie
Lowercase pmie, just for consistency with the other rc scripts.
commit 399857b6a06c7a8fbadbc7e089da01747dec7378
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:54:30 2013 +1000
qa/504 - $PCP_PMIECONTROL_PATH care and feeding
1. don't create it, die if it does not exist
2. restore mode, owner and group once you're done
commit cfeddf0f15341e8990e1dd4ba5af6bea8f049bb8
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:53:03 2013 +1000
qa/115 - $PCP_PMIECONTROL_PATH care and feeding
1. don't create it, die if it does not exist
2. restore mode, owner and group once you're done
commit c55eee4bbf1ccc9a10aa2ca2921aef24c652f155
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:50:59 2013 +1000
qa/994 (new) - check non-default artifacts from packages
Compares mode, owner and group between makefiles and installed
systems ... see src/permslist for makefile inventory and
src/mkpermslist is the script for recreating thus.
commit 5d99e3073d9c868eaa13730815ee8a90f36db166
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:40:17 2013 +1000
Non-default permissions artifacts and Debian packaging
This commit tries to enforce consistency between the build,
the Debian packages and the PCP run-time.
In general terms, if the directory mode is 775 or the file mode is
664, then we expect the ownership to be pcp:pcp. There are some
execeptions but these are noted with large comments. To enforce
this the makefiles need to explicitly set the mode, owner and
group for the non-default artifacts. The Debian pcp.postinst
script needs to do _exactly_ the same thing as the settings from
the makefile are stripped by dh_fixperms in the build. And at
run time we sometimes have to create or recreate things on the fly
and the owner, group and mode here have to play by the same rules.
Finally when we smack these files in qa, we need to be sure
to restore the owner, group and mode to match the makefiles.
The new qa/994 checks a lot of this. The first batch of QA
changes are in the next commit.
If this survives Debian QA stress testing, I'll be making the same
(philosophical) changes for the other packaging options we support,
one by one.
commit bf406b2df6e9b4cedab8ee25fe14b73d9a108628
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 09:08:35 2013 +1000
assorted man page typo fixes (thanks lintian)
commit a2bd6d4f5ffd5459afe10667c46257ec5e791489
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Jul 24 08:52:40 2013 +1000
pmdagluster - man page typo fix (thanks lintian)
commit 4cd5b87342126c7c8f7b164c873e9612fa98bd5c
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jul 23 21:26:05 2013 +1000
pmie - packaging changes
Cleanup the makefile for the non-default permissions artifacts and
make the Debian packaging match the makefile and make the run-time
(optional) directory creation match the makefile.
commit 0d831264f1ccf986e15a70beea871919c592b03a
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jul 23 16:37:11 2013 +1000
pmlogrewrite config for mysql pmda ...
oops, forgot to add migrate.conf to $LSRCFILES so the builds will work.
commit 375c5fd612744158b63285434c9b86d14af89304
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Jul 23 16:32:37 2013 +1000
$PCP_RUN_DIR - packaging changes
For most packages, $PCP_RUN_DIR is included in the pcp package,
but for Debian and cases where /var/run is a mounted filesystem
it may not exist, so in all of the associated run-time places
we need to conditionall create or re-create it (with the same mode,
owner and group as in the packaged case) before it is used.
|