Date: Sat, 11 Feb 2006 10:05:01 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/portbuild/scripts clean-chroot Message-ID: <200602111005.k1BA5224014766@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2006-02-11 10:05:01 UTC
FreeBSD ports repository
Modified files:
Tools/portbuild/scripts clean-chroot
Log:
* In kill_procs(), pass in the directory and mountpoint as separate
arguments (cosmetic)
* Detect if a chroot was used to run a jailed build, and first attempt
to gracefully shut it down by killing everything within using pgrep(1)
This has a much higher chance of succeeding that relying on fstat to
identify processes that might interfere with our attempts to clean up
mountpoints, which is fragile (libkvm-dependent), and inherently
unreliable at best.
Revision Changes Path
1.10 +8 -2 ports/Tools/portbuild/scripts/clean-chroot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602111005.k1BA5224014766>
