[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-nfs-discuss
Subject:    Re: [nfs-discuss] How to make rpcbind to bind services to
From:       Tom Haynes <Thomas.Haynes () Sun ! COM>
Date:       2009-09-28 17:48:17
Message-ID: 4AC0F6E1.7080309 () sun ! com
[Download RAW message or body]

Jozef Hamar wrote:
> Hello Tom,
>
> are you suggesting, that rpcbind will look in the /etc/servicec and, 
> if found, it will use the port number found there? The random port 
> number will be used only, and only if the requested service is not 
> found in the /etc/services.

Yes, we do something very similar when doing testing of pNFS communities
and we want to force dserv to be on the same port after a reboot of a
dataserver.

>
> For example, if I have this two lines in /etc/services
>
> lockd           4045/udp                        # NFS lock daemon/manager
> lockd           4045/tcp
>
> the rpcbind will use everytime port 4045 for lockd?
>
> Jozef
>
> Tom Haynes wrote:
>> Jozef Hamar wrote:
>>> Hi all,
>>>
>>> As a newbie to Solaris, I am trying to make rpcbind to bind specific 
>>> services (e.g. nfs, lockd and statd) to specific ports due to 
>>> firewalling.
>>> Something similar can be achieved in FreeBSD with 
>>> rpc_lockd_flags="-p custom_port" in rc.conf.
>>>
>>> So far, I have not succeeded. Can you guys push me into the right 
>>> direction?
>>>
>>> Thank you,
>>>
>>> Jozef Hamar
>>> _______________________________________________
>>> nfs-discuss mailing list
>>> nfs-discuss@opensolaris.org
>>
>>
>> Jozef,
>>
>> services(4) will allow you to configure this.
>>
>> Tom
>

_______________________________________________
nfs-discuss mailing list
nfs-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic