Bug 471026 - Review Request: chrony - An NTP client/server
Summary: Review Request: chrony - An NTP client/server
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-11 13:22 UTC by Miroslav Lichvar
Modified: 2011-05-18 21:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-24 13:37:17 UTC
Type: ---
Embargoed:
dan: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Miroslav Lichvar 2008-11-11 13:22:55 UTC
Spec URL: http://fedorapeople.org/~mlichvar/tmp/chrony.spec
SRPM URL: http://fedorapeople.org/~mlichvar/tmp/chrony-1.23-1.20081106gitbe42b4.fc10.src.rpm
Description:
A client/server for the Network Time Protocol, this program keeps your
computer's clock accurate. It was specially designed to support
systems with dial-up Internet connections, and also supports computers
in permanently connected environments.

Comment 1 Dan Horák 2008-11-14 13:41:34 UTC
formal review is here, see the notes below:

OK	source files match upstream:
	    f0c6b32099329f358dbdb4f62753d2c7cbc13c79  chrony-1.23.tar.gz
OK	package meets naming and versioning guidelines.
OK	specfile is properly named, is cleanly written and uses macros consistently.
OK	dist tag is present.
OK	build root is correct.
OK	license field matches the actual license.
OK	license is open source-compatible (GPLv2). License text included in package.
OK	latest version is being packaged.
OK	BuildRequires are proper.
OK	compiler flags are appropriate.
OK	%clean is present.
OK	package builds in mock (Rawhide/x86_64).
OK	debuginfo package looks complete.
??	rpmlint is silent.
OK	final provides and requires look sane.
N/A	%check is present and all tests pass.
OK	no shared libraries are added to the regular linker search paths.
OK	owns the directories it creates.
OK	doesn't own any directories it shouldn't.
OK	no duplicates in %files.
OK	file permissions are appropriate.
??	correct scriptlets present.
OK	code, not content.
OK	documentation is small, so no -docs subpackage is necessary.
OK	%docs are not necessary for the proper functioning of the package.
OK	no headers.
OK	no pkgconfig files.
OK	no libtool .la droppings.
OK	not a GUI app.


- rpmlint complains a bit
chrony.src:52: W: configure-without-libdir-spec
    hand-crafted configure script, can be ignored
    
chrony.x86_64: W: non-standard-uid /var/lib/chrony chrony
chrony.x86_64: W: non-standard-gid /var/lib/chrony chrony
chrony.x86_64: W: non-standard-uid /var/log/chrony chrony
chrony.x86_64: W: non-standard-gid /var/log/chrony chrony
chrony.x86_64: W: non-standard-uid /var/lib/chrony/rtc chrony
chrony.x86_64: W: non-standard-gid /var/lib/chrony/rtc chrony
chrony.x86_64: W: non-standard-uid /var/lib/chrony/drift chrony
chrony.x86_64: W: non-standard-gid /var/lib/chrony/drift chrony
    OK

chrony.x86_64: E: non-readable /etc/chrony.keys 0600
    OK

chrony.x86_64: W: log-files-without-logrotate /var/log/chrony
    does chrony rotate the logs itself or ...?

- the texinfo postun scriptlet is called at wrong occasion (https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Texinfo)

Comment 2 Miroslav Lichvar 2008-11-14 14:21:30 UTC
chrony doesn't rotate the logs, but there is a small problem that it keeps the files open. It needs to be told to release them by cyclelogs command which requires authorization which requires a valid commandkey in chrony.keys file.

I'll try to fix both issues and post an update.

Comment 3 Miroslav Lichvar 2008-11-19 16:13:04 UTC
http://fedorapeople.org/~mlichvar/tmp/chrony-1.23-2.20081106gitbe42b4.fc10.src.rpm

* Wed Nov 19 2008 Miroslav Lichvar <mlichvar> 1.23-2.20081106gitbe42b4
- fix info uninstall
- generate random command key in init script
- support cyclelogs, online, offline commands in init script
- add logrotate script

Comment 4 Dan Horák 2008-11-19 17:33:14 UTC
All issues are fixed, so this package is APPROVED.

One final note - the Guidelines recommend that you add a comment nearby the patches that tracks their upstream status: https://fedoraproject.org/wiki/Packaging/PatchUpstreamStatus

Comment 5 Miroslav Lichvar 2008-11-19 17:42:18 UTC
Thanks for the review.

Comment 6 Miroslav Lichvar 2008-11-19 17:44:48 UTC
New Package CVS Request
=======================
Package Name: chrony
Short Description: An NTP client/server
Owners: mlichvar
Branches: F-9 F-10
InitialCC:

Comment 7 Kevin Fenzi 2008-11-23 04:08:44 UTC
cvs done.

Comment 8 Miroslav Lichvar 2011-05-13 11:38:08 UTC
Package Change Request
======================
Package Name: chrony
New Branches: el5 el6
Owners: mlichvar

Comment 9 Jason Tibbitts 2011-05-18 21:16:57 UTC
Git done (by process-git-requests).


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