Nathan reviewed these changes. And qa passes for group 'logutils'.
Test 280 filtering might need a tweak for the case where there
actually are *.rpm{new,save} files present in one of the control.d
directories, but I'll look into that during QA week.
Changes committed to git://git.pcp.io/pcp master
Mark Goodwin (1):
cron scripts: ignore *.rpmsave and *.rpmnew in control.d dirs
src/pmie/pmie_check.sh | 6 ++++++
src/pmie/pmie_daily.sh | 6 ++++++
src/pmlogger/pmlogger_check.sh | 6 ++++++
src/pmlogger/pmlogger_daily.sh | 6 ++++++
4 files changed, 24 insertions(+)
Details ...
commit ba1355032bfdc91bfabc39d3a2255015fa92ccb9
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu Sep 15 12:05:15 2016 +1000
cron scripts: ignore *.rpmsave and *.rpmnew in control.d dirs
On RPM based distros, if the control files have been modified,
an upgrade will create rpmsave/new files, and the PCP cron scripts
will parse them, leaving scary looking messages in the logs.
So we ignore these files but issue a warning for admins to catch.
Fixes RH BZ #1375415
|