notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: Tools/portbuild/scripts/clean-chroot

Number of commits found: 19

Sun, 24 Apr 2011
[ 16:37 flz ] Original commit 
1.2 Tools/portbuild/conf/.cvsignore
1.2 Tools/portbuild/conf/README.dotunnel
1.5 Tools/portbuild/conf/client.conf
1.2 Tools/portbuild/conf/common.conf
1.2 Tools/portbuild/conf/make.conf
1.8 Tools/portbuild/conf/server.conf
1.19 Tools/portbuild/errorlogs/index.shtml
1.2 Tools/portbuild/mlist
1.7 Tools/portbuild/portbuild.conf
1.7 Tools/portbuild/scripts/allgohans

(Only the first 10 of 72 ports in this commit are shown above. View all ports for this commit)
Remove portbuild scripts from pcvs, as they now live in svn/projects.
Wed, 1 Dec 2010
[ 02:27 linimon ] Original commit 
1.11 Tools/portbuild/scripts/buildfailure
1.12 Tools/portbuild/scripts/buildsuccess
1.14 Tools/portbuild/scripts/claim-chroot
1.18 Tools/portbuild/scripts/clean-chroot
1.27 Tools/portbuild/scripts/makeduds
1.32 Tools/portbuild/scripts/makeindex
1.12 Tools/portbuild/scripts/makerestr
1.35 Tools/portbuild/scripts/pdispatch
1.8 Tools/portbuild/scripts/prunefailure
Although I was going to try to avoid it, it turns out that it is
impossble to have merely "server.conf" and "client.conf" control
everything on a head node.  Some pieces must be refactored into
Fri, 25 Jun 2010
[ 23:04 linimon ] Original commit 
1.17 Tools/portbuild/scripts/clean-chroot
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself.

Constants are factored out into installation-specific files known as
portbuild/conf/server.conf and portbuild/conf/client.conf.  There is
only one server.conf file.  Individual <arch> directories may have
their own client.conf files, or may symlink to ../conf/client.conf.

While here, rework the code a bit to parameterize arch-specific tasks.

Feature safe:   yes
Mon, 16 Nov 2009
[ 00:16 linimon ] Original commit 
1.16 Tools/portbuild/scripts/clean-chroot
1.10 Tools/portbuild/scripts/cleanup-chroots
Harden these a bit: make them identify on which host they were running;
skip unncessary steps.
Sat, 26 Jul 2008
[ 14:12 kris ] Original commit 
1.15 Tools/portbuild/scripts/clean-chroot
* Cleanup
* Catch up to build ID directory changes
* Improved support for ZFS
* Desupport X11BASE
Sun, 29 Jul 2007
[ 20:27 kris ] Original commit 
1.10 Tools/portbuild/scripts/claim-chroot
1.14 Tools/portbuild/scripts/clean-chroot
1.7 Tools/portbuild/scripts/cleanup-chroots
Support builds using zfs and tmpfs backing store


* Enabled by use_zfs=1 in portbuild.conf

* Populate build chroots by cloning a zfs snapshot instead of maintaining
  many duplicate copies.  In principle this is very efficient since
  everything is copy-on-write and zfs snapshot creation is almost
  instantaneous.  There might be additional overheads from building on zfs
  though.  Currently the snapshot base is hard-wired to y/${branch}@base
  but should be parametrized.  This also must be populated beforehand, e.g.
  during machine startup

* Clean build chroots by just destroying the snapshot.


* Enabled by use_tmpfs=1 and tmpfs_size in portbuild.conf

* The previous md strategy of mounting in used/, populating and then
  remounting (to avoid possible races from multiple builds claiming the
  same chroot) doesn't work here because tmpfs instances are destroyed at
  umount.  I am not entirely sure the simpler approach is free from races.
Sun, 18 Feb 2007
[ 08:57 kris ] Original commit 
1.13 Tools/portbuild/scripts/clean-chroot
Also attempt to clean /root/.ccache in case it is in use.  When cleaning
on a machine that has use_md_swap=1, allow for the possibility of reusing
a md between builds if md_persistent=1.  This requires a patch from pjd
to support BIO_DELETE in md devices, but it is a big optimization when
it can be used.
Thu, 14 Sep 2006
[ 05:14 kris ] Original commit 
1.12 Tools/portbuild/scripts/clean-chroot
Go back to force unmounting because not doing so was too unreliable.
Mon, 3 Apr 2006
[ 04:41 kris ] Original commit 
1.11 Tools/portbuild/scripts/clean-chroot
Clean up linprocfs on amd64 as well.
Sat, 11 Feb 2006
[ 10:05 kris ] Original commit 
1.10 Tools/portbuild/scripts/clean-chroot
* 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.
Fri, 3 Feb 2006
[ 20:08 kris ] Original commit 
1.9 Tools/portbuild/scripts/clean-chroot
Instead of passing in a "noclean" boolean, pass in a "clean" level:
  0 = don't clean chroot
  1 = sanitize commonly-modified directories
  2 = remove entire chroot
Sun, 22 Jan 2006
[ 04:54 kris ] Original commit 
1.8 Tools/portbuild/scripts/clean-chroot
Pull in buildenv for LOCALBASE/X11BASE locations

Don't bother cleaning up doc mounts, they are not needed.
Tue, 11 Oct 2005
[ 03:45 kris ] Original commit 
1.7 Tools/portbuild/scripts/clean-chroot
* Add support for use_md_swap
[ 03:27 kris ] Original commit 
1.6 Tools/portbuild/scripts/clean-chroot
Silence some possible errors from chflags -R
Sat, 12 Feb 2005
[ 03:38 kris ] Original commit 
1.5 Tools/portbuild/scripts/clean-chroot
* Instead of using umount -f to unmount things, first use fstat to
look for processes holding open references within the FS and kill
them, then use regular umount.  This is necessary now that devfs
cannot be force-unmounted, and has the benefit that processes can't
hang around holding references to files between port builds.

* Reduce possibility for error by testing for presence of executable
ldconfig inside the chroot before attempting to run it (e.g. it may not
be there if the chroot was not completely initialized)
Sun, 9 Jan 2005
[ 10:21 krion ] Original commit 
1.12 Tools/make_index
1.4 Tools/portbuild/README
1.3 Tools/portbuild/scripts/allgohans
1.5 Tools/portbuild/scripts/buildfailure
1.12 Tools/portbuild/scripts/checkmachines
1.4 Tools/portbuild/scripts/clean-chroot
1.32 Tools/portbuild/scripts/dopackages
1.17 Tools/portbuild/scripts/makeduds
1.5 Tools/portbuild/scripts/makeworld
1.2 Tools/portbuild/scripts/pnohang.c

(Only the first 10 of 28 ports in this commit are shown above. View all ports for this commit)
Remove traling spaces.
Sun, 5 Dec 2004
[ 00:15 kris ] Original commit 
1.3 Tools/portbuild/scripts/clean-chroot
Be silent about attempts to unmount filesystems from within the chroot
Sun, 26 Sep 2004
[ 21:59 kris ] Original commit 
1.2 Tools/portbuild/scripts/clean-chroot
Refuse to "clean" / if something goes wrong upstream and we are passed
the wrong path

Approved by:    portmgr (self)
Wed, 14 Jul 2004
[ 10:45 kris ] Original commit 
1.1 Tools/portbuild/scripts/clean-chroot
Clean up the specified chroot (umount filesystems, and scrub the
directories likely to contain changed files).

Number of commits found: 19

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30
mongodb36Sep 30

8 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-15 15:43:31

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 37692
Broken 77
Deprecated 104
Ignore 343
Forbidden 3
Restricted 158
Vulnerable 27
Expired 18
Set to expire 75
Interactive 0
new 24 hours 4
new 48 hours6
new 7 days29
new fortnight60
new month230

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.