erdgeist
10172f9475
Remove deprecated use of rcvar, thanks to Glen Barber
2012-03-08 22:33:40 +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
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.
2010-02-18 12:22:26 +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
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
d60d2cc41a
Remove control character. Those damn apple keyboards...
2010-01-09 19:10:54 +00:00
cryx
3d9f2923b5
Remove a debug echo.
2010-01-04 12:08:54 +00:00
cryx
61803a34fc
Fix the check for a correct CPUSET
2009-12-29 12:26:00 +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
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