On Tue, Dec 01, 2009 at 08:59:16AM +1100, Neil Brown wrote: > On Mon, 30 Nov 2009 13:18:58 -0500 > "J. Bruce Fields" <bfields@xxxxxxxxxxxx> wrote: > > > Note we want to do more than one of these; in particular: > > > > > 1) Start servers with '-N 4' when there is no root configured. > > > > This is required. The current behavior is a bug, and we must not > > start servers with v4 support without having a pseudoroot. > > Yes, you could describe the current behaviour as a bug, but I don't > think it necessarily follows than encouraging the use of "-N 4" is an > appropriate resolution to the bug. I agree with Steve that that would > seem like a backwards step. I agree that there's a usability disadvantage, but basic correctness trumps usability here. > Completing the auto-pseudo-root work and getting that active would also > fix the bug, and would do it in a more forward-looking way. Yes, it's a huge problem that that hasn't been resolved yet, sorry. I hope we have close-to-final patches posted today or tomorrow. By the way, on a possibly related problem: there is one corner case where Steve's proposed approach won't work: when the filesystems traversed on the way to the root don't themselves support nfs exports. I'd expect that to be rare, but was surprised to see at least one person reporting doing it: http://marc.info/?l=linux-nfs&m=125787146106897&w=2 As a last resort, some day we may need some way to turn off v4 in that case. > So while there may be a case of advising people (in a FAQ?) that using > -N4 might be appropriate if no fsid=root is configured, I don't think > there is any point in trying to make it a default through making > any changes to the nfs-utils packages. All that's needed is a different default in e.g. /etc/sysconfig/nfs, and a note that v4 servers need to adjust the default. It's annoying, but not that annoying. --b. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html