]> gitweb.michael.orlitzky.com - amavis-logwatch.git/commit
Catch "Select failed: Interrupted system call" entries from clamd.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 13 Feb 2019 16:25:33 +0000 (11:25 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 13 Feb 2019 16:25:33 +0000 (11:25 -0500)
commit869fa9d8b2113f50c3a97ef9f4a1f95171702be4
tree1e2ff50c06813ea557b8ace44503d28a079863ce
parent6d985d29d8be2b70ee7e4048a7ae95e2b4013f17
Catch "Select failed: Interrupted system call" entries from clamd.

When a select() call in clamd is interrupted, amavis logs the
following warning:

  ClamAV-clamd: Select failed: Interrupted system call at /usr/sbin/amavisd
  line 8472, <GEN16> line 296., retrying (1)

These are harmless in and of themselves, but we would like to classify
them as warnings. Currently they are unmatched. This commit adds a
pattern for them, moving them from the "Unmatched Entries" heading to
"Miscellaneous warnings" instead. Afterwards, the report looks like,

  24   Miscellaneous warnings --------------------------------
   2      ClamAV-clamd: Select failed: Interrupted system call
amavis-logwatch