466 Commits

Author SHA1 Message Date
erdgeist
c7ee87cfdf Explicitely warn the user to set the ezjail_jailzfs variable, also correct miss-naming the destination zfs parent filesystem as zpool 2011-01-28 16:42:09 +00:00
erdgeist
30547451e1 Several clarifications added to man pages 2011-01-25 20:16:15 +00:00
erdgeist
8172a352e7 The ezjail-admin create -A switch is for internal use only. It is used, when ezjail-admin restore re-creates a jail from archive 2011-01-25 16:36:04 +00:00
fred
737a6825b0 Correct a typo 2011-01-24 22:41:04 +00:00
erdgeist
2147da646e Explaining the zfs features of ezjail 2011-01-24 20:18:21 +00:00
erdgeist
d9ba6ce811 Some clarifications to basic concepts of ezjail 2011-01-22 17:11:05 +00:00
fred
48b7585e0c Add a link to rc(8) (but really a test for CVS write access). 2011-01-20 21:32:16 +00:00
erdgeist
e453770282 The default archive directory now is not '.' anymore, but $\{ezjail_jaildir\}/ezjail_archives 2011-01-20 21:20:36 +00:00
erdgeist
712cdc830d New man pages, also put in new sections 2011-01-20 21:03:50 +00:00
erdgeist
38bd97262a Fix bug: ezjail-admin install -M and ezjail-admin install -S only installed to staging directory, not into basejail. 2011-01-20 14:23:59 +00:00
erdgeist
1e718d4c5f Prepare old jails for deletion. Thanks to Piotr Kucharski 2010-05-31 18:00:00 +00:00
erdgeist
560c3b2234 Also look in FreeBSD-Archive for the requested distribution, thanks to Joan Picanyol i Puig. 2010-05-26 00:53:05 +00:00
erdgeist
886afa20e4 Games are gone 2010-05-26 00:16:21 +00:00
erdgeist
0efb902d4d Report zfs jails as such in ezjail-admin list, needs documentation 2010-04-25 22:05:47 +00:00
erdgeist
fdcbdec643 Also look in FreeBSD-Archive for the requested distribution, thanks to Joan Picanyol i Puig 2010-04-08 21:03:25 +00:00
erdgeist
1a26436e7c Don't force a default flavour over a restore or create -x 2010-03-17 10:16:20 +00:00
cryx
253658a81d Run the cpuset and zfs attach routine when doing start, startcrypto and restart.
Reported by Jesse Kempf.
2010-03-16 23:48:18 +00:00
erdgeist
1f0f731722 while not in the ports, ezjail-admin will now report the correct version, if checked out from CVS 2010-03-05 09:51:51 +00:00
cryx
5ad647ec21 Attaching the ZFS-dataset and configuring the CPUset didn't work when doing "start" without explicit jailnames. e.g. this happened during normal boot. RELEASE_3_1 2010-02-18 12:22:26 +00:00
cryx
df3a3ee133 Missing && 2010-02-16 22:33:52 +00:00
cryx
95fe262379 $0 is /etc/rc here, so doing rm -f "${0}" would leave the jail without /etc/rc after the first start. 2010-02-16 22:19:49 +00:00
cryx
63548f93ed Oops, commited local change :-/ 2010-02-16 22:03:37 +00:00
cryx
3a55e89f07 fix the eval syntax 2010-02-16 22:02:10 +00:00
erdgeist
637f44b4c5 * Create new jails with jail_JAILNAME_exec_start instead of jail_JAILNAME_exec
* 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-14 23:34:37 +00:00
erdgeist
6a81003aee Make ezjail-list not wider than 80 chars, if possible 2010-02-11 17:32:25 +00:00
erdgeist
99c0ffc613 Explain default and multiple flavours 2010-02-08 05:15:20 +00:00
erdgeist
bd9c449552 Consider this to be the second part of the changes that started in 1.247
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-08 05:05:04 +00:00
erdgeist
9d981caa73 Removing flavourizing shell scripts now is done in the installed ezjail-config 2010-02-08 04:57:35 +00:00
erdgeist
7500f22109 Make the Makefile install nullmailer-example, as well 2010-02-08 04:55:40 +00:00
erdgeist
df43f15334 Make the Makefile install nullmailer-example, as well 2010-02-08 04:03:47 +00:00
erdgeist
0d48d3af01 Revert parts of the changes from 1.243, from now on we install a working make.conf again 2010-02-08 03:22:37 +00:00
erdgeist
ffb9bfcbbd Add INDEXDIR to modified make.conf, to prevent portupgrade from dying. 2010-02-08 03:16:53 +00:00
erdgeist
b7a57fe329 Ensure that no-ip jails are listed as well 2010-02-05 11:27:28 +00:00
cryx
b78a01cb0e Example flavour for using nullmailer as sendmail-replacement inside a jail, routing outgoing mail over an extern mailserver. 2010-01-24 21:22:39 +00:00
cryx
9a3ccdcbb7 - fix adding a .device entry into the fstab of a zfs-backed jail when renaming
- don't unmount a zfs-backed jail when starting it fails
2010-01-24 18:33:09 +00:00
erdgeist
b3c31cfe15 If pax fails resetting access times, don't report archiving errors.
Do not automatically install the example's make.conf into template jail.
2010-01-20 15:57:27 +00:00
cryx
93d7e3aa54 Forgot the "". 2010-01-15 15:15:27 +00:00
cryx
41bd92c0db Wrong order. 2010-01-15 15:06:24 +00:00
cryx
9b555d6e41 Fix restoring zfs jails, they don't necessarily have a size so the ezjail-admin create command has to be invoked without the -s option. 2010-01-15 14:34:00 +00:00
cryx
366059754d Fix the renaming of the mountpoint while renaming a zfs backed jail. 2010-01-15 14:23:10 +00:00
cryx
7b51b0472d Fix formating typo. 2010-01-15 14:05:42 +00:00
cryx
b0f2792970 When renaming a zfs backed jail, don't try to move the rootdir because it is done by zfs rename. 2010-01-15 13:59:38 +00:00
cryx
cc6ceaad9b Respect the -x option when creating a ZFS backed jail, do a check if the destinatiuon really is ZFS filesystem! 2010-01-15 13:38:23 +00:00
cryx
8ecd24f223 Teach ezjail-admin not to attach a zfs backed imagejail when doing archive, reported by Nathan Tice. 2010-01-15 12:59:44 +00:00
erdgeist
02b7620839 Introduce a default flavour setting, also fix some leftovers from renaming default to example. Many thanks to Panagiotis J. Christias 2010-01-14 02:11:03 +00:00
cryx
22aa36af20 Allow the user to continue with ZFS operations if the pool is in a DEGRADED state, but warn about it. 2010-01-12 12:55:01 +00:00
erdgeist
9eeb4ed216 Remove bashism, use freebsd-updates way to wait randomly. Thanks to Panagiotis J. Christias 2010-01-11 17:04:44 +00:00
erdgeist
cbba8dd3f9 We renamed ezjail-config.sh to ezjail-config. So we do need to remove that new script... 2010-01-11 16:56:33 +00:00
erdgeist
7ffcc74f18 Make non runnable jails stoppable, fourth attempt, non runnable now won't start now 2010-01-11 04:06:54 +00:00
erdgeist
e0948e713d Make non runnable jails stoppable, third attempt, works now 2010-01-11 04:01:30 +00:00