I'm not familiar with NTP configuration but the xntpd man page only talks about "Host Address" and "IP Address". So, is it supported to use hostnames that require a name service for resolution ?
-- Renaud Shwetha Srinivasan - Sun Microsystems - Bangalore India wrote: > Hi, > I have a certain escalation where the customer doesn't have NTP working > right because it cannot resolve host names. This happens because the DNS > service is not necessarily started before the NTP service, leaving it > unable to resolve hostnames. I have tried to fix this by adding a > dependency on name-services (in ntp.xml) as follows : > > <dependency name='name-services' > grouping='require_any' > restart_on='error' > type='service'> > <service_fmri value='svc:/milestone/name-services' /> > </dependency> > > While reviewing this fix, Brian suggested that in the future, many > customers will want to deploy DNSSEC which requires NTP to be running > before the service is initialized. As an alternative, he suggests that > we either > - have two services or > - have the start method query SMF for the status of the milestones - > this alternative has the advantage of letting us look at the conf file > and do the right thing dynamically. > > Any thoughts from the experts on this ? > > Thanks for your time, > Shwetha > > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org
