Date: Mon, 13 Aug 2018 09:10:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 230589] periodic scripts generate spurious emails Message-ID: <bug-230589-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230589 Bug ID: 230589 Summary: periodic scripts generate spurious emails Product: Base System Version: 11.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: topical@gmx.net Created attachment 196152 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196152&action= =3Dedit Make "check_diff new_only" not generate spurious emails Many periodic scripts check log files and generate an email if there is something new. Often, you receive spurious emails like this: > myhost kernel log messages: >=20=20 > -- End of security output -- Obviously, there are no log messages to report. Reason is a logic error in "check_diff new_only" which should generates a message only if there are new lines in given log. Unfortunately, a message = is also generated if there are __removed__ lines, even though those removed li= nes are not shown (and not meant to be shown). I've attached a fix. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230589-227>