+++ This bug was initially created as a clone of Bug #165006 +++
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323
Description of problem:
acct() does not have Large File support. If acct() input file is larger than
2GBs, acct() does not start process accounting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use acct() system call with >2GBs input file.
Actual Results: accton: File too large
process accounting does not start
Expected Results: process accounting starts
Ernie Petrides's comment:
I believe the handling for the acct() system call within the kernel needs
to add the O_LARGEFILE flag into the 2nd argument in the call to the
filp_open() function from the sys_acct() function (in kernel/acct.c) to
avoid SIGXFSZ signals being sent to commands while accounting is enabled
and the accounting file has exceeded 2 GBs in size.
Created attachment 117752 [details]
The changes are as Ernie has suggested.
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.