Bug 179914
Summary: | ntpd (non-root) autokey not working | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Peter Pramberger <peter> | ||||||||||||||||||||
Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> | ||||||||||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||||||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||||||||
Priority: | medium | ||||||||||||||||||||||
Version: | 4.0 | CC: | tao | ||||||||||||||||||||
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: | 2006-05-04 07:30:47 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: | |||||||||||||||||||||||
Attachments: |
|
Description
Peter Pramberger
2006-02-03 20:32:26 UTC
Created attachment 124120 [details]
Example NTP config
Created attachment 124121 [details]
Directory listing of /etc/ntp
Created attachment 124122 [details]
Log output
Created attachment 124123 [details]
SELinux policy extension
Created attachment 124124 [details]
SELinux policy extension
Created attachment 124125 [details]
Example NTP config
Steps 7 and 8 in "Steps to Reproduce" are wrong. The correct procedure is: 7. On the first host run "RANDFILE=/var/lib/ntp/random ntp-keygen -T -I -p somepass; chown root:ntp ntpkey_*; chmod 0640 ntpkey_*". Copy the resulting ntpkey_IFFpar* file to "/etc/ntp" on the second host. 8. On the second host link the copied file to "ntpkey_iff_hostname2" and then run "RANDFILE=/var/lib/ntp/random ntp-keygen -T -q somepass -p somepass; chown root:ntp ntpkey_*; chmod 0640 ntpkey_*". It seems this has been fixed in some version after stable-20040617; I've tested with stable-20060127, and it works running as non-root. Created attachment 124201 [details]
SELinux policy extension
Created attachment 124202 [details]
New version for testing
Created attachment 124203 [details]
Source RPM
Thanks for the extensive description. The problem is caused by a memory lock limit, which is insufficient. Fix for that is planned for the upcoming RHEL update. Closing as duplicate. *** This bug has been marked as a duplicate of 177052 *** |