[root@cytherea logrotate.d]# pwd /etc/logrotate.d [root@cytherea logrotate.d]# rpm -qf psacct psacct-6.3.2-33.rhel4 [root@cytherea logrotate.d]# logrotate psacct error: psacct:7 unknown option 'endscript' -- ignoring line Similar problem in FC is reported in bug #147782.
One thing to note about this is that the bug doesn't affect the version of psacct which shipped in RHEL4. There were changes applied after that which were being scheduled for a U1 delivery and that's where this regression was introduced. So in testing, just make sure that you can successfully rotate the psacct log file.
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-2005-167.html