diff --git a/stopfiles.tinyvz b/stopfiles.tinyvz index 13dd798..d29d528 100644 --- a/stopfiles.tinyvz +++ b/stopfiles.tinyvz @@ -19,9 +19,10 @@ faillog # All system messages are logged to syslog or auth.log. # All other logs are duplicates. -cron.log -daemon.log -kern.log -lpr.log -mail.log -user.log +cron\..* +daemon\..* +kern\..* +lpr\..* +mail\..* +user\..* +messages diff --git a/stoplist.tinyvz b/stoplist.tinyvz index 62bf6c4..7a2f220 100644 --- a/stoplist.tinyvz +++ b/stoplist.tinyvz @@ -9,7 +9,13 @@ CRON.*: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) CRON.*: (root) CMD ( cd / && run-parts --report /etc/cron.weekly) CRON.*: (root) CMD ( cd / && run-parts --report /etc/cron.monthly) CRON.*: (root) CMD (/root/bin/ai.sh) -# listing crontab doesn't hurt (ansible cron module does this) + +# Not sure why this comes out lower case sometimes. +cron.*: (root) RELOAD (crontabs/root) + +# Don't notify when crontab changes. +# If cron runs something unexpected, +# we'll get emailed the CMD entry. crontab.*: (root) LIST (root) crontab.*: (root) BEGIN EDIT (root) crontab.*: (root) REPLACE (root) @@ -27,9 +33,9 @@ su.*: pam_unix(su:session): session closed for user .* su.*: Successful su for .* by root su.*: + /dev/pts/0 root:.* -# Postfix +# Postfix # Really strict for now, hardly sending any mail. -postfix/anvil.*: statistics: +postfix/anvil.*: statistics: postfix/smtp.*: .* to=.* status=sent (250 Great success) postfix/qmgr.*: .*: removed postfix/qmgr.*: .*: from=.* @@ -41,20 +47,20 @@ postfix/cleanup.*: .*: message-id=.* # so I'm not sure why this was logged. monitor will print the received events for: -# dpkg -# This one is tough to exclusions right +# dpkg +# This one is tough to exclusions right # without user regular expressions # that are so broad (e.g. 'configure') # they may swallow other errors we want. -# Maybe skip package notifications entirely +# Maybe skip package notifications entirely # by adding dpkg.log to stopfiles. - status unpacked + status unpacked update-alternatives: run with .* -status half-configured -status half-installed +status half-configured +status half-installed startup packages configure configure .* 436-1 -trigproc +trigproc status triggers-pending startup archives unpack update-alternatives: link