Package: atop
Version: 2.2.6-4
Severity: important

On systems running stretch and systemd and with both the acct and the atop
packages installed, the process accounting logs in /var/log/account/ only
cover one out of every 24 hours. The pattern is:

accton          |v3|     0.00|     0.00|     0.00|     0|     0|  4180.00|     
0.00|   18572    18569|Wed Feb 13 06:25:04 2019
[...]
atopacctd       |v3|     0.00|     0.00|414389280.00|     0|     0|     0.00|   
  0.00|     755        1|Thu Dec 27 08:20:13 2018

and then nothing. If I run "systemctl atopacct status" I see:
Feb 13 07:25:06 HOST atopacctd[755]: reactivate process accounting

This leads me to believe that the two packages are mutually incompatible
and should be declared as such (unless the incompatibility is removed,
of course). I'll now proceed to ban atop from my systems.

On a potentially related note, I see that /etc/init.d/atopacct checks
directories /var/account/pacct and /var/log/pacct but not /var/log/account,
and that the atop(1) man page refers to /var/account/pacct. There are also
(in /etc/logrotate.d/psacc{s,u}_atop) references to /etc/logrotate.d/psacct;
is any Debian package providing this file?

Reply via email to