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
erdgeist
d8ead98071
Reverse jail order when calling stop
2008-01-08 03:34:49 +00:00
erdgeist
845561e20d
Fix a check that once required the variable to be != YES
2007-10-08 02:24:26 +00:00
erdgeist
052b740d8c
Revert the "fix" from 1.43, there was no bug in here but in ezjail-admin
2007-10-08 02:19:41 +00:00
erdgeist
f59b100fff
Apply coding style guides to ezjail.sh as well. Also fix bug making startcrypto useless
2007-10-08 01:41:02 +00:00
erdgeist
8bc4651429
rc.d/ezjail.sh restart failed on image jails
2007-09-01 13:10:41 +00:00
erdgeist
312c276483
Stale device link detection completed and tested. More testing required.
2007-03-23 16:08:43 +00:00
erdgeist
59dde63a40
Stale device link detection for image devices. Heads up. Untested.
2007-03-23 15:45:35 +00:00
erdgeist
2cb3c00485
Try fscking the correct way. Have not yet figured it out completely
2007-02-22 16:01:09 +00:00
erdgeist
0075b0454d
Check for root dir before running a jail. Thanks to Matthias Lederhofer.
2006-09-12 11:17:02 +00:00
erdgeist
8bc81f4805
A much more sexy way of listing jails
2006-07-16 12:14:47 +00:00
erdgeist
5b5921370d
Fixed some expansion/quotation issues with tr's parameters ([:alnum:] etc.) Thanks to Simon L. Nielsen.
2006-07-15 16:11:22 +00:00
erdgeist
a305599a9f
Let ezjail only run after sshd, its better that way for many jails.
2006-05-31 14:54:01 +00:00
erdgeist
5c2ac7cf28
Preparing for release of ezjail-2.0beta
2006-05-22 00:20:47 +00:00
erdgeist
c564556007
simple image jails are now being detached, too
2006-05-15 13:16:49 +00:00
erdgeist
6cdc848308
attaching and detaching image jails now works.
2006-05-09 02:00:04 +00:00
erdgeist
653bd9e938
Added attach/detach subsubcommands to config
...
Added more error checking when attaching image jails
Woke up this morning when the streets where full of cars
2006-05-09 00:26:04 +00:00
erdgeist
56f79ffcec
Add a forceful blocking option to ezjail creation
2006-05-07 22:25:25 +00:00
erdgeist
48a4ad0891
-a mistaken for two ampersands... I am getting old
2006-05-06 23:06:24 +00:00
erdgeist
89a8a70f02
Flag jails that would interrupt boot process as attachblocking. Skip or choose them deliberately in ezjail.sh
2006-05-04 18:49:52 +00:00
erdgeist
f67a0b6cb1
Added CVS Id Tag
2006-05-04 14:02:17 +00:00
erdgeist
fc9d97b45c
Now honour new crypto image types
2006-05-03 16:28:15 +00:00
erdgeist
96700dbb84
Crypto image init-attach args converter introduced.
2006-05-03 16:01:41 +00:00
erdgeist
f96dbd4def
Introducing a more generic crypto image strategy
2006-04-26 09:31:37 +00:00
erdgeist
0377eb1c57
An empty ezjail directory made rcorder fail. Fixed
2006-04-24 10:59:04 +00:00
erdgeist
72fd60f0a1
Do not use a lock file for gbde anymore. I have no concept of using/moving the lock file appropriately, so move it into the image.
2006-04-22 15:59:37 +00:00
erdgeist
aa43541538
ezjail.sh now follows new variable name style
2006-04-16 15:49:32 +00:00
erdgeist
f54c7ed9db
HEADS UP:
...
Major changes in how config is fetched from jail config.
A major variable renaming took place.
A new subcommand config has been introduced.
Jails can be configured not to be run automatically.
Crypto images do not work anymore if made with an older version. (Due to config file variable renaming)
.norun has been set as standard "do not run" name. However, any . is enough to prevent booting the jail.
2006-04-15 20:20:12 +00:00
erdgeist
a4836ec1a4
Some more escaping...
2006-04-12 19:04:46 +00:00
erdgeist
090aba192f
ezjail.sh now honours rcorders script order
2006-03-29 17:19:55 +00:00
erdgeist
db9c85aad0
bug in startcrypto fixed
2006-03-25 17:57:50 +00:00
erdgeist
57ee5da10b
Adding startcrypto and stopcrypto subcommands to start/stop all crypto jails
2006-03-25 17:42:00 +00:00
erdgeist
74d5a75caf
Debug PREFIX removed
2006-03-25 11:41:38 +00:00
erdgeist
246a663eee
Cryptojails can be stopped without passphrase, so only exclude them from jail list at start up
2006-03-25 10:46:21 +00:00
erdgeist
6628078be7
ezjail.sh now is ready for image jails. Merging ezjail-img.sh to ezjail-admin soon
2006-03-21 14:06:09 +00:00
erdgeist
b924c9a6c7
Specify more exactly where the script wants to be run and exclude it from rcorder in jails
2006-03-17 13:49:55 +00:00
erdgeist
7e299c2c86
Corrected a bug where a jail_list in rc.conf prevented ezjail to start up its own jails
2006-03-06 18:18:33 +00:00
erdgeist
681fd19990
Ugly ugly bug: [ test for string ] fails for too many paramters. Quote the string.
2006-02-16 13:12:59 +00:00
erdgeist
3fa88c4665
Cosmetics.
2006-02-09 18:13:44 +00:00
erdgeist
fba1ca82f1
Cosmetics.
2006-02-06 13:19:18 +00:00
erdgeist
03175084a0
provide braces for variable expansion
2006-02-06 02:16:30 +00:00
erdgeist
e2f7a80dae
Tidying up the rc.d script, only run, if any of the jails specified exists. restart does not work anymore due to a bug in rc.subr
2006-02-03 17:38:25 +00:00
erdgeist
4e50d9edad
rc.d scripts must not issue line breaks
2006-02-02 23:02:17 +00:00
erdgeist
1a43c488bc
Reflect character whitelisting in rc.d-script
2006-02-02 22:57:38 +00:00
erdgeist
c28f927fc5
wrong unix magic
2005-10-20 01:41:38 +00:00
erdgeist
709e87e5dc
Last cleanups before committing
2005-10-14 16:22:05 +00:00
erdgeist
42245e938b
ezjail now is called ezjail.sh
2005-09-26 01:30:00 +00:00