On Fri, Mar 27, 2009 at 03:33:24PM +0100, Per Jessen wrote:
Mitch Claborn wrote:
OpenSuse 11.1 ntpd seems to have a problem resolving the name "us.pool.ntp.org" when running as a daemon, but not from the command line.
Is your ntpd running chroot'ed ? Check the settings of /etc/resolv.conf in the chroot jail.
The default is to copy all required files from /etc/ to the chroot at /var/lib/ntp/etc/ If that's not the case please file a bug report. Due to the default you must not modify the ntp settings _inside_ the chroot. You have to edit the default files inside /etc/. A service ntp restart ensures to copy the required files into the chroot. It might even be usefull not to use a static setting and instead use servers provided by DHCP. But this depends on the service provider or your DHCP server if it issues NTP settings by DHCP.[1] By default openSUSE accepts such a run time configuration of ntpd. And that is even the preferred way as it either doesn't require a modification of the ntp conf file nor will the system miss a change of the servers IP address.[2] [1] Check the output of "dhcpcd-test <interface-name>" for NTPSERVERS. [2] Yes, it happens that an admin changes the IP address of a NTP server. And sometimes you don't control this nor are you informed. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany