Date: Thu, 04 Oct 2018 05:55:56 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 201953] Auditdistd does not recover from TLS errors and just stops Message-ID: <bug-201953-227-r7fZn3DkpO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-201953-227@https.bugs.freebsd.org/bugzilla/> References: <bug-201953-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201953 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: pjd Date: Thu Oct 4 05:54:58 UTC 2018 New revision: 339177 URL: https://svnweb.freebsd.org/changeset/base/339177 Log: When the adist_free list is empty and we lose connection to the receiver we move all elements from the adist_send and adist_recv lists back onto the adist_free list, but we don't wake consumers waitings for the adist_free list to become non-empty. This can lead to the sender process stopping audit trail files distribution and waiting forever. Fix the problem by adding the missing wakeup. While here slow down spinning on CPU in case of a short race in sender_disconnect() and add an explaination when it can occur. PR: 201953 Reported by: peter Approved by: re (kib) Changes: head/contrib/openbsm/bin/auditdistd/auditdistd.h head/contrib/openbsm/bin/auditdistd/sender.c -- 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-201953-227-r7fZn3DkpO>
