Bug 147782

Summary: logrotate script errors
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: psacctAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-16 11:24:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136450    

Description Joe Orton 2005-02-11 08:55:20 UTC
[root@trash logrotate.d]# pwd
/etc/logrotate.d
[root@trash logrotate.d]# rpm -qf psacct
psacct-6.3.2-34.fc4

logrotate cron job produces errors:

/etc/cron.daily/logrotate:

error: psacct:7 unknown option 'endscript' -- ignoring line
error: psacct:9 unknown option 'delatcompress' -- ignoring line

Comment 1 Michal Jaegermann 2005-02-14 01:29:04 UTC
There are typos in /etc/logrotate.d/psacct.
'prerotate' on line 5 is commented out causing complaints on line 7
and 'delatcompress' should read 'delaycompress'.

Also in other scripts lines like 'prerotate' and 'endscript' do
NOT start on the left margin.

Comment 2 Ivana Varekova 2005-02-16 11:24:44 UTC
Thank you for your notice
The problem was fixed (fixed version is 6.3.2-35)
Ivana Varekova