From: Ralf Jung Date: Mon, 4 Nov 2019 15:56:59 +0000 (+0100) Subject: don't warn about every use of su X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/9e23a391b323634511a637a45e730944e84b7f04?ds=inline don't warn about every use of su --- diff --git a/roles/journalwatch/templates/patterns b/roles/journalwatch/templates/patterns index f925d46..a05fdd1 100644 --- a/roles/journalwatch/templates/patterns +++ b/roles/journalwatch/templates/patterns @@ -56,7 +56,10 @@ Failed to set devices.allow on /system.slice/[a-z-]+.service: Operation not perm {% endif %} SYSLOG_IDENTIFIER = sudo -\s*[_\w.-]+ : TTY=(unknown|console|(pts/|ttyp?|vc/)\d+) ; PWD=[^;]+ ; USER=[._\w-]+ ; COMMAND=.* +\s*[._\w-]+ : TTY=(unknown|console|(pts/|ttyp?|vc/)\d+) ; PWD=[^;]+ ; USER=[._\w-]+ ; COMMAND=.* + +SYSLOG_IDENTIFIER = su +\(to [._\w-]+\) [._\w-]+ on none _SYSTEMD_UNIT = postfix@-.service warning: hostname [^\s]+ does not resolve to address [\da-fA-F.:]+(: Name or service not known)?