components/mysql-5-5/Solaris/mysql_55.xml
author Gipson Pulla <gipson.pulla@oracle.com>
Wed, 15 Mar 2017 23:29:04 -0700
branchs11u3-sru
changeset 7765 3495fc32877e
parent 2890 47c675945a45
permissions -rw-r--r--
25372130 Upgrade the version of MySQL 5.5 to 5.5.54 on Solaris 25364635 Upgrade the version of MySQL 5.6 to 5.6.35 on Solaris 25372106 Upgrade the version of MySQL 5.7 to 5.7.17 on Solaris 24835634 Upgrade MySQL server 5.7 to 5.7.15 on Solaris 24688109 Upgrade MySQL 5.5 to 5.5.52 on Solaris 23227671 Upgrade MySQL 5.5 to 5.5.49 on Solaris 15818149 mysql stop method unsafe 18605985 Need to resolve dependencies between MySQL 5.5 database and client pkgs 23227615 Port fix for Bug 23022999 from MySQL 5.6 to 5.5 23227642 Port fix for Bug 23053990 from MySQL 5.6 to 5.5 21150630 mysql SMF instances should check to see if it's really online before returning 22959660 mysql SMF service must not hardcode pid-file, socket and log-error 24708946 Upgrade the version of MySQL 5.6 to 5.6.33 on Solaris 25236651 COMPONENT_ARCHIVE_URL for MySQL-5.6 Makefile is not working 24924801 problem in DATABASE/MYSQL 25427164 problem in DATABASE/MYSQL 25215584 problem in DATABASE/MYSQL 25427149 problem in DATABASE/MYSQL 24923761 problem in DATABASE/MYSQL 25427194 problem in DATABASE/MYSQL

<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--

 Copyright (c) 2014, 2017, Oracle and/or its affiliates. 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='mysql'>
<service
        name='application/database/mysql'
        type='service'
        version='1'>

	<!--
	   Wait for network interfaces to be initialized.
	-->
        <dependency
                name='network'
                grouping='require_all'
                restart_on='none'
                type='service'>
                <service_fmri value='svc:/milestone/network:default' />
        </dependency> 

	<!--
	   Wait for all local filesystems to be mounted.
	-->
        <dependency
                name='filesystem-local'
                grouping='require_all'
                restart_on='none'
                type='service'>
                <service_fmri value='svc:/system/filesystem/local:default' />
        </dependency> 

        <instance name='version_55' enabled='false'>
                <method_context working_directory='/usr/mysql/5.5'>
                        <method_credential user='mysql' group='mysql' />
                </method_context>

                <exec_method
                        type='method'
                        name='start'
                        exec='/lib/svc/method/mysql_55 start'
                        timeout_seconds='60' />

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

                <!--
                   refresh method for this service is not defined
                   because mysqld by itself cannot accept a HUP signal to
                   reload the configuration file my.cnf
                -->

                <property_group  name='mysql' type='application'>
                        <propval name='cnf' type='astring'
                                 value='/etc/mysql/5.5/my.cnf' />
                        <propval name='bin' type='astring'
                                 value='/usr/mysql/5.5/bin' />
                        <propval name='data' type='astring'
                                 value='/var/mysql/5.5/data' />
                        <propval name='value_authorization' type='astring'
                                 value='solaris.smf.value.mysql' /> 
                        <propval name='action_authorization' type='astring'
                                 value='solaris.smf.manage.mysql' />
                </property_group>

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

                <template>
                        <common_name>
                                <loctext xml:lang='C'>
                                        MySQL Database Management System
                                </loctext>
                        </common_name>

                        <documentation>
                                <manpage title='MySQL 5.5' section='1' />
                                <doc_link name='mysql.com'
                                        uri='http://dev.mysql.com/doc' />
                        </documentation>
                </template>
        </instance>

        <stability value='Evolving' />
</service>
</service_bundle>