Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 159053 - Low availability of ntp deamon for relaying.
Low availability of ntp deamon for relaying.
Product: Fedora
Classification: Fedora
Component: ntp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miroslav Lichvar
Brian Brock
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-05-28 05:04 EDT by Christiaan Simons
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-27 07:58:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Christiaan Simons 2005-05-28 05:04:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Description of problem:
If the ntpd is used as NTP relay, and the (external) network is down, the deamon is not started. The /etc/rc.d/init.d script calls exit for this case.

Also the daemon may be started without ntp.conf in some cases, so the exit for this case is also very crude.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Setup your system as ntp relay.
2. Restart your ntpd service without network.

Actual Results:  There is no running ntp deamon afterwards! 

Expected Results:  The ntpd should allways be running, regardless of network status.

Additional info:

For an ntp relay it is common to use the undisciplined local clock driver as fall-back. You want to be able to bing up the daemon, even when your ISP is down,
you allways need a single source of time.

Other init scripts may also suffer from assuming network availability to be required for a service to run. The ordering in which you want to bring things up should not create silly dependencies.
Comment 1 Matthew Miller 2006-07-10 19:30:16 EDT
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!
Comment 2 Miroslav Lichvar 2006-07-27 07:58:06 EDT
In the /etc/sysconfig/network file that the ntpd initscript checks isn't the
current network status, but a setting if networking should be enabled or disabled.

It is correct to exit when NETWORKING=no.

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