+++ This bug was initially created as a clone of Bug #202204 +++ Description of problem: Our ntp servers only work with authentication keys. This stops ntpdate working properly on startup. We therefore have to manually hack /etc/init.d/ntpd to allow ntpdate to work properly on startup. There is no way to handle this situation in the present startup script which simply has: /usr/sbin/ntpdate $dropstr -s -b $tickers 2>/dev/null >/dev/null Could either the startup scripts examine the $ntpconf file for not just the server's IP but also maybe the optional key directive afterwards and pass this to ntpdate. Or a nastier way to simply allow an extra parameter to be passed from /etc/sysconfig/ntpd eg /etc/sysconfig/ntpd: # Drop root to id 'ntp:ntp' by default. OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid" # Set to 'yes' to sync hw clock after successful ntpdate. SYNC_HWCLOCK=no NTPDATEOPTIONS="-a 11 -k /etc/ntp/keys" /etc/init.d/ntpd: /usr/sbin/ntpdate $dropstr $NTPDATEOPTIONS -s -b $tickers
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0381.html