http://defect.opensolaris.org/bz/show_bug.cgi?id=14441
--- Comment #3 from Michael Hunter <michael.hunter at sun.com> 2010-02-09 16:58:02 UTC --- (In reply to comment #2) > (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. Yea, discussed this (I Like 'mkfifo /tmp/foo ; cat </tmp/foo' better but they are all hacks the same) and an idea that Bill Sommerfeld had where we manipulated the property on the service that marked us as transient. The former seems gross and the later maybe too devious. -- 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.
