Bruno Cesar Ribas: > This happened since I cannot use CONFIG_AUFS_FAKE_DM if I have NFS as an > aufs branche (CONFIG_AUFS_LHASH_PATCH) and I upgraded from kernel 2.6.23 to > 2.6.24.2=20
It seems very old... it is really old when nfs branch requires disabling FAKE_DM. Anyway I could reproduce your problem on my test environment, and here is a patch for you. I hope you will succeed without dirperm1. But I have to consider about security issues on nfs before I merge this patch into CVS. > And I get random system crashes, it is more likely a catatonic state, as > system root does not respond. And some areas of filesystem are frozen, if I > run something like "ls /path/to/bad/area" my LS hangs and I loose my shell. > Even running 'ps aux' makes me loose my shell, but these problems i did not > isolated yet This must be big problem. Junjiro Okajima ---------------------------------------------------------------------- Index: fs/aufs/misc.c =================================================================== RCS file: /cvsroot/aufs/aufs/fs/aufs/misc.c,v retrieving revision 1.48 diff -u -p -r1.48 misc.c --- fs/aufs/misc.c 18 Feb 2008 04:38:15 -0000 1.48 +++ fs/aufs/misc.c 13 Mar 2008 05:56:30 -0000 @@ -312,7 +312,7 @@ int au_test_perm(struct inode *hidden_in { if (!current->fsuid) return 0; - if (unlikely(au_test_nfs(hidden_inode->i_sb) + if (unlikely(0 && au_test_nfs(hidden_inode->i_sb) && (mask & MAY_WRITE) && S_ISDIR(hidden_inode->i_mode))) mask |= MAY_READ; /* force permission check */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/