Date: Wed, 24 Apr 2019 13:27:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234209] regression: audit_warn(5) loops indefinitely if script /etc/security/audit_warn takes longer than 0.87s to execute Message-ID: <bug-234209-227-uB9ETBvUig@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-234209-227@https.bugs.freebsd.org/bugzilla/> References: <bug-234209-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234209 --- Comment #1 from Marie Helene Kvello-Aune <freebsd@mhka.no> --- For information: This bug still exists with 12.0-RELEASE-p3 and 13-CURRENT r346594. Complete reproduction example: (this will overwrite /etc/security/audit_warn) at << EOF >/etc/security/audit_warn #!/bin/sh echo "audit warning: $@" | wall sleep 1 EOF # audit -n expected behaviour: For the script to be executed once actual behaviour: script is repeatedly executed, seemingly forever. Remove "sleep 1" from the above script and it's called exactly one. Real-world case: actions performed by this script take more than 1s to do their thing, and end up being called repeatedly for the same message. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234209-227-uB9ETBvUig>
