./pkgtools/mksandbox, Tool for creating sandboxes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3, Package name: mksandbox-1.3, Maintainer: agc

A small shell script to set up a sandbox (usually for a pkgsrc bulk
build), using null mounts.


Version history: (Expand)


CVS history: (Expand)


   2014-03-03 04:30:55 by OBATA Akio | Files touched by this commit (43)
Log message:
Just define PKGNAME and use it.
   2013-07-25 00:16:26 by Jonathan Perkin | Files touched by this commit (2)
Log message:
mksandbox-1.3:

 - Add /usr/sfw to SunOS mount dirs, required for certain binaries on
   newer releases.
 - Mount proper instances of /dev and /dev/fd on SunOS rather than relying
   on devfsadm and ucblinks, the latter of which does not exist on newer
   releases.
 - Do not create /var/games if the games user does not exist.
   2013-07-20 12:20:42 by Jonathan Perkin | Files touched by this commit (3)
Log message:
mksandbox-1.2:

  * Mount /proc read-write on Linux, it appears to be required for e.g.
    groupadd to function correctly.

  * Add new --rodirs and --rwdirs options, which allow arbitrary lists
    of directories to be mounted appropriately inside the chroot.

  * Add --without-pkgsrc which prevents the default pkgsrc directories
    from being mounted.

This allows mksandbox to be easily used for chrooted pbulk setups, using
a simple invocation such as:

  mksandbox --without-pkgsrc --rodirs=/usr/pbulk --rwdirs=/shared /chroot
   2013-07-18 18:07:22 by Jonathan Perkin | Files touched by this commit (2)
Log message:
mksandbox-1.1:

  * Add /lib64 and /usr/lib64 on Linux.
  * Ensure that read-only --bind mounts on Linux are actually read-only.
   2013-05-29 17:57:09 by Alistair G. Crooks | Files touched by this commit (1)
Log message:
I'll take responsibility for this one.
   2013-05-29 17:14:49 by Thomas Klausner | Files touched by this commit (1)
Log message:
- add missing `--mounthost=host' option (and adjust the list width
  for that);
- use more common option list header line;
- correct argument names of `--src' and `--xsrc' in the text;
- correct default `xsrcdir' directory;
- choose different argument wording (then also using appropriate
  macro) in the arbitrary sandbox command running explanation (and
  adjust the list width with it);
- add comma after ``e.g.'';
- bump date.

From Bug Hunting.
   2013-05-29 17:09:49 by Thomas Klausner | Files touched by this commit (1)
Log message:
- add missing `--mounthost=host' option to usage comment;
- sort options order in usage comment and `usage' message;
- de-capitalize ``usage'' word in usage message.

From Bug Hunting.
   2012-09-12 01:19:40 by Aleksej Saushev | Files touched by this commit (60)
Log message:
"user-destdir" is default these days