Date: Sun, 9 Jan 2011 12:24:18 +0100 From: "Marek Salwerowicz" <salwerom@iem.pw.edu.pl> To: "Rick Macklem" <rmacklem@uoguelph.ca> Cc: freebsd-current@freebsd.org, Andrzej Tobola <ato@iem.pw.edu.pl> Subject: Re: NFSv4 and pam_mount - mounting user home directories. Message-ID: <63A16336D4E84A90969026BAFB5FDA64@marekdesktop> References: <945459543.11920.1294546904586.JavaMail.root@erie.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
>> >> What I am missing ? >> >> /etc/sysctl.conf is applied before rc.d/nfs* ? >> > That would be my guess. The sysctl's aren't setable until the modules > are loaded. If you build a kernel with "options NFSD" in its kernel > config file, then it should be setable as above, I think? (I always > use sysctl manually after booting, so I don't really know how /etc/sysctl.conf > works. > After manually setting: salwerom@freebsd:/etc#sudo sysctl vfs.newnfs.server_max_nfsvers=4 vfs.newnfs.server_max_nfsvers: 4 -> 4 salwerom@freebsd:/etc#sudo sysctl vfs.newnfs.server_min_nfsvers=4 vfs.newnfs.server_min_nfsvers: 4 -> 4 salwerom@freebsd:/etc# We are still able to mount via NFSv3 (even when those two lines are commented in sysctl.conf). Any other idea.. ? -- Marek Salwerowicz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63A16336D4E84A90969026BAFB5FDA64>