[ https://issues.apache.org/jira/browse/CASSANDRA-5816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722644#comment-13722644 ]
paul cannon commented on CASSANDRA-5816: ---------------------------------------- -1. If anything, we should change the Recommends: line to "{{ntp | time-daemon}}". The chrony package {{Provides: time-daemon}}, so that should meet the needs for users that want Chrony. It would be silly to try and keep a list of all packaged time sync systems in Cassandra's dependencies. But also, this is only a Recommends:. People administering apt-based systems should be able to disregard Recommends as they like. If they can't, that is a configuration problem or a pebkac problem or a bug in APT. > [PATCH] Debian packaging: also recommend chrony and ptpd in addition to ntp > --------------------------------------------------------------------------- > > Key: CASSANDRA-5816 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5816 > Project: Cassandra > Issue Type: Improvement > Components: Packaging > Affects Versions: 1.2.7 > Reporter: Blair Zajac > Assignee: Blair Zajac > Priority: Minor > > I'm switching my Ubuntu servers running Cassandra from ntp to chrony for the > reasons cited here when Fedora made the switch to have chrony be the default > NTP client: > http://fedoraproject.org/wiki/Features/ChronyDefaultNTP > Currently, the debian packaging recommends only ntp so if chrony is installed > it'll want to remove it and install ntp. I also added ptpd, the Precision > Time Protocol daemon, which is another time syncing server for completeness. > Please apply this to the 1.2 branch so the next 1.2.x release can deploy with > chrony. > Below is the patch since it's a one-liner. > Thanks, > Blair > --- a/debian/control > +++ b/debian/control > @@ -12,7 +12,7 @@ Standards-Version: 3.8.3 > Package: cassandra > Architecture: all > Depends: openjdk-6-jre-headless (>= 6b11) | java6-runtime, jsvc (>= 1.0), > libcommons-daemon-java (>= 1.0), adduser, libjna-java, python (>= 2.5), > python-support (>= 0.90.0), ${misc:Depends} > -Recommends: ntp > +Recommends: chrony | ntp | ptpd > Conflicts: apache-cassandra1 > Replaces: apache-cassandra1 > Description: distributed storage system for structured data -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira