1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man1m / svccfg.1m
blob972967267baa1944e87920ab2a5fe4f9d4b5acfe
1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" 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.
4 .\" 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
5 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SVCCFG 1M "Jun 29, 2009"
7 .SH NAME
8 svccfg \- import, export, and modify service configurations
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/svccfg\fR [\fB-v\fR] [\fB-s\fR \fIFMRI\fR]
13 .fi
15 .LP
16 .nf
17 \fB/usr/sbin/svccfg\fR [\fB-v\fR] [\fB-s\fR \fIFMRI\fR] \fIsubcommand\fR [\fBargs\fR]...
18 .fi
20 .LP
21 .nf
22 \fB/usr/sbin/svccfg\fR [\fB-v\fR] [\fB-s\fR \fIFMRI\fR] \fB-f\fR \fIcommand-file\fR
23 .fi
25 .SH DESCRIPTION
26 .sp
27 .LP
28 The \fBsvccfg\fR command manipulates data in the service configuration
29 repository. \fBsvccfg\fR can be invoked interactively, with an individual
30 subcommand, or by specifying a command file that contains a series of
31 subcommands.
32 .sp
33 .LP
34 Changes made to an existing service in the repository typically do not take
35 effect for that service until the next time the service instance is refreshed.
36 See the \fBrefresh\fR subcommand on the \fBsvcadm\fR(1M) man page for more
37 details.
38 .SH OPTIONS
39 .sp
40 .LP
41 The following options are supported:
42 .sp
43 .ne 2
44 .na
45 \fB\fB-f\fR \fIcommand-file\fR\fR
46 .ad
47 .sp .6
48 .RS 4n
49 Reads and executes \fBsvccfg\fR subcommands from \fIcommand-file\fR.
50 .RE
52 .sp
53 .ne 2
54 .na
55 \fB\fB-s\fR \fIFMRI\fR\fR
56 .ad
57 .sp .6
58 .RS 4n
59 Selects the entity indicated by \fIFMRI\fR (a fault management resource
60 identifier) before executing any subcommands. See \fBsmf\fR(5).
61 .RE
63 .sp
64 .ne 2
65 .na
66 \fB\fB-v\fR\fR
67 .ad
68 .sp .6
69 .RS 4n
70 Verbose.
71 .RE
73 .SH SUBCOMMANDS
74 .sp
75 .LP
76 Subcommands are divided into the categories specified in the subsections that
77 follow.
78 .sp
79 .LP
80 All subcommands that accept \fIFMRI\fRs also accept abbreviated or globbed
81 patterns. Instances and services can be abbreviated by specifying the instance
82 name, or the trailing portion of the service name. For example, given the
83 \fIFMRI\fR:
84 .sp
85 .in +2
86 .nf
87 svc:/network/smtp:sendmail
88 .fi
89 .in -2
90 .sp
92 .sp
93 .LP
94 All the following are valid abbreviations:
95 .sp
96 .in +2
97 .nf
98 sendmail
99 :sendmail
100 smtp
101 smtp:sendmail
102 network/smtp
104 .in -2
109 While the following are invalid:
111 .in +2
113 mail
114 network
115 network/smt
117 .in -2
122 Abbreviated forms of \fIFMRI\fRs are unstable, and should not be used in
123 scripts or other permanent tools. If a pattern matches more than one instance
124 or service, an error message is printed and no action is taken.
125 .SS "General Subcommands"
127 .ne 2
129 \fB\fBend\fR\fR
133 \fB\fBexit\fR\fR
137 \fB\fBquit\fR\fR
139 .sp .6
140 .RS 4n
141 Exits immediately.
145 .ne 2
147 \fB\fBrepository\fR \fIrepfile\fR\fR
149 .sp .6
150 .RS 4n
151 Uses \fIrepfile\fR as a repository. By default, \fBsvccfg\fR(1M) uses the
152 system repository.
154 Use repository only with files from the identical version of Solaris, including
155 patches, that you are currently running. Do not use this subcommand with the
156 system repository, \fB/etc/svc/repository.db\fR.
160 .ne 2
162 \fB\fBset\fR [\fB-v\fR|\fB-V\fR]\fR
164 .sp .6
165 .RS 4n
166 Sets optional behavior. If no options are specified, set displays the options
167 currently in effect.
169 .ne 2
171 \fB\fB-v\fR\fR
173 .sp .6
174 .RS 4n
175 Turns on verbose mode.
179 .ne 2
181 \fB\fB-V\fR\fR
183 .sp .6
184 .RS 4n
185 Turns off verbose mode.
190 .SS "Service Profile Subcommands"
192 .ne 2
194 \fB\fBapply\fR [\fB-n\fR] \fIfile\fR\fR
196 .sp .6
197 .RS 4n
198 If a \fIfile\fR is a service profile, properties, including general/enabled,
199 that are specified in the file are modified in the SMF repository.
200 Not-yet-existent properties and property groups will be created. The type of
201 the pre-existing property \fBgroups\fR will not be changed by the profile.
202 Existing properties (as distinguished from property groups) \fBcan\fR have
203 their type changed by the profile. Nonexistent services and instances are
204 ignored. Services and instances modified by the profile will be refreshed. If
205 \fB-n\fR is specified, the profile is processed and no changes are applied to
206 the SMF repository. Any syntax error found will be reported on stderr and an
207 exit code of \fB1\fR will be returned. See \fBsmf\fR(5) for a description of
208 service profiles. This command requires privileges to modify properties in the
209 service and instance. See \fBsmf_security\fR(5) for the privileges required to
210 modify properties. If \fIfile\fR is not a service profile, the subcommand
211 fails.
215 .ne 2
217 \fB\fBextract\fR [\fI> file\fR]\fR
219 .sp .6
220 .RS 4n
221 Prints a service profile which represents the enabled status of the service
222 instances in the repository to standard output. The output may be redirected to
223 a file.
226 .SS "Service Manifest Subcommands"
228 .ne 2
230 \fB\fBarchive\fR [\fB-a\fR]\fR
232 .sp .6
233 .RS 4n
234 Dumps a full \fBXML\fR service description for all services, instances, and
235 their persistent properties in the repository. This does not include transient
236 properties such as service state, and is suitable for a relocatable repository
237 backup.
239 Without the \fB-a\fR option, property groups containing protected information
240 (identified by the presence of the \fBread_authorization\fR property\(emsee
241 \fBsmf_security\fR(5)) will be archived without their property values. When the
242 \fB-a\fR option is specified, all values will be archived. An error results if
243 there are insufficient privileges to read these values.
247 .ne 2
249 \fB\fBexport\fR [\fB-a\fR] \fIservice_FMRI\fR [\fI>file\fR]\fR
251 .sp .6
252 .RS 4n
253 The service description for the specified service and its instances is written
254 to standard output or redirected to the given file. Dependencies with a boolean
255 "external" property set to true are omitted in the belief that they were
256 created on behalf of another service.
258 Without the \fB-a\fR option, property groups containing protected information
259 (identified by the presence of the \fBread_authorization\fR property\(emsee
260 \fBsmf_security\fR(5)) will be exported without their property values. When the
261 \fB-a\fR option is specified, all values will be archived. An error results if
262 there are insufficient privileges to read these values.
264 Note that \fBexport\fR requires a service FMRI. If you specify an instance
265 (including an abbreviation, such as \fBapache2\fR or \fBsendmail\fR, that
266 specifies an instance), the command fails.
270 .ne 2
272 \fB\fBimport\fR [\fB-V\fR] \fIfile\fR\fR
274 .sp .6
275 .RS 4n
276 If \fIfile\fR is a service manifest, then the services and instances it
277 specifies are imported into the repository. According to the file, dependencies
278 may be created in other services. See \fBsmf\fR(5) for a description of service
279 manifests. See \fBsmf_security\fR(5) for the privileges required to create and
280 modify service configurations.
282 Services and instances in the manifest will be validated against template data
283 in the manifest and the repository, and warnings will be issued for all
284 template violations. See \fBsmf_template\fR(5) for a description of templates.
285 If the \fB-V\fR option is specified, manifests that violate the defined
286 templates will fail to import. In interactive invocations of \fBsvccfg\fR,
287 \fB-V\fR is the default behavior.
289 For existing services and instances, properties which have not changed since
290 the last \fBimport\fR snapshot was taken are upgraded to those specified by the
291 manifest. Conflicts (properties which have been changed both in the repository
292 and the manifest) are reported on the standard error stream. \fBsvccfg\fR will
293 never upgrade the "general/enabled" and "general/restarter" properties, since
294 they represent administrator preference.
298 .ne 2
300 \fB\fBinventory\fR \fIfile\fR\fR
302 .sp .6
303 .RS 4n
304 If \fIfile\fR is determined to be a service manifest, then the \fBFMRI\fRs of
305 the services and instances the \fIfile\fR describes are printed. For each
306 service, the \fBFMRI\fRs of its instances are displayed before the \fBFMRI\fR
307 of the service.
311 .ne 2
313 \fB\fBrestore\fR\fR
315 .sp .6
316 .RS 4n
317 Restores the contents of the repository from a full XML service description
318 previously created by the \fBarchive\fR subcommand. If the archive was
319 generated without the use of the \fB-a\fR option, the contents of the
320 repository following completion of the restore will not include the values of
321 any read-protected properties (see \fBsmf_security\fR(5)). If these are
322 required, they must be restored manually.
324 Restoring an archive which is inconsistent with currently installed software
325 (including patch revisions) might yield unpredictable results. Therefore, prior
326 to restoring an archive, all system and application software, including any
327 service manifests, should be restored to the same state it was in at the time
328 the archive was made.
332 .ne 2
334 \fB\fBvalidate\fR [\fIfile\fR | \fIfmri\fR]\fR
336 .sp .6
337 .RS 4n
338 The \fBvalidate\fR subcommand can operate on a manifest file, an instance FMRI,
339 or the current instance or snapshot entity selection. When an argument is
340 specified, \fBsvccfg\fR will check to see whether the specified file exists. If
341 the file exists, it will be validated. If a file of the specified name does not
342 exist, the argument is treated as an FMRI pattern. If a conflict arises between
343 a filename and an FMRI, use the \fBsvc:\fR and \fBfile:\fR prefixes to tell
344 \fBsvccfg\fR how to interpret the argument.
346 When you specify a file, the file is processed in a manner similar to
347 \fBimport\fR \fB-V\fR, but no changes are made to the repository. If any errors
348 are detected, \fBsvccfg\fR displays the errors and exits with a nonzero exit
349 status.
351 For an instance \fIfmri\fR, instance entity selection, or snapshot entity
352 selection, the specified instance in its composed form (see "Properties and
353 Property Groups" in \fBsmf\fR(5)) will be validated against template data in
354 the repository. Instance FMRIs and instance entity selections use the "running"
355 snapshot for validation. Warnings will be issued for all template violations.
356 See \fBsmf_template\fR(5) for a description of templates.
359 .SS "Entity Selection, Modification, and Navigation Subcommands"
362 An "entity" refers to a scope, service, or service instance.
364 .ne 2
366 \fB\fBadd\fR \fIname\fR\fR
368 .sp .6
369 .RS 4n
370 A new entity with the given name is created as a child of the current
371 selection. See \fBsmf_security\fR(5) for the privileges required to create
372 entities.
376 .ne 2
378 \fB\fBdelete\fR [\fB-f\fR] \fB{\fIname\fR | \fIfmri\fR}\fR\fR
380 .sp .6
381 .RS 4n
382 The named child of the current selection or the entity specified by \fIfmri\fR
383 is deleted. Attempts to delete service instances in the "online" or "degraded"
384 state will fail unless the \fB-f\fR flag is specified. If a service or service
385 instance has a "dependents" property group of type "framework", then for each
386 of its properties with type "astring" or "fmri", if the property has a single
387 value which names a service or service instance then the dependency property
388 group in the indicated service or service instance with the same name as the
389 property will be deleted. See \fBsmf_security\fR(5) for the privileges required
390 to delete service configurations.
394 .ne 2
396 \fB\fBlist\fR [\fIpattern\fR]\fR
398 .sp .6
399 .RS 4n
400 The child entities of the current selection whose names match the glob pattern
401 \fIpattern\fR are displayed (see \fBfnmatch\fR(5)). \&':properties' is also
402 listed for property-bearing entities, namely services and service instances.
406 .ne 2
408 \fB\fBselect\fR {\fIname\fR | \fIfmri\fR}\fR
410 .sp .6
411 .RS 4n
412 If the argument names a child of the current selection, it becomes the current
413 selection. Otherwise, the argument is interpreted as an \fBFMRI\fR and the
414 entity that the argument specifies becomes the current selection.
418 .ne 2
420 \fB\fBunselect\fR\fR
422 .sp .6
423 .RS 4n
424 The parent of the current selection becomes the current selection.
427 .SS "Property Inspection and Modification Subcommands"
429 .ne 2
431 \fB\fBaddpg\fR \fIname\fR \fItype\fR [\fIflags\fR]\fR
433 .sp .6
434 .RS 4n
435 Adds a property group with the given \fIname\fR and type to the current
436 selection. \fIflags\fR is a string of characters which designates the flags
437 with which to create the property group. 'P' represents
438 \fBSCF_PG_FLAG_NONPERSISTENT\fR (see \fBscf_service_add_pg\fR(3SCF)). See
439 \fBsmf_security\fR(5) for the privileges required to create property groups.
443 .ne 2
445 \fB\fBaddpropvalue\fR \fIpg\fR\fI/name\fR [\fItype:\fR] \fIvalue\fR\fR
447 .sp .6
448 .RS 4n
449 Adds the given value to a property. If \fItype\fR is given and the property
450 exists, then if \fItype\fR does not agree with the property's \fItype\fR, the
451 subcommand fails. The values may be enclosed in double-quotes. String values
452 containing double-quotes or backslashes must be enclosed by double-quotes and
453 the contained double-quotes and backslashes must be quoted by backslashes.
454 Nonexistent properties are created, in which case the \fItype\fR specifier must
455 be present. See \fBscf_value_create\fR(3SCF) for a list of available property
456 types. See \fBsmf_security\fR(5) for the privileges required to modify
457 properties. The new value will be appended to the end of the list of property
458 values associated with the property.
462 .ne 2
464 \fB\fBdelpg\fR \fIname\fR\fR
466 .sp .6
467 .RS 4n
468 Deletes the property group \fIname\fR of the current selection. See
469 \fBsmf_security\fR(5) for the privileges required to delete property groups.
473 .ne 2
475 \fB\fBdelprop\fR \fIpg\fR[\fI/name\fR]\fR
477 .sp .6
478 .RS 4n
479 Deletes the named property group or property of the current selection. See
480 \fBsmf_security\fR(5) for the privileges required to delete properties.
484 .ne 2
486 \fB\fBdelpropvalue\fR \fIpg/name\fR \fIglobpattern\fR\fR
488 .sp .6
489 .RS 4n
490 Deletes all values matching the given \fIglob\fR pattern in the named property.
491 Succeeds even if no values match. See \fBsmf_security\fR(5) for the privileges
492 required to modify properties.
496 .ne 2
498 \fB\fBdescribe\fR [\fB-v\fR] [\fB-t\fR] [\fIpropertygroup\fR/\fIproperty\fR]\fR
500 .sp .6
501 .RS 4n
502 Describes either the current or the possible settings.
504 When invoked without arguments, \fBdescribe\fR gives basic descriptions (if
505 available) of the currently selected entity and all of its currently set
506 property groups and properties. A property group or specific property can be
507 queried by specifying either the property group name, or the property group
508 name and property name, separated by a slash (\fB/\fR), as an argument.
510 The \fB-v\fR option gives all information available, including descriptions for
511 current settings, constraints, and other possible setting choices.
513 The \fB-t\fR option shows only the template data for the selection (see
514 \fBsmf_template\fR(5)), and does not display the current settings for property
515 groups and properties.
519 .ne 2
521 \fB\fBeditprop\fR\fR
523 .sp .6
524 .RS 4n
525 Comments of commands to reproduce the property groups and properties of the
526 current selection are placed in a temporary file and the program named by the
527 \fBEDITOR\fR environment variable is invoked to edit it. Upon completion, the
528 commands in the temporary file are executed. The default editor is \fBvi\fR(1).
529 See \fBsmf_security\fR(5) for the privileges required to create, modify, or
530 delete properties.
534 .ne 2
536 \fB\fBlistpg\fR [\fIpattern\fR]\fR
538 .sp .6
539 .RS 4n
540 Displays the names, types, and flags of property groups of the current
541 selection. If an argument is given, it is taken as a glob pattern and only
542 property groups with names which match the argument are listed.
544 In interactive mode, a basic description of the property groups is also given.
548 .ne 2
550 \fB\fBlistprop\fR [\fIpattern\fR]\fR
552 .sp .6
553 .RS 4n
554 Lists property groups and properties of the current selection. For property
555 groups, names, types, and flags are listed. For properties, names (prepended by
556 the property group name and a slash (/)), types, and values are listed. See
557 \fBscf_value_create\fR(3SCF) for a list of available property types. If an
558 argument is supplied it is taken as a glob pattern and only property groups and
559 properties with names which match the argument are listed.
563 .ne 2
565 \fB\fBsetenv\fR [\fB-i\fR | \fB-s\fR] [\fB-m\fR \fImethod_name\fR] \fIenvvar
566 value\fR\fR
568 .sp .6
569 .RS 4n
570 Sets a method environment variable for a service or instance by changing the
571 "environment" property in the \fImethod_name\fR property group, if that
572 property group has type "method". If \fImethod_name\fR is not specified and the
573 \fB-i\fR option is used, the "method_context" property group is used, if an
574 instance is currently selected. If the \fB-s\fR option is used and a service is
575 currently selected, its "method_context" property group is used. If the
576 \fB-s\fR option is used and an instance is currently selected, the
577 "method_context" property group of its parent is used. If neither the \fB-i\fR
578 option nor the \fB-s\fR option is used, the "start" property group is searched
579 for in the currently selected entity and, if an instance is currently selected,
580 its parent is also searched. If the "inetd_start" property group is not
581 located, it is searched for in a similiar manner.
583 Once the property is located, all values which begin with \fIenvvar\fR followed
584 by a "=" are removed, and the value "\fIenvvar\fR=\fIvalue\fR" is added. See
585 \fBsmf_security\fR(5) for the privileges required to modify properties.
589 .ne 2
591 \fB\fBsetprop\fR \fIpg/name\fR = [\fItype:\fR] \fIvalue\fR\fR
595 \fBsetprop \fIpg/name\fR = [\fItype:\fR] ([\fIvalues ...\fR])\fR
597 .sp .6
598 .RS 4n
599 Sets the \fIname\fR property of the \fIpg\fR property group of the current
600 selection to the given values of type \fItype\fR. See
601 \fBscf_value_create\fR(3SCF) for a list of available property types. If the
602 property already exists and the \fItype\fR disagrees with the existing
603 \fItype\fR on the property, the subcommand fails. Values may be enclosed in
604 double-quotes. String values which contain double-quotes or backslashes must be
605 enclosed by double-quotes and the contained double-quotes and backslashes must
606 be quoted by backslashes. If the named property does not exist, it is created,
607 as long as the type is specified. See \fBsmf_security\fR(5) for the privileges
608 required to create or modify properties. Multiple values will be stored in the
609 order in which they are specified.
613 .ne 2
615 \fB\fBunsetenv\fR [\fB-i\fR | \fB-s\fR] [\fB-m\fR \fImethod_name\fR] \fIenvvar
616 value\fR\fR
618 .sp .6
619 .RS 4n
620 Removes a method environment variable for a service or instance by changing the
621 "environment" property in the \fImethod_name\fR property group, if that
622 property group has type "method". If \fImethod_name\fR is not specified and the
623 \fB-i\fR option is used, the "method_context" property group is used, if an
624 instance is currently selected. If the \fB-s\fR option is used and a service is
625 currently selected, its "method_context" property group is used. If the
626 \fB-s\fR option is used and an instance is currently selected, the
627 "method_context" property group of its parent is used. If neither the \fB-i\fR
628 option nor the \fB-s\fR option is used, the "start" property group is searched
629 for in the currently selected entity and, if an instance is currently selected,
630 its parent is also searched. If the "inetd_start" property group is not
631 located, it is searched for in a similiar manner.
633 Once the property is located, all values which begin with \fIenvvar\fR followed
634 by "=" are removed. See \fBsmf_security\fR(5) for the privileges required to
635 modify properties.
638 .SS "Snapshot Navigation and Selection Subcommands"
640 .ne 2
642 \fB\fBlistsnap\fR\fR
644 .sp .6
645 .RS 4n
646 Displays snapshots available for the currently selected instance.
650 .ne 2
652 \fB\fBrevert\fR [\fIsnapshot\fR]\fR
654 .sp .6
655 .RS 4n
656 Reverts the properties of the currently selected instance and its service to
657 those recorded in the named snapshot. If no argument is given, use the
658 currently selected snapshot and deselect it on success. The changed property
659 values can be made active via the \fBrefresh\fR subcommand of \fBsvcadm\fR(1M).
660 See \fBsmf_security\fR(5) for the privileges required to change properties.
664 .ne 2
666 \fB\fBselectsnap\fR [\fIname\fR]\fR
668 .sp .6
669 .RS 4n
670 Changes the current snapshot to the one named by \fIname\fR. If no \fIname\fR
671 is specified, deselect the currently selected snapshot. Snapshots are
672 read-only.
675 .SS "Instance Subcommands"
677 .ne 2
679 \fB\fBrefresh\fR\fR
681 .sp .6
682 .RS 4n
683 Commit the values from the current configuration to the running snapshot,
684 making them available for use by the currently selected instance. If the
685 repository subcommand has not been used to select a repository, direct the
686 instance's restarter to reread the updated configuration.
689 .SH EXAMPLES
691 \fBExample 1 \fRImporting a Service Description
694 The following example imports a service description for the \fBseismic\fR
695 service in the XML manifest specified on the command line.
698 .in +2
700 # \fBsvccfg import /var/svc/manifest/site/seismic.xml\fR
702 .in -2
707 Note that the manifest must follow the format specified in
708 \fBservice_bundle\fR(4).
711 \fBExample 2 \fRExporting a Service Description
714 To export a service description on the local system:
717 .in +2
719 # \fBsvccfg export dumpadm >/tmp/dump.xml\fR
721 .in -2
725 \fBExample 3 \fRDeleting a Service Instance
728 To delete a service instance:
731 .in +2
733 # \fBsvccfg delete network/inetd-upgrade:default\fR
735 .in -2
739 \fBExample 4 \fRChecking Properties in an Alternate Repository
742 To examine the state of a service's properties after loading an alternate
743 repository, use the sequence of commands shown below. One might use such
744 commands, for example, to determine whether a service was enabled in a
745 particular repository backup.
748 .in +2
750 # \fBsvccfg\fR
751 svc:> \fBrepository /etc/svc/repository-boot\fR
752 svc:> \fBselect telnet:default\fR
753 svc:/network/telnet:default> \fBlistprop general/enabled\fR
754 general/enabled  boolean  false
755 svc:/network/telnet:default> \fBexit\fR
757 .in -2
761 \fBExample 5 \fREnabling Debugging
764 To modify \fBLD_PRELOAD\fR for a start method and enable the use of
765 \fBlibumem\fR(3LIB) with debugging features active:
768 .in +2
770 $ \fBsvccfg -s system/service setenv LD_PRELOAD libumem.so\fR
771 $ \fBsvccfg -s system/service setenv UMEM_DEBUG default\fR
773 .in -2
777 \fBExample 6 \fRUsing \fBdescribe\fR Subcommand
780 The following command illustrates the use of the \fBdescribe\fR subcommand.
783 .in +2
785 # \fBsvccfg -s console-login describe ttymon\fR
786 ttymon                      application
787 ttymon/device               astring  /dev/console
788    \fBterminal device to be used for the console login prompt\fR
789 ttymon/label                astring  console
790    \fBappropriate entry from /etc/ttydefs\fR
791    ...
793 .in -2
796 .SH ENVIRONMENTAL VARIABLES
798 .ne 2
800 \fBEDITOR\fR
802 .sp .6
803 .RS 4n
804 The command to run when the \fBeditprop\fR subcommand is used. The default
805 editor is \fBvi\fR(1).
808 .SH EXIT STATUS
811 The following exit values are returned:
813 .ne 2
815 \fB\fB0\fR\fR
817 .sp .6
818 .RS 4n
819 Successful execution.
823 .ne 2
825 \fB\fB1\fR\fR
827 .sp .6
828 .RS 4n
829 One or more subcommands resulted in failure. Error messages are written to the
830 standard error stream.
834 .ne 2
836 \fB\fB2\fR\fR
838 .sp .6
839 .RS 4n
840 Invalid command line options were specified.
843 .SH ATTRIBUTES
846 See \fBattributes\fR(5) for descriptions of the following attributes:
851 box;
852 c | c
853 l | l .
854 ATTRIBUTE TYPE  ATTRIBUTE VALUE
856 Interface Stability     See below.
861 The interactive output is Uncommitted. The invocation and non-interactive
862 output are Committed.
863 .SH SEE ALSO
866 \fBsvcprop\fR(1), \fBsvcs\fR(1), \fBsvcadm\fR(1M), \fBsvc.configd\fR(1M),
867 \fBlibscf\fR(3LIB), \fBlibumem\fR(3LIB), \fBscf_service_add_pg\fR(3SCF),
868 \fBscf_value_create\fR(3SCF), \fBcontract\fR(4), \fBservice_bundle\fR(4),
869 \fBattributes\fR(5), \fBfnmatch\fR(5), \fBsmf\fR(5), \fBsmf_method\fR(5),
870 \fBsmf_security\fR(5), \fBsmf_template\fR(5)