Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
audit.30277
audisp-remote-fix-hang-with-disk_low_action-sus...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File audisp-remote-fix-hang-with-disk_low_action-suspend-.patch of Package audit.30277
From b6c474b22f6e76969221138d0d9ec8d97cb217ee Mon Sep 17 00:00:00 2001 From: Enzo Matsumiya <ematsumiya@suse.com> Date: Thu, 24 Mar 2022 23:38:24 -0300 Subject: [PATCH] audisp-remote: fix hang with disk_low_action=suspend (#254) If auditd.conf has disk_low_action=suspend and the partition where the log is triggers the disk_low_action, audisp-remote will hang in infinite loop. Fixes: 10dde069d1ac ("Dont look for stop on exit while draining the queue") Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> --- audisp/plugins/remote/audisp-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audisp/plugins/remote/audisp-remote.c b/audisp/plugins/remote/audisp-remote.c index b7e610e8ca32..3be91b3d5190 100644 --- a/audisp/plugins/remote/audisp-remote.c +++ b/audisp/plugins/remote/audisp-remote.c @@ -619,7 +619,7 @@ int main(int argc, char *argv[]) // If stdin is a pipe, then flush the queue if (is_pipe(0)) { - while (q_queue_length(queue) && transport_ok) + while (q_queue_length(queue) && !suspend && transport_ok) send_one(queue); } -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor