Bug 82713
Summary: | ntp rc.d script fails to open firewall for peers | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | John Mellor <john> |
Component: | ntp | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | davidbh-redhatbeta, mattdm |
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-10-08 11:59:52 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
John Mellor
2003-01-25 06:15:27 UTC
Please alter the code in /etc/rc.d/init.d/ntpd script to determine timeservers to be: timeservers=`/bin/sed \ -n -e 's/\#.*$//;/127.*/d' \ -e 's/^[[:blank:]]*server[[:blank:]][[:blank:]]*\([[:alnum:].]*\)[[:blank:]]*.*/\1/p' \ -e 's/^[[:blank:]]*peer[[:blank:]][[:blank:]]*\([[:alnum:].]*\)[[:blank:]]*.*/\1/p' \ $ntpconf` This should resolve all of the problems. Still not fixed in Phoebe-3. Please re-open. Sites listed as peers are not being punched through the firewall. Suggested code change: replace the sed script assignment of timeserver (2 places) with: timeservers=`/usr/bin/awk '$1=="peer"||$1=="server"{print $2}' $ntpconf` This change also fixes bug 82714 correctly. *** Bug 85894 has been marked as a duplicate of this bug. *** *** Bug 85090 has been marked as a duplicate of this bug. *** |