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
erdgeist
feedbc6d52
Make non runnable jails stoppable, second attempt
2010-01-11 03:57:13 +00:00
erdgeist
90caf58048
Make non runnable jails stoppable
2010-01-11 03:23:23 +00:00
erdgeist
2dd2e0b55e
HEADS UP: Rewrote code that writes jail configs, also fixed many flaws in the config subcommand.
2010-01-11 03:06:27 +00:00
erdgeist
3deef0dcde
Rename default flavour to example flavour
2010-01-09 19:24:07 +00:00
erdgeist
e1681f4114
Rename default flavour to example flavour ;)
2010-01-09 19:14:14 +00:00
erdgeist
d60d2cc41a
Remove control character. Those damn apple keyboards...
2010-01-09 19:10:54 +00:00
cryx
e27c24db3a
zfs property jailed has to be set to "on".
2010-01-09 00:56:24 +00:00
erdgeist
da6e501a90
make ezjail-admin always return 0 on success. Thanks to Justin Head
2010-01-08 23:45:42 +00:00
erdgeist
ebd426353e
add jail id to every jail ip-line
2010-01-08 22:48:10 +00:00
erdgeist
d6f35d8fa1
make it clearer, that multiple addresses are listed on multiple lines
2010-01-08 22:35:54 +00:00
erdgeist
069c22e6ae
Rearrange space in ezjail-admin list... more needs to be done vor v6 addresses.
2010-01-08 22:33:08 +00:00
erdgeist
7bc936b857
Check for zfs_enable was inverted
2010-01-08 22:18:31 +00:00
erdgeist
fb6210964e
Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresses
2010-01-08 22:14:49 +00:00