[illumos-Developer] NIS server

Igor Kozhukhov ikozhukhov at gmail.com
Thu Jul 7 09:53:23 PDT 2011


Albert,

NIS server didn't start without package SUNWyp.

You can try enable service by hand:
svcadm enable nis/server

It didn't work.

Need investigate and maybe fix manifests/SMF with dependences.

-Igor


> From: Albert Lee <trisk at opensolaris.org>
> Date: Thu, 7 Jul 2011 11:21:51 -0400
> To: Igor Kozhukhov <ikozhukhov at gmail.com>
> Cc: Yuri Pankov <yuri.pankov at gmail.com>, "developer at lists.illumos.org"
> <developer at lists.illumos.org>
> Subject: Re: [illumos-Developer] NIS server
> 
> pkg:/service/network/nis contains both the NIS software and the SMF
> manifests for the NIS services, obviously it's not installed by
> default.
> 
> -Albert
> 
> On Thu, Jul 7, 2011 at 10:47 AM, Igor Kozhukhov <ikozhukhov at gmail.com> wrote:
>> I tried configure NIS server.
>> 
>> I have found that package was renamed to service/network/nis:
>> 
>> root at srv249:/var/yp# pkg contents -r -m
>> pkg://opensolaris.org/SUNWyp@0.5.11,5.11-0.133:20100216T103151Z
>> set name=pkg.fmri
>> value=pkg://opensolaris.org/SUNWyp@0.5.11,5.11-0.133:20100216T103151Z
>> set name=org.opensolaris.consolidation value=osnet
>> set name=pkg.renamed value=true
>> set name=variant.opensolaris.zone value=global value=nonglobal
>> set name=variant.arch value=sparc value=i386
>> depend fmri=consolidation/osnet/osnet-incorporation type=require
>> depend fmri=service/network/nis at 0.5.11-0.133 type=require
>> 
>> I don't know why installed service didn't work without workaround?
>> 
>> root at srv249:/var/yp# pkg info service/network/nis
>>          Name: service/network/nis
>>       Summary: NIS Server for Solaris
>>   Description: NIS Server for Solaris 2.6 and up
>>      Category: System/Administration and Configuration
>>         State: Installed
>>     Publisher: openindiana.org
>>       Version: 0.5.11
>>  Build Release: 5.11
>>        Branch: 0.151
>> Packaging Date: May 23, 2011 03:32:42 PM
>>          Size: 571.34 kB
>>          FMRI:
>> pkg://openindiana.org/service/network/nis@0.5.11,5.11-0.151:20110523T153242Z
>> 
>> -Igor
>> 
>> 
>>> From: Yuri Pankov <yuri.pankov at gmail.com>
>>> Date: Thu, 7 Jul 2011 18:44:17 +0400
>>> To: Igor Kozhukhov <ikozhukhov at gmail.com>
>>> Cc: "developer at lists.illumos.org" <developer at lists.illumos.org>
>>> Subject: Re: [illumos-Developer] NIS server
>>> 
>>> On Thu, Jul 07, 2011 at 06:34:55PM +0400, Igor Kozhukhov wrote:
>>>> Hello All,
>>>> 
>>>> I have found that NIS server not working on OpenIndiana 151 without
>>>> workaround from site http://opensolaris.org/jive/thread.jspa?threadID=85136
>>>> ($ pfexec pkg install SUNWyp)
>>>> 
>>>> Do we have plane for package SUNWyp port to illumos tree?
>>> 
>>> Just to make sure, are you trying to configure server or client (the
>>> link you mentioned talks about client)?
>>> 
>>> If you are trying to configure the client, same link has the following:
>>> 
>>> `I think the proper fix is to make "ypinit -c" operate correctly if the
>>> server services aren't present, rather than to add a dependency'
>>> 
>>> which seems a better solution to me.
>>> 
>>> 
>>> Yuri
>> 
>> 
>> 
>> _______________________________________________
>> Developer mailing list
>> Developer at lists.illumos.org
>> http://lists.illumos.org/m/listinfo/developer
>> 





More information about the Developer mailing list