view usr/src/cmd/idmap/idmapd/idmap.xml @ 21437:624e8530581c

11004 Several door servers don't properly handle exiting threads 11198 Allow adjustment of max_threads for idmapd Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
author Matt Barden <matt.barden@nexenta.com>
date Wed, 05 Dec 2018 16:59:06 -0500
parents 921431d2e283
children 90c979f55037
line wrap: on
line source

<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
 Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 Copyright 2018 Nexenta Systems, Inc.  All rights reserved.

 CDDL HEADER START

 The contents of this file are subject to the terms of the
 Common Development and Distribution License (the "License").
 You may not use this file except in compliance with the License.

 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 or http://www.opensolaris.org/os/licensing.
 See the License for the specific language governing permissions
 and limitations under the License.

 When distributing Covered Code, include this CDDL HEADER in each
 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 If applicable, add the following below this CDDL HEADER, with the
 fields enclosed by brackets "[]" replaced with your own identifying
 information: Portions Copyright [yyyy] [name of copyright owner]

 CDDL HEADER END

	NOTE:  This service manifest is not editable; its contents will
	be overwritten by package or patch operations, including
	operating system upgrade.  Make customizations in a different
	file.
-->

<service_bundle type='manifest' name='SUNWcsr:idmap'>

<service
	name='system/idmap'
	type='service'
	version='1'>

	<create_default_instance enabled='false' />

	<single_instance />

	<dependency
		name='rpcbind'
		grouping='require_all'
		restart_on='restart'
		type='service'>
		<service_fmri value='svc:/network/rpc/bind' />
	</dependency>

	<dependency name='filesystem-minimal'
		grouping='require_all'
		restart_on='error'
		type='service'>
		<service_fmri value='svc:/system/filesystem/minimal' />
	</dependency>

	<exec_method
		type='method'
		name='start'
		exec='/usr/lib/idmapd'
		timeout_seconds='60' />

	<exec_method
		type='method'
		name='stop'
		exec=':kill'
		timeout_seconds='60' />

	<exec_method
		type='method'
		name='refresh'
		exec=':kill -HUP'
		timeout_seconds='60' />

	<property_group name='general' type='framework'>
		<propval
			name='action_authorization'
			type='astring'
			value='solaris.smf.manage.idmap' />
		<propval
			name='value_authorization'
			type='astring'
			value='solaris.smf.manage.idmap' />
	</property_group>

<!--
	Properties affecting the service
-->
	<property_group name='config' type='application' >
		<stability value='Unstable' />
		<propval
			name='list_size_limit'
			type='count'
			value='0' />
		<propval
			name='max_threads'
			type='count'
			value='40' />
		<propval
			name='value_authorization'
			type='astring'
			value='solaris.smf.value.idmap' />
		<propval
			name='id_cache_timeout'
			type='count'
			value='86400' />
		<propval
			name='name_cache_timeout'
			type='count'
			value='604800' />
		<propval
			name='preferred_dc'
			type='astring'
			value='' />
		<propval
			name='rediscovery_interval'
			type='count'
			value='3600' />
		<propval
			name='use_ads'
			type='boolean'
			value='true' />
		<propval
			name='use_lsa'
			type='boolean'
			value='true' />
	</property_group>

	<property_group name='debug' type='application' >
		<stability value='Unstable' />
		<propval name='all'       type='integer' value='0' />
		<propval name='config'    type='integer' value='0' />
		<propval name='mapping'   type='integer' value='0' />
		<propval name='discovery' type='integer' value='0' />
		<propval name='dns'       type='integer' value='0' />
		<propval name='ldap'      type='integer' value='0' />
		<propval
			name='value_authorization'
			type='astring'
			value='solaris.smf.value.idmap' />
	</property_group>

	<stability value='Unstable' />

	<template>
		<common_name>
			<loctext xml:lang='C'>
			Native Identity Mapping Service
			</loctext>
		</common_name>
		<documentation>
			<manpage title='idmapd' section='1M'
				manpath='/usr/share/man' />
			<manpage title='idmap' section='1M'
				manpath='/usr/share/man' />
		</documentation>
	</template>

</service>

</service_bundle>