On Tue, 5 Apr 2011 08:00:50 +0100 (BST)
Davide <[email protected]> wrote:

> In support to what I supposed I had a look at my dockstar running
> current but no nfs services active: root@slackware:~# sysctl -a |
> grep nfs error: permission denied on key 'net.ipv4.route.flush'
> error: permission denied on key 'net.ipv6.route.flush'
> root@slackware:~#
> 
> The two keys you mention do not yet exist until the nfsd module is
> loaded: root@slackware:/etc/rc.d# modprobe nfsd
> root@slackware:/etc/rc.d# sysctl -a | grep nfs
> fs.nfs.nlm_grace_period = 0
> fs.nfs.nlm_timeout = 10
> fs.nfs.nlm_udpport = 0
> fs.nfs.nlm_tcpport = 0
> fs.nfs.nsm_use_hostnames = 0
> fs.nfs.nsm_local_state = 0
> error: permission denied on key 'net.ipv4.route.flush'
> error: permission denied on key 'net.ipv6.route.flush'
> sunrpc.nfs_debug = 0
> sunrpc.nfsd_debug = 0
> root@slackware:/etc/rc.d#
> 
> You can fix this by adding the sysctl -p.... just after loading nfsd
> module in rc.nfsd or just like I said by loading the module in
> rc.modules and making sure that sysctl.conf is reloaded after
> rc.modules. 


Yep, that's definitely it - just confirmed.  Weird though, as
it doesn't seem to make a difference unless / is on nand.
Oh well, problem solved - good enough for me.  Thanks!!  :-)

-RW
_______________________________________________
ARMedslack mailing list
[email protected]
http://lists.armedslack.org/mailman/listinfo/armedslack

Reply via email to