From owner-freebsd-arch@FreeBSD.ORG Tue Dec 21 23:34:43 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41F6616A4CE; Tue, 21 Dec 2004 23:34:43 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0959143D3F; Tue, 21 Dec 2004 23:34:43 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F32B951288; Tue, 21 Dec 2004 15:34:41 -0800 (PST) Date: Tue, 21 Dec 2004 15:34:41 -0800 From: Kris Kennaway To: Poul-Henning Kamp Message-ID: <20041221233441.GA28661@xor.obsecurity.org> References: <20041221232354.GA28374@xor.obsecurity.org> <91427.1103671535@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <91427.1103671535@critter.freebsd.dk> User-Agent: Mutt/1.4.2.1i cc: Kirk McKusick cc: arch@freebsd.org cc: Scott Long cc: Robert Watson cc: Kris Kennaway Subject: Re: Forcefully unmounting devfs... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 23:34:43 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 22, 2004 at 12:25:35AM +0100, Poul-Henning Kamp wrote: > In message <20041221232354.GA28374@xor.obsecurity.org>, Kris Kennaway wri= tes: > > > >--W/nzBZO5zC0uMSeA > >Content-Type: text/plain; charset=3Dus-ascii > >Content-Disposition: inline > >Content-Transfer-Encoding: quoted-printable > > > >On Tue, Dec 21, 2004 at 02:32:34PM -0700, Scott Long wrote: > > > >> >Either disable forceful unmount of devfs, which makes sense from > >> >KISS and many other principles, and then jail wardens will have to > >> >find other ways to clean up their jails > > > >> >The more I think about it, the more I lean towards the first option. > >> > > >>=3D20 > >> I think that I'd agree here from the point of view of finding an=3D20 > >> expedient way to keep from shooting off feet. > > > >Unfortunately that's going to cause me a fair amount of pain, unless > >there's a simple way to kill all processes running in a given chroot > >(NB: I don't currently use jails because a number of ports won't build > >in a jail) so I can free up the devfs and then unmount it. >=20 > But unmounting it forcefully is not guaranteed to clean up your > chroot today... Well, at least the filesystem presence disappears so I can reuse the mountpoint. Kris --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFByLMRWry0BWjoQKURAk6dAKDD+Jius+g3EmW4TZnyaxgLZvDs2gCgq23c BgZRgDjQsGpzySeglye7GOk= =R4oY -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--