Subject: Re: Problems with nfslocking
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: David Ferlier <david@netbsd-fr.org>
List: netbsd-help
Date: 07/31/2003 17:03:29
Hi Martti,
If you look carefully at rc.conf(5), you'll see that there's no
'nfslocking' option. The correct option is 'lockd'. So just add a
'lockd=YES' in your /etc/rc.conf and do /etc/rc.d/nfslocking start.
I guess you thought there was a direct relation between the option name
(eg 'inetd') and the filename in /etc/rc.d. The name of the variable name
of the script is defined by the shell variable 'rcvar'. So you'll see that
in the /etc/rc.d/nfslocking script, there's this:
name="lockd"
rcvar=$name
David
On Thu, Jul 31, 2003 at 12:21:02PM +0300, Martti Kuparinen wrote:
> Hi!
>
> This might be a stupid question but it's too hot here in Finland and my
> brains
> are not working correctly...
>
> ROOT inside:~> grep nfs /etc/rc.conf
> nfs_server=YES
> nfslocking=YES
> nfsd=YES
>
> Why isn't this working? No errors, nothing...
>
> ROOT inside:~> /etc/rc.d/nfslocking start
> ROOT inside:~>
>
> Martti
>
--
David Ferlier -- david@netbsd-fr.org
http://happy-hacking.homeunix.org/~krp (IPv4) ||
http://minimoi.segfault.quatriemek.com/~krp (IPv6)