Hi,
I couldn't get xntpd to start automatically no matter how many times I would enter svcadm enable ntp or svcadm restart ntp in 3 separate boxes. All 3 machines are running Solaris 10. After reading through several threads I think my problem is caused by a dependency that is not enabled. On one of my machines I entered the following command:
# svcs -l svc:/network/ntp:default
fmri svc:/network/ntp:default
enabled true
state online
next_state none
state_time Mon Aug 31 13:40:01 2009
logfile /var/svc/log/network-ntp:default.log
restarter svc:/system/svc/restarter:default
dependency optional_all/none svc:/platform/sun4u/dscp (disabled)
I googled the dscp service and I can't see the need for this dependency. I also looked over several threads which showed examples of the ntp services dependencies and there was not one mentioning the dscp service as needed.
The following is the contents of my release file.
# cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
My question is: Is this a bug or am I missing a patch? I don't see a reason for this dependency. I think that given the condition above when my machine reboots xntpd will not be started automatically.
TIA,
Maizo