I just spent a week trying to figure out what's going on here as I was having the same problem with nis/client. The culprit is /lib/svc/method/sysidtool-system (svc:/system/sysidtool:system), lines 31-40:
# # If we are run during a reconfigure boot, apply the ns_none # name service profile to clear name services. # if [ -x /usr/sbin/svccfg ] ; then if [ -f /var/svc/profile/ns_none.xml ] ; then /usr/sbin/svccfg apply /var/svc/profile/ns_none.xml \ >/dev/null 2>&1 fi fi This essentially disables nis/client, regardless of whether or not you enable it in site.xml, since sysidtool-system runs after manifest-import. I am not sure whether to consider this a bug or not, but it should at least be documented somewhere. The solution I'm using is to rename ns_none.xml during post-install scripts so the -f test fails. This message posted from opensolaris.org