Quoth Chad Mynhier on Wed, Apr 12, 2006 at 09:26:02AM -0400: > Problem: After a jumpstart using a flash archive, nis/server is > enabled via site.xml, immediately disabled by > svc:/system/sysidtool:system via these lines in > /lib/svc/method/sysidtool-system: > > 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 > > and is not then re-enabled. The same disable happens to nis/client, > but nis/client is then re-enabled because > /lib/svc/method/sysidtool-system does the following immediately > afterwards: ... > and /var/svc/profile/name_service.xml enables nis/client. > Unfortunately, it says nothing about nis/server. > > So, how do you automatically enable nis/server if doing it via > site.xml doesn't actually achieve what you would expect?
Looks like a bug to me. I don't see why the ns_ profiles should mess with anything other than name service clients. I imagine ns_none.xml disabling nis/server is a holdover from when nis/server & nis/client were confused. David