Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 15:34:41 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Forcefully unmounting devfs...
Message-ID:  <20041221233441.GA28661@xor.obsecurity.org>
In-Reply-To: <91427.1103671535@critter.freebsd.dk>
References:  <20041221232354.GA28374@xor.obsecurity.org> <91427.1103671535@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221233441.GA28661>