Bug 466790

Summary: Atop logrotate scripts broken
Product: [Fedora] Fedora EPEL Reporter: Jonathan Steffan <jonathansteffan>
Component: atopAssignee: Kairo Francisco de Araujo <kairo>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: el5CC: kairo, manuel.wolfshant
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: 2008-10-17 16:51:57 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:

Description Jonathan Steffan 2008-10-13 16:26:51 UTC
Description of problem:
atop logrotate script /etc/logrotate.d/atop is broken and breaks logrotate

Version-Release number of selected component (if applicable):
atop-1.23-6.el5

How reproducible:
always

Steps to Reproduce:
1. yum install atop 
2. logrotate -v /etc/logrotate.conf
  
Actual results:
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file acpid
reading config info for /var/log/acpid 
reading config file atop
reading config info for /var/log/atop/atop.log 
error: atop:prerotate or postrotate without endscript

Expected results:
logrotate runs.

Comment 1 Kairo Francisco de Araujo 2008-10-13 18:17:25 UTC
Jonathan,

Please try the version atop-1.23-8.el5
http://download.fedora.redhat.com/pub/epel/5/i386/

%changelog
* Mon Jul 21 2008 Kairo Araujo <kairoaraujo> - 1.23-8
- add bug fixes for #455223 and #455375
  logrotate output error:
  error: atop:prerotate or postrotate without endscript

* Mon May  5 2008 Kairo Araujo <kairoaraujo> - 1.23-7
- add bug fixes for #445174

* Thu Apr  3 2008 Kairo Araujo <kairoaraujo> - 1.23-6
- removed variable DATALIFE from atop.d and atop.crondaily

* Wed Apr  2 2008 Kairo Araujo <kairoaraujo> - 1.23-5
- improved atop.d and atop.crondaily (Manuel Wolfshant)

Comment 2 Kairo Francisco de Araujo 2008-10-17 16:51:57 UTC
This bug are fixed on version atop-1.23-8.el5