summaryrefslogtreecommitdiff
path: root/ezjail-admin
AgeCommit message (Collapse)Author
2008-07-07Fix a problem where we can not detach a jail after its creation, because we're still inside its root directory.erdgeist
Also put image size for image jails into the properties list. Auto attach image jails for archive (if possible, aka non-blocking). Actually call ezjail-admin create from ezjail-admin restore. This means, that restore is rudimentary up and running.
2008-07-06Making paths absolute did not work correctly. Also move commands handling multiple jails to a for loop instead of a while looperdgeist
2008-07-06Use sh\'s own line splitting algorithm instead of cuterdgeist
2008-07-06Fix pathname substitution to prevent incorrect retrieval of soft links, when creating a jail from archive.erdgeist
2008-06-04Make deletes less verbose. also rename tmpfile to ezjail_tmpfileerdgeist
2008-06-01Saving config from archive to tempfile in order to source iterdgeist
2008-05-19Fix quoting errors.erdgeist
2008-05-11Fix ezjail_makeabsolute, it was broken, when the provided 2nd path wasnt absolute. Also add lots of logic to the restore command. Soon will be working[tm].erdgeist
2008-04-02when specifying jail name, options must not be quotederdgeist
2008-03-23Default login command changed from /bin/sh to /usr/bin/login -f rooterdgeist
2008-03-22Include version information. Also fix an amd64 install problem.erdgeist
2008-03-14fixed stray control charactererdgeist
2008-03-14abstract making absolute paths. use pax instead of tar to extract archives. Also do not report an error, if ezjail.conf is missing.erdgeist
2008-01-08Format for property files in ezjail archive now changed to use - as seperator.erdgeist
2008-01-02Fetching first values from an ezjail archive in restore command. Still not functional.erdgeist
2008-01-02Guess archive name on restoreserdgeist
2008-01-02Allow restoring from a archive coming in from stdinerdgeist
2007-11-27Fix some bugs in stdout archive codeerdgeist
2007-11-27Allow for specifying - as filename if archiving to stdout is desired.erdgeist
2007-11-27Conditions checked the wrong wayerdgeist
2007-10-14cosmeticserdgeist
2007-10-08In a function we must not shift positional parameterserdgeist
2007-10-08Get rid off rather ugly ezjail_imageparams HACKerdgeist
2007-10-08Fixed some missmatched quoteserdgeist
2007-10-08Some nesting errors occured... investigatingerdgeist
2007-10-08We need all image parameters, even when the image already existederdgeist
2007-10-08Also include stopcrypto to the list of proxied requestserdgeist
2007-10-08Also include startcrypto to the list of proxied requestserdgeist
2007-10-07introduce -f option to getopt list of ezjail-admin deleteerdgeist
2007-10-07Lots of things changed:erdgeist
* delete now knows a -f switch which forces detach or stop, if jail is attached or running * restore added * archive now saves the whole tag to archive to later identify the jail and backup date * detach_images now also removes the soft link * starting/stopping a jail moved to its own function * I enforced some coding style guides * * [ -n "string" ] is replaced by [ "string" ] * * Command parameters are being quoted. This will later allow jail roots with spaces in its name * * variable assignments are always enclosed by exactly one of ${}, `` or "", (except for cases like a=${x}/${y:-"z"}). This means that a="${x}" now is a=${x} * * [ -z "string" ] && echo "Foo" is replaced by ["string" ] || echo "Foo", which normally reads out more naturally (i.e. [ "${jail_exists}" ] || exerr "Error: Jail does not exist." ) * * $? and $# are now always compared by -eq or -ne operators, not by = or !=
2007-10-02A strange utf8 char slipped into my code.erdgeist
2007-10-02put the jails name into archiveerdgeist
2007-10-01archive switch now is -a for both ezjail-admin archive and ezjail-admin createerdgeist
2007-09-30archiving multiple or all jails now works. Documentation in manpages is dueerdgeist
2007-09-30Archive command should be working right nowerdgeist
2007-09-29Fix a quoting bugerdgeist
2007-09-29We'll be using pax to archiveerdgeist
2007-09-26Fixed quotingerdgeist
2007-09-26Started experimenting with archive and restore of jailserdgeist
2007-09-15introduced a console subcommand that allows attaching to a jail by it jailname. Also added documentation for that and the magic rc.d/ezjail.sh-proxy ↵erdgeist
introduced before
2007-09-14Added short cuts to ezjail-admin that will invoke PREFIX/etc/rc.d/ezjail{,.sh} witherdgeist
2007-04-26Got the securelevel check the wrong way around. Mea culpa.RELEASE_2_1erdgeist
2007-03-23Stale device link detection completed and tested. More testing required.erdgeist
2007-02-22the -a operator evaluates from right to lefterdgeist
2007-02-22Try fscking the correct way. Have not yet figured it out completelyerdgeist
2007-02-22Document fsck subcommanderdgeist
2007-02-21ezjail-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 ↵erdgeist
problem.
2007-01-24Check for secure level since ezjail will fail if it is -gt 0erdgeist
2007-01-16do 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.erdgeist
2007-01-15error when umounting irritates users, this is a cleanup function, so it should silently fail, if nothing is mounted.erdgeist