We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue occurs in lxc armhf container.
#./atopacctd cannot switch on process accounting: Operation not permitted # atop Floating point exception (core dumped)
atopacctd leaves a zero-length shadow file
atopacctd
ls -l /var/run/pacct_shadow.d total 4 -rw-r--r-- 1 root root 0 Oct 2 22:46 0000000000.paf
that atop attempt to read.
atop
static int atopacctd(int swon) retries attempts to read it at acctproc.c:441 and exits on failure.
static int atopacctd(int swon)
It returns 1 (success) and does not zero out maxshadowrec variable in this case causing a subsequent division by zero.
The text was updated successfully, but these errors were encountered:
Avoid floating point exception when atopacctd fails (solves issue #277)
f72f7c0
No branches or pull requests
The issue occurs in lxc armhf container.
atopacctd
leaves a zero-length shadow filethat
atop
attempt to read.static int atopacctd(int swon)
retries attempts to read it at acctproc.c:441 and exits on failure.It returns 1 (success) and does not zero out maxshadowrec variable in this case causing a subsequent division by zero.
The text was updated successfully, but these errors were encountered: