Red Hat Bugzilla – Bug 148856
logrotate script errors
Last modified: 2007-11-30 17:07:16 EST
[root@cytherea logrotate.d]# pwd
[root@cytherea logrotate.d]# rpm -qf psacct
[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.