erdgeist
c5753e553f
_ may be replaced by _, avoid identical variable names
2006-02-02 22:55:33 +00:00
erdgeist
159b4a8c83
Variable name tidy up, forbid anything but [:alnum:]_ in variable names
2006-02-01 19:54:26 +00:00
erdgeist
9308bc4f47
Code review. Mainly minor style fixes. One issue with softlink to /basejail/usr/ports fixed. Old flavour directory /basejail/config/pkg not created anymore.
2006-01-20 19:32:50 +00:00
erdgeist
ed092c1112
extra sanity checks
2006-01-18 20:18:22 +00:00
erdgeist
468db0dfb5
We need to test for soft link, not for regular file
2006-01-16 06:12:02 +00:00
erdgeist
3014e8e36b
Some people dont want there sticky tags removed on ports updating
2006-01-16 05:10:38 +00:00
erdgeist
0c133c53cd
Introducing the -P flag to allow ports updating only
2006-01-16 05:06:04 +00:00
erdgeist
bff8fdd86b
Warnings must be emitted last, chflags must be applied to non-shared directories as well
2005-12-31 16:40:36 +00:00
erdgeist
3fe6f11868
copy the whole defaults directory, not just its entries
2005-12-31 13:35:24 +00:00
erdgeist
523224e63e
Flavours now head to their final layout:
...
the whole bunch of stuff found below flavour dir is being installed into the new jails root, including the flavour config, packages and files.
The startup scripts now only creates users, chowns the files it is told to and installs packages.
2005-12-31 01:50:10 +00:00
erdgeist
485fad9015
Rethought flavours
2005-12-18 16:47:21 +00:00
erdgeist
980f41c378
BUG: /lib /libexec was not in basejail
2005-12-10 22:59:52 +00:00
erdgeist
f5a1799063
output of cpio now is hidden for ezjail-create
2005-11-22 05:19:47 +00:00
erdgeist
baec435b80
Checks for already listening services added
2005-11-19 04:27:56 +00:00
erdgeist
377a77ffc9
flavour was copied to / not to /etc
2005-11-17 12:38:52 +00:00
erdgeist
3c26ebfd7b
exit called once too often
2005-11-17 12:36:49 +00:00
erdgeist
282bc393f8
Typo and put ezjails share, where it belongs
2005-11-17 12:28:39 +00:00
erdgeist
9becc61bb3
Default PREFIX provided, flavour stuff added
2005-11-17 00:30:15 +00:00
erdgeist
71ba181503
function keyword not in BSDs sh
2005-11-15 14:31:50 +00:00
erdgeist
b8e30d37cb
avoid nesting, some may say this introduces ugly style, I consider it more concise
2005-11-14 20:33:11 +00:00
erdgeist
3fd667c236
update aliased as setup
2005-11-13 23:40:08 +00:00
erdgeist
479523c139
More sanity checks before and while making the jail world
2005-11-09 23:38:56 +00:00
erdgeist
74fdbaca2c
Create config directory in basejail
2005-11-09 11:38:34 +00:00
erdgeist
8bf893f2a2
Check if jail is still running before removing it
2005-11-09 01:24:59 +00:00
erdgeist
6ca864f125
Checks for existence of base jail in update
2005-10-21 20:42:53 +00:00
erdgeist
88460d1f3a
cpio creates missing directories 0700 - we need 0755
2005-10-20 15:20:41 +00:00
erdgeist
22205cb881
Enforce creation of a new config resource on create
2005-10-15 18:21:43 +00:00
erdgeist
7908d20e55
Format list more nicely
2005-09-27 13:39:30 +00:00
erdgeist
7f70ad4568
parameter checking improved, check for IP on local interface
2005-09-25 13:31:36 +00:00
erdgeist
2489b53757
delete works now, stupid nname bug fixed
2005-09-25 12:52:04 +00:00
erdgeist
2fcd7f1a76
delete implemented, permissions changed, root permissions no longer necessary to start script, it will run into problems early enuogh
2005-09-25 11:57:21 +00:00
erdgeist
eba8f0e8c2
Need a default full jail
2005-09-25 02:24:01 +00:00
erdgeist
fa9f4ec518
started implementing delete
2005-09-24 13:41:35 +00:00
erdgeist
6f67d58248
auto prefix reinserted
2005-09-22 18:15:14 +00:00
erdgeist
f21f248100
list works in a very basic mode
2005-09-22 18:14:43 +00:00
erdgeist
668c4dfc58
First test in live system yielded several problems :)
2005-09-22 11:45:47 +00:00
erdgeist
2e8a290b5d
nonstandard expansions removed, syntax errors removed
2005-09-21 14:24:52 +00:00
erdgeist
34706172d7
substring starts at 0...
2005-09-21 14:13:32 +00:00
erdgeist
853963f7d1
Honour the install only flag in update
2005-09-20 22:30:40 +00:00
erdgeist
0d8f4d20fb
lots of actual create jail logic implemented
2005-09-14 15:22:57 +00:00
erdgeist
79fc7aa69a
argument evaluation for create subcommand
2005-09-12 12:33:42 +00:00
erdgeist
e3fb840fca
more sanity checks
2005-09-05 02:51:02 +00:00
erdgeist
bb046d1a21
Here we go
2005-09-03 15:42:28 +00:00