Bug 251639 - Auditd does not recover from logging_suspended state
Auditd does not recover from logging_suspended state
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: audit (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Steve Grubb
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-08-10 04:31 EDT by Kazuo Moriwaka
Modified: 2010-02-08 06:17 EST (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2008-0731
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-24 15:58:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kazuo Moriwaka 2007-08-10 04:31:48 EDT
Description of problem:
When auditd suspend logging by admin_space_left_action, 
auditd does not recover from suspend even after delete files 
in partition and enough free disk space.

Version-Release number of selected component (if applicable):

How reproducible:
make a junk file to use disk space near to admin_space_left limit is 
active.  Do something to create audit log.
Wait a minutes for logging to be suspended. auditd claims 
'Audit daemon is suspending logging due to no space left on logging 
After then, you can see deleting junk file, and 'service auditd reload' 
doesn't affect the suspend status. 

Steps to Reproduce:
1. set admin_space_left_action=SUSPEND in /etc/auditd.conf
2. while [ 0 ]; do date > /dev/null ; done
3. tail -f /var/log/messages 
4. after find suspend message, try some.
Actual results:
There isn't good way to recover from suspend.

Expected results:
Some signal or changing of partition free size should be a
chance to restart logging.
Comment 1 Steve Grubb 2008-04-10 13:18:39 EDT
easy fix, scheduling for 4.7.
Comment 2 RHEL Product and Program Management 2008-04-10 13:28:18 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 4 Steve Grubb 2008-04-10 17:01:26 EDT
audit-1.0.16-1 was built to solve this problem.
Comment 9 errata-xmlrpc 2008-07-24 15:58:16 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.