Red Hat Bugzilla – Bug 142926
multiple problems with ntpd init.d script
Last modified: 2007-11-30 17:07:15 EST
The ntpd init.d script tries to take what was specified for the ntpd
-u option and pass it to ntpdate as the -U option. This will fail if
the ntpd -u option specified an (optional) group.
The chroot option changed from -T to -i.
If the -i option is used, ntpd now looks for the configuration file
*before* it calls chroot(). Therefore, adjusting $ntpconf based on
the chroot value is wrong.
$ntpstep should be with $ntpconf; that is, outside of the chroot.
Therefore, there is no need to pay attention to the -i option at all.
Created attachment 108583 [details]
patch for /etc/rc.d/init.d/ntpd
This patch fixes all of the problems detailed in comment #1.
Errr, the patch fixes all of the problems detailed in the initial bug
description, that is.
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.