112 Commits

Author SHA1 Message Date
erdgeist
4ecd1ea3ce Trailing spaces 2006-03-12 23:27:45 +00:00
erdgeist
5d92d19979 Check, that noone creates a jail called "fulljail" 2006-03-06 18:24:50 +00:00
erdgeist
5dd4285fb8 Syntax error fixed.. Shame on me for not testing 2006-03-03 14:04:19 +00:00
erdgeist
8f46463b94 Dont prevent recreating existing jails :/ 2006-02-23 00:05:34 +00:00
erdgeist
16aa872f69 Cosmetics. Really ;) 2006-02-21 13:28:29 +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
a2b29799af Dont install a jail to an existing location 2006-02-15 14:36:55 +00:00
erdgeist
6d23ac4d12 /boot and /rescue move to basejail 2006-02-14 15:37:03 +00:00
erdgeist
d57c4832a0 Cosmetics. 2006-02-10 16:05:58 +00:00
erdgeist
532ac61d62 Give permissions to the correct file. 2006-02-09 18:21:49 +00:00
erdgeist
afad488c73 Condition check turned around 2006-02-09 18:17:30 +00:00
erdgeist
d9c9e79a98 Discontinue deprecated -r option for cp, ensure flavour directory 2006-02-09 18:11:06 +00:00
erdgeist
c1618f230d Cosmetics. 2006-02-09 16:43:24 +00:00
erdgeist
c270955ae0 Radical change of what an ezjail flavour is. The old way got me stuck. 2006-02-09 00:44:49 +00:00
erdgeist
be3bfa65be quote mismatch. Formatting 2006-02-08 11:05:51 +00:00
erdgeist
847ef8a6fc cvsroot for ports now obeyd in cvs up, too. Cosmetics. 2006-02-08 10:56:35 +00:00
erdgeist
50886f7d58 Cosmetics. Corrected a stupid glitch claiming, the command would be 'ezjail' instead of 'ezjail-admin'. 2006-02-06 13:18:30 +00:00
erdgeist
c81e58c9c9 Protect against empty variable expansion problems in [ $var ] 2006-02-06 02:42:22 +00:00
erdgeist
f0e838773b provide braces for variable expansion, rename a to dir, remove templatejail_old only, if it exists 2006-02-06 02:29:42 +00:00
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