Home
last modified time | relevance | path

Searched refs:restarter (Results 1 – 25 of 26) sorted by relevance

12

/titanic_52/usr/src/cmd/ypcmd/
H A Dypstart.sh34 if [ "`/usr/bin/svcprop -p restarter/state $1`" = "maintenance" ]; then
52 state=`/usr/bin/svcprop -p restarter/state network/nis/server:default`
74 state=`/usr/bin/svcprop -p restarter/state network/nis/client:default`
/titanic_52/usr/src/cmd/svc/common/
H A Dr.manifest89 state=`$SVCPROP -p restarter/state $svcinst`
91 nstate=`$SVCPROP -p restarter/next_state $svcinst`
/titanic_52/usr/src/cmd/svc/svcs/
H A Dexplain.c129 /* restarter pg properties */
139 const char *restarter; member
470 /* restarter may not set aux_state, allow to continue in that case */ in add_instance()
526 instp->restarter = safe_strdup(g_fmri); in add_instance()
528 instp->restarter = SCF_SERVICE_STARTD; in add_instance()
1271 inst_t *restarter; in determine_causes() local
1273 r = get_fmri(svcp->restarter, NULL, &restarter); in determine_causes()
1274 if (r == 0 && !inst_running(restarter)) { in determine_causes()
1275 r = add_causes(svcp, restarter); in determine_causes()
[all...]
H A Dsvcs.c38 * a certain restarter (-R), dependencies of instances (-d), and dependents of
104 * For lists of parsed restarter FMRIs.
537 * Get a string property from the restarter property group of the given
660 * Check if instance has general/restarter property that matches
665 check_for_restarter(scf_instance_t *inst, const char *restarter) in check_for_restarter() argument
674 /* Get restarter */ in check_for_restarter()
686 if (strcmp(fmri_buf, restarter) == 0) in check_for_restarter()
698 * Checks for a common restarter and if one is available, it generates
703 * If a restarter specific action is available, then restarter_spec
704 * is set to 1. If a restarter specifi
[all...]
/titanic_52/usr/src/cmd/fs.d/nfs/svc/
H A Dnfs-server265 restarter=`svcprop -p general/restarter $FMRI 2>/dev/null`
266 if [ "$restarter" = "$INETDFMRI" ]; then
/titanic_52/usr/src/cmd/lp/cmd/scripts/
H A Dlpshut29 state=`svcprop -p restarter/state svc:/application/print/server:default`
H A Dlpsched40 state=`svcprop -p restarter/state svc:/application/print/server:default`
/titanic_52/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c97 * instance's restarter. This information is loaded from the repository
101 * global service and restarter that is declared at the service level. The
103 * service's entity_t point to the information for the global and restarter
107 * restarter. If this is the case, load_instance_restarter() will load the
108 * information for that restarter, and it is saved in the
141 * It then proceeds through the restarter information and finally moves on
453 TL_RESTARTER, /* Templates from restarter manifest. */
460 * service, the instance's restarter and finally the global service. See
1089 * Find the FMRI of the restarter for the entity, e. The restarter i
1889 const char *restarter; load_general_templates() local
1954 const char *restarter; load_instance_restarter() local
2857 entity_t *restarter; tmpl_level_redefine() local
[all...]
H A Dsvccfg_xml.c156 "restarter", /* SC_RESTARTER */
280 if (xmlStrcmp(type, (const xmlChar *)"restarter") == 0) in lxml_xlate_service_type()
1392 xmlChar *restarter; in lxml_get_restarter() local
1398 * contains restarter FMRI. in lxml_get_restarter()
1414 restarter = xmlGetProp(cursor, (xmlChar *)value_attr); in lxml_get_restarter()
1417 uu_die(gettext("illegal element \"%s\" on restarter " in lxml_get_restarter()
1425 restarter); in lxml_get_restarter()
2868 * template block applies to a restarter.
2871 * template block applies to the master restarter.
2908 * restarter in verify_pg_pattern_attributes()
[all...]
H A Dsvccfg_libscf.c108 xmlNodePtr restarter; member
1597 * Let restarter handles refreshing and making new running in refresh_entity()
6761 * instance, the manifest may not specify the SCF_PG_RESTARTER (restarter)
6770 * running and it has invoked us, then the service will never get a restarter
6869 warn(gettext("Failed to get restarter property " in lscf_instance_verify()
6906 "restarter property group of instance %s\n"), in lscf_instance_verify()
6930 warn(gettext("Failed to get restarter property " in lscf_instance_verify()
8358 * Verify that the restarter group is preset in lscf_bundle_import()
9760 rnode = xmlNewNode(NULL, (xmlChar *)"restarter"); in export_svc_general()
9771 selts->restarter in export_svc_general()
[all...]
/titanic_52/usr/src/cmd/svc/milestone/
H A Ddevices-local37 svcprop -q -p system/reconfigure system/svc/restarter:default
H A DMakefile84 restarter.xml \
H A Dnet-nwam625 nwam_online=`$SVCPROP -t -p restarter/state $NET_NWAM_FMRI`
/titanic_52/usr/src/cmd/initpkg/
H A DrcS.sh120 svcprop -q -p system/reconfigure system/svc/restarter:default
/titanic_52/usr/src/cmd/svc/shell/
H A Dnet_include.sh659 system/svc/restarter:default 2>/dev/null`
684 state=`svcprop -p restarter/state \
H A Dipf_include.sh297 while [ "`svcprop -p restarter/next_state $1`" != "$SMF_NONE" ]; do
301 [ "`svcprop -p restarter/state $1`" = "$2" ] && return 0 || return 1
610 restarter=`svcprop -p general/restarter $service 2>/dev/null`
611 if [ "$restarter" = "$INETDFMRI" ]; then
H A Dmfsthistory140 svc:/system/svc/restarter:default var/svc/manifest/system/svc/restarter.xml
141 svc:/system/svc/restarter var/svc/manifest/system/svc/restarter.xml
/titanic_52/usr/src/cmd/svc/startd/
H A DMakefile42 restarter.o \
H A Dlibscf.c570 "restarter states to MAINTENANCE and NONE\n"); in libscf_read_states()
813 * get info event property from restarter:default
940 get_restarter(scf_handle_t *h, scf_propertygroup_t *pg, char **restarter) in get_restarter() argument
945 libscf_read_single_astring(h, prop, restarter) != 0) in get_restarter()
946 *restarter[0] = '\0'; in get_restarter()
1172 * Since general/restarter can be at the service level, we must do in libscf_get_basic_instance_data()
2521 * equal to LOG_PREFIX_EARLY, then the property restarter/alt_logfile
2522 * of the instance is used; otherwise, restarter/logfile is used.
3595 const char * const startd_svc = "system/svc/restarter"; in libscf_create_self()
3600 "svc:/system/svc/restarter in libscf_create_self()
[all...]
/titanic_52/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c801 const char *restarter, *script, *action; in main() local
819 if ((restarter = getenv("SMF_RESTARTER")) == NULL || in main()
820 strcmp(restarter, SCF_SERVICE_STARTD) != 0) in main()
/titanic_52/usr/src/cmd/svc/svcadm/
H A Dsynch.c298 int restarter) in fmri_has_potential() argument
329 * If we are checking a restarter dependency, a bad in fmri_has_potential()
332 result = restarter ? B_FALSE : good; in fmri_has_potential()
444 * Examines the state and health of an instance's restarter and
474 * First we check our restarter as an implicit dependency. in has_potential()
485 * Normally we would return true and let the restarter in has_potential()
488 * the restarter is invalid. in has_potential()
/titanic_52/usr/src/cmd/ipf/svc/
H A Dipfilter189 # property. The ipfilter manifest cannot include contract/restarter token in
211 ctid=`svcprop -p restarter/contract $SMF_FMRI`
/titanic_52/usr/src/lib/libscf/common/
H A Dscf_tmpl.c970 * The restarter's FMRI does not match an existing instance.
975 * The restarter's FMRI is not a valid FMRI.
982 * restarter property is not SCF_TYPE_ASTRING or has more than one value
988 char *restarter = NULL; in _get_restarter_inst() local
1013 /* Assume default restarter. */ in _get_restarter_inst()
1030 restarter = _scf_read_single_astring_from_pg(pg, in _get_restarter_inst()
1032 /* zero length string is NOT a valid restarter */ in _get_restarter_inst()
1033 if (restarter != NULL && restarter[0] == '\0') { in _get_restarter_inst()
1034 free(restarter); in _get_restarter_inst()
[all...]
/titanic_52/usr/src/cmd/svc/seed/
H A DMakefile68 ../milestone/restarter.xml \
/titanic_52/usr/src/cmd/avs/dscfg/
H A Ddscfgadm.sh633 state=`svcprop -c -p restarter/state \

12