Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 12:21:09 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: diskless/rm causing deadlock? 
Message-ID:  <E1HeSpB-000E1X-3S@cs1.cs.huji.ac.il>
In-Reply-To: <20070404160436.GA59964@xor.obsecurity.org> 
References:  <E1HZ1Go-000DYB-KZ@cs1.cs.huji.ac.il> <20070404160436.GA59964@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> --opJtzjQTFsWo+cga
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Wed, Apr 04, 2007 at 11:55:10AM +0300, Danny Braniss wrote:
> > I stumbled on this in -current, but it's also true for 6.2.
> > /(root) is mounted diskless, doing rm of a file in /, even as a lowly mor=
> tal
> > will hang the network, and hence everything.
> > on a 6.1 system, it works as expected.
> >=20
> > badwolf> rm /usr/ports
> > rm: /usr/ports: Read-only file system
> >=20
> > i'll try to hunt this down, but some pointers where to start might be
> > helpfull
> 
> Start with a tcpdump of network traffic.  CC mohans@ :)
> 
> I have seen something similar myself, but have not yet tracked it down.

it's because / is mounted NFS/V2 - so the 'bug' must be in the V2 stack.

danny





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HeSpB-000E1X-3S>