[Bug 438575] Review Request: ATOP - An interactive system load monitor

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 22 21:03:47 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ATOP - An interactive system load monitor


https://bugzilla.redhat.com/show_bug.cgi?id=438575


xjakub at fi.muni.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xjakub at fi.muni.cz




------- Additional Comments From xjakub at fi.muni.cz  2008-03-22 17:03 EST -------
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).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list