http://defect.opensolaris.org/bz/show_bug.cgi?id=14441
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan.maguire at sun.com
--- Comment #2 from amaguire <alan.maguire at sun.com> 2010-02-09 10:27:22 UTC
---
(In reply to comment #1)
> Our current hypothesis is that this is because we are not a transient service
> but in a shared stack zone there is no representative process.
This sounds right to me. Try replacing
smf_configure_ip || exit $SMF_EXIT_OK
...with
# The real daemon is not started in a shared-stack zone. But we need to
# create a dummy background process to preserve contract lifetime.
SHARED_STACK=`smf_configure_ip`
if [ [$SHARED_STACK = "1" ]; then
(while true ; do sleep 3600 ; done) &
exit $SMF_EXIT_OK
fi
That is the workaround used by svc-dlmgmt and svc-ipmgmt to deal with the fact
that we want a service not to be transient in the global zone, but don't want
it to do anything in shared-stack (and in the case of dlmgmtd, non-global)
zones.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.