components/rsyslog/files/rsyslog.xml
branchs11-update
changeset 4450 423f06e4bc35
parent 847 4ae04177ffa1
child 5019 9bcd7324c978
child 7051 b5ccd506d4ab
--- a/components/rsyslog/files/rsyslog.xml	Mon Jun 08 13:37:19 2015 -0700
+++ b/components/rsyslog/files/rsyslog.xml	Tue Jun 09 14:56:12 2015 -0700
@@ -1,26 +1,9 @@
 <?xml version="1.0"?>
 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
 <!--
-    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
    
-    Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+    Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 
     NOTE:  This service manifest is not editable; its contents will
     be overwritten by package or patch operations, including
@@ -41,7 +24,13 @@
 			type='method'
 			name='start'
 			exec='/lib/svc/method/rsyslog'
-			timeout_seconds='600' />
+			timeout_seconds='600'>
+			<method_context>
+			<method_credential
+			  user='root' group='root'
+			  privileges='basic,net_privaddr' />
+			</method_context>
+		</exec_method>
 
 		<template>
 			<common_name>