Steinar H. Gunderson wrote:  [Sat Jul 28 2007, 09:18:05PM EDT]
> On Sat, Jul 28, 2007 at 09:15:30PM -0400, Aron Griffis wrote:
> > I don't want to export my /proc, I want to export a filesystem that
> > has proc mounted on a subdir. 
> 
> But NFS exports filesystems, so at least in theory, the /proc in there should
> be ignored completely unless you export it.

Exactly.  But instead it's hanging

> >     /chroots/foo 10.0.0.0/8(ro,no_root_squash,no_subtree_check)
> > 
> > In fact I determined it also freezes when proc is mounted directly,
> > nevermind bind-mounting.  My original report said that it worked in
> > that configuration, but it doesn't.
> 
> Have you tried changing to subtree_check?

I haven't yet.  I thought no_subtree_check only referred to
permissions, and nohide refers to sub-filesystems?  I was also using
no_subtree_check on 1.0.9 with this configuration.

(Note the simple reproducer I gave in the start of this bug report
means that you also can test ;-)

> Is it mountd or the kernel that freezes?

Not sure.  It can be worked around by continuously restarting the nfs
server, so that sounds like userland.  In wireshark it shows as
a LOOKUP on /proc, and the server never replies.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to