Hide Forgot
Description of problem: psacct will start the accounting everytime after the logroate, even though it is disabled by chkconfig. This bug was reported on RHEL5 (BZ#447028), but the fix was not forward ported on RHEL6. Version-Release number of selected component (if applicable): psacct-6.3.2-63.el6_3.3.x86_64 from RHEL6.8 Beta iso. Additional informatoin. On RHEL5, /etc/logroate.d/psacct postrotate if [ -f /var/lock/subsys/psacct ]; then /usr/sbin/accton /var/account/pacct fi endscript } On RHEL6, /etc/logroate.d/psacct postrotate /usr/sbin/accton /var/account/pacct endscript }
Thanks for report, confirmed, however as RHEL 6 is entering production phase 2 with RHEL 6.9 update, I can't guarantee this will get prioritized for fix. In RHEL 7, psacct logrotate file is much better, rewritten, so issue doesn't occur there.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0770.html