172N/A<?xml version="1.0"?>
172N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
172N/A<!--
172N/A CDDL HEADER START
172N/A
172N/A The contents of this file are subject to the terms of the
172N/A Common Development and Distribution License (the "License").
172N/A You may not use this file except in compliance with the License.
172N/A
172N/A You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
172N/A or http://www.opensolaris.org/os/licensing.
172N/A See the License for the specific language governing permissions
172N/A and limitations under the License.
172N/A
172N/A When distributing Covered Code, include this CDDL HEADER in each
172N/A file and include the License file at usr/src/OPENSOLARIS.LICENSE.
172N/A If applicable, add the following below this CDDL HEADER, with the
172N/A fields enclosed by brackets "[]" replaced with your own identifying
172N/A information: Portions Copyright [yyyy] [name of copyright owner]
172N/A
172N/A CDDL HEADER END
172N/A
5960N/A Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
172N/A
172N/A NOTE: This service manifest is not editable; its contents will
172N/A be overwritten by package or patch operations, including
172N/A operating system upgrade. Make customizations in a different
172N/A file.
172N/A-->
172N/A
172N/A<service_bundle type='manifest' name='SUNWntpr:ntp'>
172N/A
172N/A<service
172N/A name='network/ntp'
172N/A type='service'
172N/A version='1'>
172N/A <single_instance />
4484N/A <dependency
172N/A name='network'
172N/A grouping='require_any'
172N/A restart_on='error'
172N/A type='service'>
172N/A <service_fmri value='svc:/network/service' />
172N/A </dependency>
172N/A
210N/A <dependency
210N/A name='filesystem'
210N/A grouping='require_all'
210N/A restart_on='error'
210N/A type='service'>
210N/A <service_fmri value='svc:/system/filesystem/minimal' />
210N/A </dependency>
210N/A
2195N/A <dependency
2195N/A name='ptp'
2195N/A grouping='exclude_all'
2195N/A restart_on='none'
2195N/A type='service'>
2195N/A <service_fmri value='svc:/network/ptp:default' />
2195N/A </dependency>
2195N/A
172N/A<!-- <dependent
172N/A name='ntp_multi-user'
172N/A grouping='optional_all'
172N/A restart_on='none'>
172N/A <service_fmri value='svc:/milestone/multi-user' />
172N/A </dependent>
172N/A-->
172N/A
172N/A <exec_method
172N/A type='method'
172N/A name='start'
172N/A exec='/lib/svc/method/ntp %m'
172N/A timeout_seconds='600'>
172N/A <method_context>
172N/A <method_credential
5960N/A user='daemon'
5960N/A group='daemon'
5960N/A privileges=
5960N/A'basic,!file_link_any,!proc_info,!proc_session,!sys_ib_info,!dax_access,net_privaddr,proc_lock_memory,sys_time,{file_write}:/tmp/*,{zone}:/var/ntp/*,{zone}:/system/volatile/ntp.pid,{file_dac_read,file_dac_search}:/etc/inet/*'
172N/A />
172N/A </method_context>
172N/A </exec_method>
172N/A
172N/A <exec_method
172N/A type='method'
172N/A name='restart'
172N/A exec='/lib/svc/method/ntp %m'
172N/A timeout_seconds='1800'>
172N/A <method_context>
172N/A <method_credential
5960N/A user='daemon'
5960N/A group='daemon'
5960N/A privileges=
5960N/A'basic,!file_link_any,!proc_info,!proc_session,!sys_ib_info,!dax_access,net_privaddr,proc_lock_memory,sys_time,{file_write}:/tmp/*,{zone}:/var/ntp/*,{zone}:/system/volatile/ntp.pid,{file_dac_read,file_dac_search}:/etc/inet/*'
172N/A />
172N/A </method_context>
172N/A </exec_method>
172N/A
172N/A <exec_method
172N/A type='method'
172N/A name='stop'
172N/A exec=':kill'
172N/A timeout_seconds='60' />
172N/A
172N/A <property_group name='general' type='framework'>
172N/A <!-- to start stop ntpd -->
172N/A <propval name='action_authorization' type='astring'
172N/A value='solaris.smf.manage.ntp' />
172N/A <propval name='value_authorization' type='astring'
172N/A value='solaris.smf.value.ntp' />
172N/A </property_group>
172N/A
172N/A <instance name="default" enabled="false">
172N/A <property_group name='config' type='application' >
5005N/A <!-- default property settings for ntpd(8). -->
4484N/A
172N/A <propval
172N/A name='wait_for_sync'
172N/A type='boolean'
172N/A value='false' />
4484N/A
172N/A <propval
172N/A name='no_auth_required'
172N/A type='boolean'
172N/A value='false' />
4484N/A
172N/A <propval
172N/A name='verbose_logging'
172N/A type='boolean'
172N/A value='false' />
4484N/A
172N/A <propval
172N/A name='slew_always'
172N/A type='boolean'
172N/A value='false' />
4484N/A
4484N/A <propval
4484N/A name='allow_step_at_boot'
4484N/A type='boolean'
4484N/A value='true' />
4484N/A
172N/A <propval
172N/A name='always_allow_large_step'
172N/A type='boolean'
172N/A value='true' />
4484N/A
172N/A <propval
7414N/A name='disable_local_time_adjustment'
7414N/A type='boolean'
7414N/A value='false' />
7414N/A
7414N/A <propval
172N/A name='logfile'
172N/A type='astring'
172N/A value='/var/ntp/ntp.log' />
4484N/A
172N/A <propval
172N/A name='debuglevel'
172N/A type='integer'
172N/A value='0' />
4484N/A
172N/A <propval
172N/A name='mdnsregister'
172N/A type='boolean'
172N/A value='false' />
4484N/A
172N/A <!-- to change properties -->
172N/A <propval
172N/A name='value_authorization'
172N/A type='astring'
172N/A value='solaris.smf.value.ntp' />
4484N/A
172N/A </property_group>
172N/A </instance>
172N/A <stability value='Unstable' />
172N/A
172N/A <template>
172N/A <common_name>
172N/A <loctext xml:lang='C'>
172N/A Network Time Protocol (NTP) Version 4
172N/A </loctext>
172N/A </common_name>
172N/A <documentation>
5005N/A <manpage title='ntpd' section='8' />
172N/A <manpage title='ntp.conf' section='4' />
7412N/A <manpage title='ntpq' section='8' />
172N/A </documentation>
7415N/A <pg_pattern name='config' type='application' target='this'
7415N/A required='false'>
7415N/A <prop_pattern name='wait_for_sync' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/APrevents service from going fully online until after the first
7415N/Atime the clock is set.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='no_auth_required' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/ADisables the need for broadcast and multicast servers to
7415N/Abe authenticated with crypto keys.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='verbose_logging' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AThe ntpd daemon is started with logging turned on.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='slew_always' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/APrevents the clock from stepping for measured offsets below 600 seconds.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='allow_step_at_boot' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AAllows the first clock correction after a system boot to be of any size. Ignores
7415N/Athe setting of slew_always for ths first clock adjustment.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='always_allow_large_step' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AExtends the meaning of allow_step_at_boot to apply to the first clock adjustment
7415N/Aafter ntpd is started and not just the first time after a boot.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='disable_local_time_adjustment' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/ARemoves the ability of ntpd to set the time on the local system, but allows it
7415N/Ato start anyway.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='logfile' type='astring'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AThe logfile that ntpd will use if verbose_logging is set. This file must be
7415N/Awriteable by the user daemon and be in a directory writable by that user.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='debuglevel' type='integer'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AThe level of debugging. A value of 0 disables debugging. Maximum debugging
7415N/Ais 7.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A <values>
7415N/A <value name='0'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/ATurn off debugging.
7415N/A </loctext>
7415N/A </description>
7415N/A </value>
7415N/A <value name='7'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AMaximum debugging.
7415N/A </loctext>
7415N/A </description>
7415N/A </value>
7415N/A </values>
7415N/A </prop_pattern>
7415N/A
7415N/A <prop_pattern name='mdnsregister' type='boolean'
7415N/A required='false'>
7415N/A <description>
7415N/A <loctext xml:lang='C'>
7415N/AAfter the clock is in sync, register the NTP service with mdns.
7415N/A </loctext>
7415N/A </description>
7415N/A <cardinality min='1' max='1' />
7415N/A </prop_pattern>
7415N/A
7415N/A </pg_pattern>
172N/A </template>
172N/A</service>
172N/A
172N/A</service_bundle>