201 Commits

Author SHA1 Message Date
erdgeist
2cb3c00485 Try fscking the correct way. Have not yet figured it out completely 2007-02-22 16:01:09 +00:00
erdgeist
31ac44c0ff Document fsck subcommand 2007-02-22 15:36:57 +00:00
erdgeist
79efdfa036 ezjail-admin create now ignores dot files when checking, whether a directory is empty. That way .snap wont mark it non-empty. However, Lost+Found still is a problem. 2007-02-21 04:22:08 +00:00
erdgeist
6179ac6590 Check for secure level since ezjail will fail if it is -gt 0 2007-01-24 11:31:04 +00:00
erdgeist
bdbb4f9f37 do portsnap cron when not invoked from command line. Do copy packages that are just linked into jail root to make them visible at run time. 2007-01-16 14:15:21 +00:00
erdgeist
b37e9be763 error when umounting irritates users, this is a cleanup function, so it should silently fail, if nothing is mounted. 2007-01-15 14:08:17 +00:00
erdgeist
e46d467c52 HEADS UP: introduced fsck feature, untested. 2007-01-15 14:03:46 +00:00
erdgeist
a98c4c8e29 More sanity checking. 2006-11-15 19:46:37 +00:00
erdgeist
55c93caadc Last glitch in image rename code removed[tm]. 2006-11-15 19:31:21 +00:00
erdgeist
21627ca92f mixed up basename with dirname... fixed 2006-11-15 19:20:50 +00:00
erdgeist
8a6f906148 I suck. It was the correct way 2006-11-15 19:13:21 +00:00
erdgeist
13b0fca221 Fixed our test the wrong way 2006-11-15 19:11:17 +00:00
erdgeist
9e7d3e6c4c More Syntax flaws 2006-11-15 19:07:09 +00:00
erdgeist
4251eec605 Syntax check by cryx ;) 2006-11-15 19:05:04 +00:00
erdgeist
9725ed4a85 HEADS UP: renaming jails has been introduced. Lots of checking will probably be required, this version is considered unstable. Also two minr style glitches have been fixed. 2006-11-15 18:51:22 +00:00
erdgeist
c935628f63 Enable soft updates on image jails 2006-08-28 19:53:44 +00:00
erdgeist
b9dc1edf7b typo fixed 2006-08-27 00:29:03 +00:00
erdgeist
8bc81f4805 A much more sexy way of listing jails 2006-07-16 12:14:47 +00:00
erdgeist
68d3204a0c some more escaping 2006-07-16 12:02:46 +00:00
erdgeist
1e94ee1110 ezjail_ftphost from ezjail.conf is now obeyed 2006-07-16 11:29:46 +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
ddc9dc7e58 environment was not being passed correctly to subtargets, see http://lists.freebsd.org/pipermail/freebsd-current/2004-August/034574.html. Thanks go to Simon L. Nielsen. 2006-07-02 13:16:48 +00:00
erdgeist
2357bfc3a3 Last cosmetics for ezjail-2.0 release 2006-05-31 14:18:49 +00:00
erdgeist
58886b58b0 Fixed the export I rather stupidly removed from jail configs 2006-05-22 18:32:33 +00:00
erdgeist
b478527a9c Release attached-lock only, if device has really been detached. 2006-05-22 00:41:58 +00:00
erdgeist
e71bebd003 simple image jails did not have their device provided correctly. Fixed. 2006-05-22 00:36:21 +00:00
erdgeist
5c2ac7cf28 Preparing for release of ezjail-2.0beta 2006-05-22 00:20:47 +00:00
erdgeist
24e91c5d8b Provide more clues as how to continue if fetching dir list from server fails 2006-05-17 20:42:13 +00:00
erdgeist
bb7bf16967 Query ftp server for the versions he knows off. 2006-05-17 20:22:04 +00:00
erdgeist
841d0d4c12 Explain options left if fetching packages fails. Also explain, that "are you sure" is being answered by ezjail. 2006-05-17 13:07:32 +00:00
erdgeist
0daab71ac0 -STABLE translated to -RELEASE, check for -RELEASE corrected 2006-05-17 12:59:52 +00:00
erdgeist
18a8596359 each jail is declared a standard_ezjail for rcorder to make it easier to run a jail BEFORE: any other jail (e.g. name servers will run BEFORE: standard_ezjail) 2006-05-17 11:44:36 +00:00
erdgeist
71bed9ab65 legacy variable name substituted 2006-05-16 10:50:48 +00:00
erdgeist
26564f8758 simple jails are now initialised from /dev/zero 2006-05-15 20:15:18 +00:00
erdgeist
43f3679ff5 sh arithmetic overflows, use bc to calculate image size 2006-05-15 19:50:22 +00:00
erdgeist
783782f203 sh arithmetic overflows, use bc to calculate image size 2006-05-15 19:37:03 +00:00
erdgeist
098c7cbf69 Removed the -u switch from parameter list, since currently there is no way I know of to properly pass a pasphrase to gbde or geli command (except gbde -p, which might be implemented later) 2006-05-15 19:09:28 +00:00
erdgeist
87f8dd7f59 add /usr/lib32/ to dirlist for amd64 2006-05-10 14:11:32 +00:00
erdgeist
2832c4efec Synopsis line not echoed correctly - fixed. 2006-05-10 13:47:28 +00:00
erdgeist
6cdc848308 attaching and detaching image jails now works. 2006-05-09 02:00:04 +00:00
erdgeist
7df9c70879 Fixed some quoting mistakes 2006-05-09 00:33:14 +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
3ba095d7b4 Fixed some case statements that were broken by previous tidy ups 2006-05-05 00:59:54 +00:00
erdgeist
7124ec1e74 Some glitches fixed 2006-05-05 00:50:40 +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
63ad46a478 ezjail_fillme renamed and inverted to ezjail_exists
Usage stings (Synopsis) now collected at a central place
passphrase url parameter added to the create subcommand
some trailing spaces removed
2006-05-04 15:06:59 +00:00
erdgeist
f67a0b6cb1 Added CVS Id Tag 2006-05-04 14:02:17 +00:00
erdgeist
96700dbb84 Crypto image init-attach args converter introduced. 2006-05-03 16:01:41 +00:00
erdgeist
b5acbdb903 jailid detection failed, when security.jail.set_hostname_allowed=1 and another hostname was set 2006-05-03 15:40:43 +00:00