Bug 213693

Summary: audbin can't concatenate to a >= 2GB (2GiB, really) file
Product: Red Hat Enterprise Linux 3 Reporter: Buck Huppmann <buckh>
Component: lausAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0459 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 18:39:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Buck Huppmann 2006-11-02 16:38:03 UTC
Description of problem:
audbin isn't compiled with -D_FILE_OFFSET_BITS=64
so it fails with EFBIG if opening a file >= 2-GiB
(for concatenation. this may the case also for
auditd in the bugzilla 125726 that somebody else
reported and that was closed without mention of
what the resolution was)

Version-Release number of selected component (if applicable):
laus-0.1-70RHEL3

How reproducible:
use audbin -C -a as your notify command in audit.conf and
generate enough audit data (excercise for the reader--or,
in our case, our users) to cause serious binmode log
churn (before logrotate cleans up)

Steps to Reproduce:
1. as described above
2.
3.
  
Actual results:
notify command fails

Expected results:
audbin appends to file without dying

Additional info:
see attached log file indicating problem

Comment 3 Steve Grubb 2007-03-21 15:33:56 UTC
Looks like an easy fix.

Comment 6 Steve Grubb 2007-03-21 17:33:11 UTC
laus-0.1-76RHEL3 has been built with what I believe to be the fix.

Comment 10 Red Hat Bugzilla 2007-06-11 18:39:59 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 the 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.

http://rhn.redhat.com/errata/RHBA-2007-0459.html