Bug 173972
Summary: | ntp fails when IP address changes | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Avi Kivity <avi> |
Component: | ntp | Assignee: | Petr Raszyk <praszyk> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-30 15:12:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Avi Kivity
2005-11-23 08:40:20 UTC
If your IP-address has been changed, you must restart ntpd. Or you can run 'ntpdate' in a batch (as root): ------------------------------------------ for ((;;)) do sleep 10; echo 'I try sinc my date/time'; ntpdate -b pool.ntp.org done ------------------------------------------ Servers should not fail randomly; there is no one to restart them. In this case, the server doesn't even exit, it just stops syncing and time begins to drift. Running ntpdate in a loop is not a solution since it does not do frequency compensation and is probably a drain on timeserver resources. Servers should not fail randomly; YES there is no one to restart them YES (but cron can ...) ....the server doesn't even exit,.. GREAT Running ntpdate in a loop is not a solution YES RESUME: Your IP-address should be fixed (not changing) >Servers should not fail randomly; YES Agree >there is no one to restart them YES (but cron can ...) Random users should not need to write cron jobs to restart servers. >....the server doesn't even exit,.. GREAT It does no useful work, either. >Running ntpdate in a loop is not a solution YES And? >RESUME: >Your IP-address should be fixed (not changing) Dynamic IP addressed are a reality. Right now ntpd is useless for most ADSL users. Please fix this bug. It is embarrassing to have ntpd fail on such a common scenario as dynamic IP. I assume you will use ntpd as a client (instead of ntpdate). A primary goal of ntpd is to work as a server. A server is a 'service' for a clients. A client can connect to a server via fixed IP-address. If the address of a server is not 'fix', the client cannot connect to them. |