author | Vojtech Kral <vojtech.kral@oracle.com> |
Wed, 05 Apr 2017 11:37:33 +0200 | |
branch | s11u3-sru |
changeset 7892 | 12b3bc23e595 |
parent 3028 | 5e73a3a3f66a |
permissions | -rw-r--r-- |
2946 | 1 |
<?xml version='1.0'?> |
2 |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
7892
12b3bc23e595
25846567 Backport 25791794 to 11.3-SRU - dnsmasq failed to start due to [...]
Vojtech Kral <vojtech.kral@oracle.com>
parents:
3028
diff
changeset
|
3 |
<!-- |
12b3bc23e595
25846567 Backport 25791794 to 11.3-SRU - dnsmasq failed to start due to [...]
Vojtech Kral <vojtech.kral@oracle.com>
parents:
3028
diff
changeset
|
4 |
Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
2946 | 5 |
|
6 |
This program is free software; you can redistribute it and/or modify |
|
7 |
it under the terms of the GNU General Public License as published by |
|
8 |
the Free Software Foundation; either version 2 of the License, or |
|
9 |
(at your option) any later version. |
|
10 |
||
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
||
16 |
You should have received a copy of the GNU General Public License along |
|
17 |
with this program; if not, write to the Free Software Foundation, Inc., |
|
18 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
||
20 |
NOTE: This service manifest is not editable; its contents will |
|
21 |
be overwritten by package or patch operations, including |
|
22 |
operating system upgrade. Make customizations in a different |
|
23 |
file. |
|
24 |
--> |
|
25 |
||
26 |
<service_bundle type='manifest' name='dnsmasq'> |
|
27 |
||
28 |
<service name='network/dnsmasq' type='service' version='1'> |
|
29 |
||
30 |
<dependency name='multi-user' |
|
31 |
grouping='require_all' |
|
32 |
restart_on='refresh' |
|
33 |
type='service'> |
|
34 |
<service_fmri value='svc:/milestone/multi-user'/> |
|
35 |
</dependency> |
|
36 |
||
37 |
<!-- dnsmasq is incompatible with running BIND, ISC DHCP, and TFTP --> |
|
38 |
<dependency name='exclude-bind' |
|
39 |
grouping='exclude_all' |
|
40 |
restart_on='none' |
|
41 |
type='service'> |
|
42 |
<service_fmri value='svc:/network/dns/server'/> |
|
43 |
</dependency> |
|
44 |
||
45 |
<dependency name='exclude-dhcp-relay' |
|
46 |
grouping='exclude_all' |
|
47 |
restart_on='none' |
|
48 |
type='service'> |
|
49 |
<service_fmri value='svc:/network/dhcp/relay'/> |
|
50 |
</dependency> |
|
51 |
||
52 |
<dependency name='exclude-dhcp-server' |
|
53 |
grouping='exclude_all' |
|
54 |
restart_on='none' |
|
55 |
type='service'> |
|
56 |
<service_fmri value='svc:/network/dhcp/server'/> |
|
57 |
</dependency> |
|
58 |
||
59 |
<dependency name='exclude-tftp' |
|
60 |
grouping='exclude_all' |
|
61 |
restart_on='none' |
|
62 |
type='service'> |
|
63 |
<service_fmri value='svc:/network/tftp/udp6'/> |
|
64 |
</dependency> |
|
65 |
||
66 |
<exec_method type='method' name='start' |
|
67 |
exec='/usr/lib/inet/dnsmasq' |
|
68 |
timeout_seconds='60' > |
|
69 |
<method_context> |
|
70 |
<method_credential user='daemon' group='daemon' |
|
7892
12b3bc23e595
25846567 Backport 25791794 to 11.3-SRU - dnsmasq failed to start due to [...]
Vojtech Kral <vojtech.kral@oracle.com>
parents:
3028
diff
changeset
|
71 |
privileges='basic,{net_privaddr}:53/udp,{net_privaddr}:53/tcp,{net_privaddr}:67/udp,{net_privaddr}:69/udp,{net_privaddr}:547/udp,net_icmpaccess,sys_ip_config,{zone}:/var/cache/dnsmasq.leases' /> |
2946 | 72 |
</method_context> |
7892
12b3bc23e595
25846567 Backport 25791794 to 11.3-SRU - dnsmasq failed to start due to [...]
Vojtech Kral <vojtech.kral@oracle.com>
parents:
3028
diff
changeset
|
73 |
</exec_method> |
2946 | 74 |
|
75 |
<exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' /> |
|
76 |
||
77 |
<instance name='default' enabled='false'> |
|
78 |
<!-- to start/stop/refresh the service --> |
|
79 |
<property_group name='general' type='framework'> |
|
80 |
<propval name='action_authorization' type='astring' |
|
81 |
value='solaris.smf.manage.dnsmasq' /> |
|
82 |
<propval name='value_authorization' type='astring' |
|
83 |
value='solaris.smf.value.dnsmasq' /> |
|
84 |
</property_group> |
|
7892
12b3bc23e595
25846567 Backport 25791794 to 11.3-SRU - dnsmasq failed to start due to [...]
Vojtech Kral <vojtech.kral@oracle.com>
parents:
3028
diff
changeset
|
85 |
</instance> |
2946 | 86 |
|
87 |
<template> |
|
88 |
<common_name> |
|
89 |
<loctext xml:lang='C'>dnsmasq server</loctext> |
|
90 |
</common_name> |
|
91 |
<description> |
|
92 |
<loctext xml:lang='C'> |
|
93 |
dnsmasq(8) is a lightweight DNS, TFTP, PXE, router advertisement and |
|
94 |
DHCP server. It is intended to provide coupled DNS and DHCP service |
|
95 |
to a LAN. |
|
96 |
</loctext> |
|
97 |
</description> |
|
98 |
<documentation> |
|
99 |
<manpage title='dnsmasq' section='8' manpath='/usr/share/man'/> |
|
100 |
</documentation> |
|
101 |
</template> |
|
102 |
||
103 |
</service> |
|
104 |
</service_bundle> |