Bug 81564

Summary: error from initscript when using hostnames for servers
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: ntpAssignee: Harald Hoyer <harald>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-30 16:10:30 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 Tim Waugh 2003-01-10 15:46:53 UTC
Description of problem:
The initscript gives errors:

ntpd: Removing firewall opening for ntp.demon.co.uk port 123iptables: Bad rule
(does a matching rule exist in that chain?)
[etc]

Version-Release number of selected component (if applicable):
ntp-4.1.1b-1

How reproducible:
100%

Steps to Reproduce:
1. Use 'server hostname.domain.whatever' in ntp.conf
2. service ntp restart
    
Actual results:
Errors.

Expected results:
No errors.

Additional info:
It could either ignore non-IP entries, or (better) use dig to figure out the IP
addresses for each hostname; in the latter case it needs to start up after named
of course.

Comment 1 Harald Hoyer 2003-01-30 16:10:30 UTC
1. hostnames are not safe and the name server could be down... not reliable.
2. maybe ntpd is not running anymore or your firewall was modified in the meantime
I could direct error messages to /dev/null, but this is not intended..