erdgeist
365dfd16bc
Fix typo
2011-06-14 22:18:29 +00:00
fred
6b743d08ad
Consolidate the start/stop logic in one place
2011-04-25 17:42:44 +00:00
fred
6831439749
Simplify the rcorder call in `ezjail-admin list'
2011-04-25 13:25:25 +00:00
fred
76c2b21f00
Add -U in the getopts line. Only one = in a [ test.
2011-04-05 09:17:54 +00:00
erdgeist
283c672f39
Include experimental support for upgrading the basejail
2011-03-14 01:31:14 +00:00
erdgeist
b3c7e95edb
Fix argument passing to grep
2011-03-07 04:04:25 +00:00
erdgeist
7e5a83e308
Make the warning about the IP address being already used work with processes bound to * in a jail with multiple IP addresses
2011-03-07 03:57:49 +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
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
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
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
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
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
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
b7a57fe329
Ensure that no-ip jails are listed as well
2010-02-05 11:27:28 +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
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
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
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
erdgeist
055caedade
erdgeistify styles, remove white spaces, support multiple ip addresses better
2010-01-08 22:07:30 +00:00
cryx
44872cd8fb
Check for the mountpoint before setting it.
2010-01-03 20:51:09 +00:00
cryx
a4b7fa2d75
Fix a bug in ezjail-admin install where the zfs-dataset was not mounted correctly under the ezjail-directory.
2010-01-03 20:48:44 +00:00
cryx
a11f8ed733
Use the jails FIB when attaching via ezjail-admin console
2009-12-29 13:02:56 +00:00
cryx
3d3343d6a2
wrong checking for the fib being an integer
2009-12-29 12:16:09 +00:00
cryx
7fd2408694
Support for setting and using jail-bound ZFS datasets, cpuset(1) and setfib(1).
...
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 22:09:17 +00:00
cryx
12cf0c4f21
"It seems that FreeBSD 8 does not like to start rc scripts named *.sh."
...
Patch from http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-jail/20091227.freebsd-jail
2009-12-28 16:39:20 +00:00