Quoth nate at cse.psu.edu on Wed, Mar 22, 2006 at 11:29:56AM -0800:
> 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.

Indeed, because of this, name_service in your sysidcfg file takes
precedence over site.xml.  Do you have it set to NIS in your sysidcfg
file?


David

Reply via email to