summaryrefslogtreecommitdiff
path: root/ezjail-admin
AgeCommit message (Collapse)Author
2010-02-16Missing &&cryx
2010-02-16$0 is /etc/rc here, so doing rm -f "${0}" would leave the jail without /etc/rc after the first start.cryx
2010-02-14* Create new jails with jail_JAILNAME_exec_start instead of jail_JAILNAME_execerdgeist
* ezjail.sh replaces empty _exec_start with _exec and unsets _exec * When writing the config obey old settings, don't overwrite with defaults
2010-02-11Make ezjail-list not wider than 80 chars, if possibleerdgeist
2010-02-08Consider this to be the second part of the changes that started in 1.247erdgeist
We no allow multiple flavours to be installed at once, feed them space separated to the -f option in ezjail-admin create This installs several ezjail.flavour scripts into / of the new jail, enumerating them /ezjail.flavour.0001 through 9999 It also adds a new script to /etc/rc.d/ezjail-config in the new jail which executes /ezjail.flavour.* as it finds them. On an unrelated note ezjail-admin delete and console will now use the onestop and onestart parameters if used with -f, so they even work with ezjail_enable not set.
2010-02-08Make the Makefile install nullmailer-example, as wellerdgeist
2010-02-08Revert parts of the changes from 1.243, from now on we install a working make.conf againerdgeist
2010-02-05Ensure that no-ip jails are listed as wellerdgeist
2010-01-24- fix adding a .device entry into the fstab of a zfs-backed jail when renamingcryx
- don't unmount a zfs-backed jail when starting it fails
2010-01-20If pax fails resetting access times, don't report archiving errors.erdgeist
Do not automatically install the example's make.conf into template jail.
2010-01-15Forgot the "".cryx
2010-01-15Wrong order.cryx
2010-01-15Fix restoring zfs jails, they don't necessarily have a size so the ezjail-admin create command has to be invoked without the -s option.cryx
2010-01-15Fix the renaming of the mountpoint while renaming a zfs backed jail.cryx
2010-01-15When renaming a zfs backed jail, don't try to move the rootdir because it is done by zfs rename.cryx
2010-01-15Respect the -x option when creating a ZFS backed jail, do a check if the destinatiuon really is ZFS filesystem!cryx
2010-01-15Teach ezjail-admin not to attach a zfs backed imagejail when doing archive, reported by Nathan Tice.cryx
2010-01-14Introduce a default flavour setting, also fix some leftovers from renaming default to example. Many thanks to Panagiotis J. Christiaserdgeist
2010-01-12Allow the user to continue with ZFS operations if the pool is in a DEGRADED state, but warn about it.cryx
2010-01-11Remove bashism, use freebsd-updates way to wait randomly. Thanks to Panagiotis J. Christiaserdgeist
2010-01-11HEADS UP: Rewrote code that writes jail configs, also fixed many flaws in the config subcommand.erdgeist
2010-01-08make ezjail-admin always return 0 on success. Thanks to Justin Headerdgeist
2010-01-08add jail id to every jail ip-lineerdgeist
2010-01-08make it clearer, that multiple addresses are listed on multiple lineserdgeist
2010-01-08Rearrange space in ezjail-admin list... more needs to be done vor v6 addresses.erdgeist
2010-01-08Check for zfs_enable was invertederdgeist
2010-01-08Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresseserdgeist
2010-01-08erdgeistify styles, remove white spaces, support multiple ip addresses bettererdgeist
2010-01-03Check for the mountpoint before setting it.cryx
2010-01-03Fix a bug in ezjail-admin install where the zfs-dataset was not mounted correctly under the ezjail-directory.cryx
2009-12-29Use the jails FIB when attaching via ezjail-admin consolecryx
2009-12-29wrong checking for the fib being an integercryx
2009-12-28Support for setting and using jail-bound ZFS datasets, cpuset(1) and setfib(1).cryx
Jail-bound ZFS datasets still need the usual zfs+jail stuff like security.jail.mount_allowed=1 and security.jail.enforce_statfs=0 as well as "add path zfs unhide" in the devfs.rules for the jail. The setfib utility requires FIBs to be enabled via kernel-config. All features need at least FreeBSD 7.1-RELEASE.
2009-12-28"It seems that FreeBSD 8 does not like to start rc scripts named *.sh."cryx
Patch from http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-jail/20091227.freebsd-jail
2009-08-21variable defaults for ZFS supportcryx
2009-08-21Make archive use the cpio archive format. Also fix some Warning message.erdgeist
2009-05-27Fix ZFS creation when using ezjail-admin installcryx
2009-05-24Do the testing in a nicer way.cryx
2009-05-24Do better checks if ZFS is enabled and if the running ZFS implementationcryx
is supported.
2009-05-23First chunk of ZFS support in ezjail.cryx
ezjail is now capable of managing jails in seperate ZFS filesystems and to manage basejail and newjail in seperate ZFS filesystems too. It is possible to mix non-ZFS jails with ZFS jails as well as using ZFS jails with basejail/newjail in a non-ZFS filesystem. To create a zfs jail you need an existing ZFS pool, ZFS needs to be enabled in /etc/rc.conf and you have to set at least ezjail_jailzfs in ezjail.conf. To let ezjail manage basejail/newjail in ZFS filesystems to, you have to enable ezjail_use_zfs in ezjail.conf. To use ZFS support in ezjail, you have to use at least FreeBSD 7-STABLE form after the commit of ZFS version 13 (commited Wed May 20 23:34:59 2009 UTC, http://svn.freebsd.org/viewvc/base?view=revision&revision=192498) of FreeBSD 8-CURRENT. Prior versions of ZFS are _not_ supported. Creating a ZFS based jail is as easy as using 'ezjail-admin create -c zfs <jailname> <jailip>'. Using zfs send/receive for archiving is not yet implemented. Converting non-ZFS basejail/newjail setups into ZFS setups is not handled by ezjail, converting non-ZFS jails into ZFS jails is not yet handled by ezjail but will be possible in the future. WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS support in ezjail is work in progress.
2009-02-02Using posix (2001) format instead of the outdated ustar to archiveerdgeist
2008-10-22Setting defaults the more elegant bourne shell styleerdgeist
2008-09-26Preparing ezjail for 3.0RELEASE_3_0erdgeist
2008-07-18NOOO! We do not want to install word! Never! Thanks to Georg Hartzell for pointing that out.erdgeist
2008-07-17anoncvs.at.freebsd.org does no longer existerdgeist
2008-07-16Finally modernize behaviour of ezjail-admin update.erdgeist
It no longer rebuilds the whole world by default. Also add a -u option that utilies freebsd-update to update the world.
2008-07-13echo needs a -e switch in order to handle newlines correctlyerdgeist
2008-07-13Fixed one unverfied copy'n'paste actionerdgeist
2008-07-10Add -P -M and -S switches to ezjail-admin install.erdgeist
Those commands can be used to add ports, sources and man page packages to an already installed base without reinstalling the base. Unify error reporting and try to give the user enough clues as how to go on in case of an error.
2008-07-09A control character slipped into the scripterdgeist