Bug 251639 - Auditd does not recover from logging_suspended state
Summary: Auditd does not recover from logging_suspended state
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: audit   
(Show other bugs)
Version: 4.4
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Steve Grubb
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2007-08-10 08:31 UTC by Kazuo Moriwaka
Modified: 2010-02-08 11:17 UTC (History)
2 users (show)

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

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0731 normal SHIPPED_LIVE audit bug fix update 2008-07-23 16:53:34 UTC

Description Kazuo Moriwaka 2007-08-10 08:31:48 UTC
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 17:18:39 UTC
easy fix, scheduling for 4.7.

Comment 2 RHEL Product and Program Management 2008-04-10 17:28:18 UTC
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 21:01:26 UTC
audit-1.0.16-1 was built to solve this problem.

Comment 9 errata-xmlrpc 2008-07-24 19:58:16 UTC
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.