chrony, time-daemon and ntp-server

Bug #144270 reported by Fabian
4
Affects Status Importance Assigned to Milestone
ntp (Debian)
Fix Released
Unknown
ntp (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: ntp

Package ntp provides "ntp-server" and package chrony provides "time-daemon". That seems inconsistent and it would be desirable that either chrony provide "ntp-server" or ntp provide "time-daemon" or both.

Revision history for this message
In , John Hasler (john-dhh) wrote : Re: Bug#316549: time-daemon pseudopackage

Thank you for your report.
--
John Hasler
<email address hidden>
Elmwood, WI USA

Revision history for this message
In , Justin Pryzby (justinpryzby-users) wrote : cloning 316549, reassign -1 to chrony, reassign 316549 to ntp

# Automatically generated email from bts, devscripts version 2.9.7
clone 316549 -1
reassign -1 chrony
reassign 316549 ntp

Revision history for this message
In , Justin Pryzby (justinpryzby-users) wrote : time-daemon pseudopackage

Can I expect to see this bug fixed for etch?

http://bugs.debian.org/316549

Justin

Revision history for this message
In , Peter Eisentraut (petere) wrote : Re: Bug#316549: time-daemon pseudopackage

What would be the operational benefit from having such a pseudopackage?

Revision history for this message
In , Peter Eisentraut (petere) wrote : tagging 316549

# Automatically generated email from bts, devscripts version 2.9.20
tags 316549 + moreinfo

Revision history for this message
In , Justin Pryzby (justinpryzby-users) wrote : Re: Bug#316549: time-daemon pseudopackage

retitle 316549 ntp: please provide time-daemon virtual package
tag 316549 - moreinfo
thanks

On Tue, Jun 06, 2006 at 07:08:47PM +0200, Peter Eisentraut wrote:
> What would be the operational benefit from having such a pseudopackage?
It's recommended by policy;
  /usr/share/doc/debian-policy/virtual-package-names-list.txt.gz

Revision history for this message
In , Peter Eisentraut (petere) wrote :

Justin Pryzby wrote:
> > What would be the operational benefit from having such a
> > pseudopackage?
>
> It's recommended by policy;
> /usr/share/doc/debian-policy/virtual-package-names-list.txt.gz

That is not an operational reason. The virtual package name list does
not specify the precise interfaces that a virtual package providing
package needs to offer, so by itself it's useless as a guideline.

Revision history for this message
In , Peter Eisentraut (petere) wrote : tagging 316549

# Automatically generated email from bts, devscripts version 2.9.20
tags 316549 + moreinfo

Revision history for this message
In , Peter Eisentraut (petere) wrote : block 316549 with 391841

# Automatically generated email from bts, devscripts version 2.9.21
block 316549 with 391841

Revision history for this message
Fabian (ritzmann-extern+ubuntu) wrote :

Binary package hint: ntp

Package ntp provides "ntp-server" and package chrony provides "time-daemon". That seems inconsistent and it would be desirable that either chrony provide "ntp-server" or ntp provide "time-daemon" or both.

Revision history for this message
Fabian (ritzmann-extern+ubuntu) wrote :

Forgot to mention, this is for Gutsy.

Revision history for this message
In , Philipp Kern (pkern) wrote : Re: Bug#316549: time-daemon pseudopackage

On Thu, Jun 08, 2006 at 08:17:53PM +0200, Peter Eisentraut wrote:
[time-daemon]
> > > What would be the operational benefit from having such a
> > > pseudopackage?
> > It's recommended by policy;
> > /usr/share/doc/debian-policy/virtual-package-names-list.txt.gz
> That is not an operational reason. The virtual package name list does
> not specify the precise interfaces that a virtual package providing
> package needs to offer, so by itself it's useless as a guideline.

I've got one and I got mildly annoyed that this was not solved for ntp
yet. I just got a bugreport against my package which wants chrony to be
added to the `ntpdate | ntp' dependency of it. An accurate time is
needed for aiccu just like for Kerberos because it is included in the
handshake with the tunnel broker which will deny the IPv6 tunnel request
if the time is too far off (IIRC > 300s).

Thus I need to depend on some sort of time daemon, but only chrony and
openntpd provide time-daemon, ntp does not, which will force me to the
silly `ntpdate | ntp | time-daemon' dependency.

Currently chrony and openntpd block installation of ntp manually via a
seperate conflicts, instead of just conflicting against time-daemon.

Kind regards,
Philipp Kern

Revision history for this message
In , Peter Eisentraut (petere) wrote :

Am Mittwoch, 3. Oktober 2007 schrieb Philipp Kern:
> I've got one and I got mildly annoyed that this was not solved for ntp
> yet. I just got a bugreport against my package which wants chrony to be
> added to the `ntpdate | ntp' dependency of it. An accurate time is
> needed for aiccu just like for Kerberos because it is included in the
> handshake with the tunnel broker which will deny the IPv6 tunnel request
> if the time is too far off (IIRC > 300s).

I can only repeat my earlier answer: There is no definition of what a
time-daemon virtual package does, so it's a completely random guess as to
what should be done here.

Revision history for this message
In , Juliusz Chroboczek (juliusz-chroboczek) wrote :

(I'm the original submitter of #428211.)

> I can only repeat my earlier answer: There is no definition of what a
> time-daemon virtual package does, so it's a completely random guess as to
> what should be done here.

I can only agree with Peter, unfortunately. Like many other programs
in Debian, Aiccu only requires time accurate to a few minutes; it
could recommend one of a large number of packages, including ntp,
chrony, ntpdate, rdate, and probably many others I'm not familiar with.

The latter two clearly don't qualify as ``time daemons''. Perhaps the
ntp maintainers, the chrony maintainers, and the rdate maintainers
could get together to define a new pseudo-package suitable for such cases?

                                        Juliusz

Changed in ntp:
status: Unknown → Incomplete
Revision history for this message
Hew (hew) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Intrepid Ibex. From what I can tell, ntp-server does not exist on my Intrepid install. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in ntp:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Hew (hew) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in ntp:
status: Incomplete → Invalid
Revision history for this message
Fabian (ritzmann-extern+ubuntu) wrote :

I looked at the packages for Intrepid and the problem remains:

Package "ntp" provides "ntp-server". Package "chrony" provides "time-daemon". Both "ntp" and "chrony" have similar functionality. I guess the solution with least impact would be if both "ntp" and "chrony" each provided "ntp-server" as well as "time-daemon".

Revision history for this message
Hew (hew) wrote :

The ntp package does not provide ntp-server on Intrepid, and neither does any other package in the repositories. The chrony and openntpd packages provide time-daemon, and it's only mythtv and aiccu that depend on it. They both handle it with a ntp | time-daemon dependency. I take it that this bug is therefore asking for ntp to provide time-daemon.

This bug is already at Debian, and the discussion has been ongoing for some time as to whether providing this package serves any useful purpose. Whether or not upstream decides to provide time-daemon is going to be a decision that will be inherited by Ubuntu. Since no action is required in Ubuntu, I am leaving this bug closed against Ubuntu. Thanks again for your report.

Revision history for this message
Fabian (ritzmann-extern+ubuntu) wrote :

Hmm, I must have looked at the wrong version of the package then. Never mind. (BTW, it would be helpful if packages.ubuntu.com had a facility to display what a package is providing.)

Revision history for this message
In , Dererk (dererk-debian) wrote : My bad, fussion this both reports please

forcemerge 316549 560717
thanks

--
BOFH excuse #427:
network down, IP packets delivered via UPS

Revision history for this message
In , Dererk (dererk-debian) wrote : Please consider as 'time-daemon' alternative

Helo!

It's been some time since this bug/wishlist was filed, and since then
more packages have to workaround the situation in which 'ntp' package is
not part of the time-daemon virtual package by adding 'ntp |
time-daemon', instead of just Depending/Recommending/Sugesting the
'time-daemon' virtual package.

A quick reverse dependency package lists tell me that all this packages
have to unnecessarily require to depend on both ntp *and* time-daemon,
instead of just depending on 'time-daemon' as it would be expected:

aiccu
openafs-fileserver
slony1-bin

I might be wrong, but I consider the policy is quite straight forward in
this case as , and it's even specified on Debian's virtual-package list:
http://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt

System
------
[snip]
 linux-kernel-log-daemon a daemon to facilitate logging for the Linux kernel
 system-log-daemon a daemon that provides a logging facility for
other applications
 time-daemon anything that serves as a time daemon

Besides that, all of this packages have a possible exclusive-unwanted
Dependency/Recommendation/Suggestion on just 'ntp', requiring for an
specific software instead of asking for the provision of a service
through the virtual package 'time-daemon', as specified on the Debian
Policy 3.6: 'All packages should use virtual package names where
appropriate, and arrange to create new ones if necessary'.

switzerland
predict
predict-gsat
jffnms
hobbit-plugins
gnumed-client
gnome-system-tools
dovecot-common
education-networked
education-main-server
dancer-ircd
tucnak2
ltsp-client
ltsp-client-core

Please consider 'ntp' as a candidate for providing 'time-daemon'.

Greetings,

Dererk

--
BOFH excuse #361:
Communist revolutionaries taking over the server room and demanding all the computers in the building or they shoot the sysadmin. Poor misguided fools.

Changed in ntp (Debian):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.