Bug 438575 - Review Request: ATOP - An interactive system load monitor
Summary: Review Request: ATOP - An interactive system load monitor
Keywords:
Status: CLOSED DUPLICATE of bug 430377
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-22 07:00 UTC by Gilboa Davara
Modified: 2008-03-24 14:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-24 14:52:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gilboa Davara 2008-03-22 07:00:07 UTC
Spec URL: http://gilboadavara.thecodergeek.com/atop.spec
SRPM URL: http://gilboadavara.thecodergeek.com/atop-1.23-2.fc8.src.rpm

Description:
ATOP is an interactive system load monitor.
ATOP displays CPU, memory, disk and network utilization as
well as process information.
ATOP can also be used to log system and process information
in raw format for long term analysis.

$ rpmlint -i -v atop-1.23-2.fc8.src.rpm
atop.src: I: checking

Comment 1 Milos Jakubicek 2008-03-22 21:03:46 UTC
Some informal review notes:

1) Obviously you forgot to run rpmlint also on the final RPM:)

>rpmlint atop-1.23-2.fc8.x86_64.rpm
atop.x86_64: E: setuid-binary /usr/bin/atop root 04711
atop.x86_64: E: non-standard-executable-perm /usr/bin/atop 04711
atop.x86_64: E: non-standard-executable-perm /usr/bin/atop 04711
atop.x86_64: W: non-conffile-in-etc /etc/cron.d/atop
atop.x86_64: E: non-readable /etc/atop/atop.daily 0711
atop.x86_64: E: non-standard-executable-perm /etc/atop/atop.daily 0711
atop.x86_64: E: incoherent-logrotate-file /etc/logrotate.d/psaccu_atop
atop.x86_64: W: non-conffile-in-etc /etc/logrotate.d/psaccu_atop
atop.x86_64: E: incoherent-logrotate-file /etc/logrotate.d/psaccs_atop
atop.x86_64: W: non-conffile-in-etc /etc/logrotate.d/psaccs_atop
atop.x86_64: E: executable-marked-as-config-file /etc/rc.d/init.d/atop
atop.x86_64: W: conffile-without-noreplace-flag /etc/rc.d/init.d/atop
atop.x86_64: W: dangerous-command-in-%post mv
atop.x86_64: W: service-default-enabled /etc/rc.d/init.d/atop
atop.x86_64: E: subsys-not-used /etc/rc.d/init.d/atop

2) Init scripts must not be marked as %config files.

(see
http://fedoraproject.org/wiki/Packaging/Guidelines#head-9373fe769ce512a730561f8490c54676d5d686fb)

3) Licensing: it should be GPLv2+, not just GPLv2.

(see
http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#head-4d5634799c488896bc50697288213a0b2d9acbae)

4) /sbin/chkconfig

You should add also a %postun or %preun section with /sbin/chkconfig --del atop
when you run /sbin/chkconfig --add when installing the package.

5) Services shouldn't be started by default.

(chkconfig: 2345 85 15 in the init script).

Builds fine in Koji (http://koji.fedoraproject.org/koji/taskinfo?taskID=526476).

Comment 2 Milos Jakubicek 2008-03-22 21:15:16 UTC
6) You should require chkconfig and logrotate.

Comment 3 Kairo Araujo 2008-03-24 12:55:44 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=430377

Comment 4 Mamoru TASAKA 2008-03-24 14:52:48 UTC

*** This bug has been marked as a duplicate of 430377 ***


Note You need to log in before you can comment on or make changes to this bug.