[Bug 1510565] Review Request: ntpstat - Utility to print NTP synchronization status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #7 from Miroslav Lichvar <mlichvar@xxxxxxxxxx> ---
(In reply to Pavel Zhukov from comment #6)
> (In reply to Miroslav Lichvar from comment #5)
> > What if a third package was added to fedora, which provided this service?
> > ntpstat can get the data from ntpd (using ntpq) and chronyd (using chronyc),
> > but that's all.
> Well it's theoretical question which applies for mysql example as well. 
> There're few options:
> 1) Add support of the service to ntpstat
> 2) Add "Conflicts:" to either the service or ntpstat spec.
> In any case As far as ntpstat suggests chrony It's safe. In other words user
> has to explicitly install ntpstat and "the service".

Wouldn't it better to just explicitly list the supported services in the
ntpstat spec using a rich dependency, e.g. "Requires: (ntp or chrony)" ?

> > If old ntp is installed, I think an upgrade should result in both new ntp
> > and ntpstat installed. 
> Something like Enhances: ntpstat in ntp.spec? 

That does not seem to work. I created a testing repo with ntp which "enhances"
ntpstat and also contains the new ntpstat package, but dnf seems to ignore it:

# dnf update --disablerepo=* --enablerepo=local
...
Upgrading:
 ntp                             x86_64                        
4.2.8p10-4.nontpstat.fc28                          local                       
 670 k
 ntpdate                         x86_64                        
4.2.8p10-4.nontpstat.fc28                          local                       
  85 k

I tried adding "Obsoletes: ntp < 4.2.8p10-4" to ntpstat.spec, expecting ntp
would be dropped without replacement as chrony is installed, but the result was
the same as before.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux