Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-27 Thread Javier Fernández-Sanguino Peña
On Wed, Apr 26, 2006 at 02:13:06PM +0200, Steinar H. Gunderson wrote: > On Wed, Apr 26, 2006 at 06:36:59AM -0500, David McGiven wrote: > > The newer 2.6 series kernels support configuring the TCP/UDP port number > > of the kernel lockd via the files /proc/sys/fs/nfs/nlm_tcpport and > > /proc/sys/fs

Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-26 Thread David McGiven
Dear Steinar, I'm not an expert on NFS/SunRPC so I cannot say it would be good or bad to assign fixed port numbers on debian BY DEFAULT. Regards, David - Original Message - > On Wed, Apr 26, 2006 at 06:36:59AM -0500, David McGiven wrote: > > The newer 2.6 series kernels support configu

Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-26 Thread Stephen Gran
This one time, at band camp, David McGiven said: > > Dear Debian Developers, > > The newer 2.6 series kernels support configuring the TCP/UDP port number > of the kernel lockd via the files /proc/sys/fs/nfs/nlm_tcpport and > /proc/sys/fs/nfs/nlm_udpport. [EMAIL PROTECTED]:~$ cat /etc/sysctl.conf

Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-26 Thread David McGiven
Marco, Most probably you're right, but take a look to this scenario : You want to change the lockd ports. For this you have to stop->start the nfs-common service, echo "port" > /proc/sys/fs/nfs/nlm_tcpport and start again. When you're sure you want those ports, and if you want to preserve this

Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-26 Thread Steinar H. Gunderson
On Wed, Apr 26, 2006 at 06:36:59AM -0500, David McGiven wrote: > The newer 2.6 series kernels support configuring the TCP/UDP port number > of the kernel lockd via the files /proc/sys/fs/nfs/nlm_tcpport and > /proc/sys/fs/nfs/nlm_udpport. Actually, I've been considering locking both lockd, mountd

Re: Specifying TCP/UDP port for lockd under /etc/default/nfs-common

2006-04-26 Thread Marco d'Itri
On Apr 26, David McGiven <[EMAIL PROTECTED]> wrote: > Having a look on /etc/init.d/nfs-common and /etc/default/nfs-common (On > Debian Sarge) I don't find any smart way to specify those ports. It would > be great if we had an option to specify the ports on the file : > /etc/default/nfs-common No,