10Sstevel@tonic-gate<?xml version="1.0"?> 20Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 30Sstevel@tonic-gate<!-- 42104Sjjj CDDL HEADER START 52104Sjjj 62104Sjjj The contents of this file are subject to the terms of the 72104Sjjj Common Development and Distribution License (the "License"). 82104Sjjj You may not use this file except in compliance with the License. 92104Sjjj 102104Sjjj You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 112104Sjjj or http://www.opensolaris.org/os/licensing. 122104Sjjj See the License for the specific language governing permissions 132104Sjjj and limitations under the License. 142104Sjjj 152104Sjjj When distributing Covered Code, include this CDDL HEADER in each 162104Sjjj file and include the License file at usr/src/OPENSOLARIS.LICENSE. 172104Sjjj If applicable, add the following below this CDDL HEADER, with the 182104Sjjj fields enclosed by brackets "[]" replaced with your own identifying 192104Sjjj information: Portions Copyright [yyyy] [name of copyright owner] 202104Sjjj 212104Sjjj CDDL HEADER END 222104Sjjj 23*8823STruong.Q.Nguyen@Sun.COM Copyright 2009 Sun Microsystems, Inc. All rights reserved. 242104Sjjj Use is subject to license terms. 250Sstevel@tonic-gate 262104Sjjj NOTE: This service manifest is not editable; its contents will 272104Sjjj be overwritten by package or patch operations, including 282104Sjjj operating system upgrade. Make customizations in a different 292104Sjjj file. 300Sstevel@tonic-gate--> 310Sstevel@tonic-gate 320Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:syslog'> 330Sstevel@tonic-gate 340Sstevel@tonic-gate<service 350Sstevel@tonic-gate name='system/system-log' 360Sstevel@tonic-gate type='service' 370Sstevel@tonic-gate version='1'> 380Sstevel@tonic-gate 390Sstevel@tonic-gate <create_default_instance enabled='false' /> 400Sstevel@tonic-gate 410Sstevel@tonic-gate <single_instance/> 420Sstevel@tonic-gate 430Sstevel@tonic-gate <dependency 440Sstevel@tonic-gate name='milestone' 450Sstevel@tonic-gate grouping='require_all' 460Sstevel@tonic-gate restart_on='none' 470Sstevel@tonic-gate type='service'> 480Sstevel@tonic-gate <service_fmri value='svc:/milestone/sysconfig' /> 490Sstevel@tonic-gate </dependency> 500Sstevel@tonic-gate 510Sstevel@tonic-gate <!-- 520Sstevel@tonic-gate syslogd(1M) can log to non-root local directories. 530Sstevel@tonic-gate --> 540Sstevel@tonic-gate <dependency 550Sstevel@tonic-gate name='filesystem' 560Sstevel@tonic-gate grouping='require_all' 570Sstevel@tonic-gate restart_on='none' 580Sstevel@tonic-gate type='service'> 590Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/local' /> 600Sstevel@tonic-gate </dependency> 610Sstevel@tonic-gate 620Sstevel@tonic-gate <!-- 630Sstevel@tonic-gate syslogd(1M) can log to automounted files. 640Sstevel@tonic-gate --> 650Sstevel@tonic-gate <dependency 660Sstevel@tonic-gate name='autofs' 670Sstevel@tonic-gate grouping='optional_all' 680Sstevel@tonic-gate restart_on='none' 690Sstevel@tonic-gate type='service'> 700Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/autofs' /> 710Sstevel@tonic-gate </dependency> 720Sstevel@tonic-gate 730Sstevel@tonic-gate <!-- 740Sstevel@tonic-gate syslogd(1M) needs nameservice resolution to log to remote hosts. 750Sstevel@tonic-gate --> 760Sstevel@tonic-gate <dependency 770Sstevel@tonic-gate name='name-services' 780Sstevel@tonic-gate grouping='require_all' 790Sstevel@tonic-gate restart_on='none' 800Sstevel@tonic-gate type='service'> 810Sstevel@tonic-gate <service_fmri value='svc:/milestone/name-services' /> 820Sstevel@tonic-gate </dependency> 830Sstevel@tonic-gate 840Sstevel@tonic-gate <dependent 850Sstevel@tonic-gate name='system-log_single-user' 860Sstevel@tonic-gate grouping='optional_all' 870Sstevel@tonic-gate restart_on='none'> 880Sstevel@tonic-gate <service_fmri value='svc:/milestone/multi-user' /> 890Sstevel@tonic-gate </dependent> 900Sstevel@tonic-gate 910Sstevel@tonic-gate <!-- 920Sstevel@tonic-gate The system-log start method includes a "savecore -m". 930Sstevel@tonic-gate Use an appropriately long timeout value. 940Sstevel@tonic-gate --> 950Sstevel@tonic-gate <exec_method 960Sstevel@tonic-gate type='method' 970Sstevel@tonic-gate name='start' 980Sstevel@tonic-gate exec='/lib/svc/method/system-log' 990Sstevel@tonic-gate timeout_seconds='600' /> 1000Sstevel@tonic-gate 1010Sstevel@tonic-gate <exec_method 1020Sstevel@tonic-gate type='method' 1030Sstevel@tonic-gate name='stop' 1040Sstevel@tonic-gate exec=':kill' 1050Sstevel@tonic-gate timeout_seconds='60' /> 1060Sstevel@tonic-gate 1070Sstevel@tonic-gate <exec_method 1080Sstevel@tonic-gate type='method' 1090Sstevel@tonic-gate name='refresh' 1100Sstevel@tonic-gate exec=':kill -HUP' 1110Sstevel@tonic-gate timeout_seconds='60' /> 1120Sstevel@tonic-gate 1130Sstevel@tonic-gate <property_group name='general' type='framework'> 1140Sstevel@tonic-gate <!-- to start stop syslog daemon --> 1150Sstevel@tonic-gate <propval name='action_authorization' type='astring' 1160Sstevel@tonic-gate value='solaris.smf.manage.system-log' /> 1170Sstevel@tonic-gate </property_group> 1180Sstevel@tonic-gate 1192104Sjjj <property_group name='config' type='application'> 1202104Sjjj <!-- default property settings for syslogd(1m) --> 1212104Sjjj 1222104Sjjj <!-- Specifies whether remote messages are logged. 1232104Sjjj log_from_remote=false is equivalent to the -t 1247993Sgww@eng.sun.com command-line option. log_from_remote=true 1257993Sgww@eng.sun.com is equivalent to the -T command-line option. 1262104Sjjj --> 1272104Sjjj <propval 1282104Sjjj name='log_from_remote' 1292104Sjjj type='boolean' 1306917Sgww value='false' /> 1312104Sjjj 1322104Sjjj <!-- authorization to modify the configuration properties --> 1332104Sjjj <propval name='value_authorization' type='astring' 1342104Sjjj value='solaris.smf.value.system-log' /> 1352104Sjjj </property_group> 1362104Sjjj 137*8823STruong.Q.Nguyen@Sun.COM <property_group name='firewall_context' type='com.sun,fw_definition'> 138*8823STruong.Q.Nguyen@Sun.COM <propval name='name' type='astring' value='syslog' /> 139*8823STruong.Q.Nguyen@Sun.COM </property_group> 140*8823STruong.Q.Nguyen@Sun.COM 141*8823STruong.Q.Nguyen@Sun.COM <property_group name='firewall_config' type='com.sun,fw_configuration'> 142*8823STruong.Q.Nguyen@Sun.COM <propval name='policy' type='astring' value='use_global' /> 143*8823STruong.Q.Nguyen@Sun.COM <propval name='apply_to' type='astring' value='' /> 144*8823STruong.Q.Nguyen@Sun.COM <propval name='exceptions' type='astring' value='' /> 145*8823STruong.Q.Nguyen@Sun.COM <propval name='value_authorization' type='astring' 146*8823STruong.Q.Nguyen@Sun.COM value='solaris.smf.value.firewall.config' /> 147*8823STruong.Q.Nguyen@Sun.COM </property_group> 148*8823STruong.Q.Nguyen@Sun.COM 1490Sstevel@tonic-gate <stability value='Unstable' /> 1500Sstevel@tonic-gate 1510Sstevel@tonic-gate <template> 1520Sstevel@tonic-gate <common_name> 1530Sstevel@tonic-gate <loctext xml:lang='C'> system log 1540Sstevel@tonic-gate </loctext> 1550Sstevel@tonic-gate </common_name> 1560Sstevel@tonic-gate <documentation> 1570Sstevel@tonic-gate <manpage title='syslogd' section='1M' 1580Sstevel@tonic-gate manpath='/usr/share/man' /> 1590Sstevel@tonic-gate </documentation> 1600Sstevel@tonic-gate </template> 1610Sstevel@tonic-gate</service> 1620Sstevel@tonic-gate 1630Sstevel@tonic-gate</service_bundle> 164