Skip to content

Commit

Permalink
Add a cron ignore (lowercase). Trim trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbucc committed Nov 22, 2014
1 parent b5e2864 commit c9ccf4d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
13 changes: 7 additions & 6 deletions stopfiles.tinyvz
Original file line number Diff line number Diff line change
Expand Up @@ -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
26 changes: 16 additions & 10 deletions stoplist.tinyvz
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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=<[email protected]>.* status=sent (250 Great success)
postfix/qmgr.*: .*: removed
postfix/qmgr.*: .*: from=<[email protected]>.*
Expand All @@ -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

0 comments on commit c9ccf4d

Please sign in to comment.