543 Commits

Author SHA1 Message Date
Philipp Wuensche
bcf5edaa20 introduce the baseclean subcommand. It uses the new install log to compare to the files present in the basejail and deletes them. By default it does a dry run and deletes nothing, adding the -y parameter will delete files really. 2019-08-15 16:07:03 +02:00
Philipp Wuensche
bc503ac023 create and remove ezjail install logs inside the base jail, so it can be compared later against what is really there 2019-08-15 09:57:23 +02:00
Philipp Wuensche
8669dbddb5 add to description of -K 2019-08-14 14:32:39 +02:00
Philipp Wuensche
a78d3142aa pass FreeBSD version to freebsd-update so we can run the upgrade via -K without rebooting into new userland. 2019-08-14 14:30:08 +02:00
Philipp Wuensche
aac83f6591 Add -K option to install, which can be used to upgrade basejail to a newer FreeBSD version without loosing old libs inside the basejail. Could replace "update -U". 2019-08-14 14:27:45 +02:00
Dirk Engling
b418a79584 Fix superfluous asteriks in multiplication 2016-06-21 22:44:24 +02:00
Dirk Engling
f4868e803d Fix man page typos 2016-05-02 00:48:16 +02:00
Dirk Engling
75a0fe2cab Typo fixes 2016-05-02 00:43:12 +02:00
Dirk Engling
593ce8e223 Incorporate Makefile patch from port 2015-11-23 04:04:47 +01:00
Dirk Engling
c520f88754 Do not fail on file:/// linked packages, if only the auto added lib32 package is missing RELEASE_3_4_2 2015-04-15 01:24:31 +02:00
Dirk Engling
777cc292bf Remove mount point prefix from path 2015-04-15 01:10:04 +02:00
Dirk Engling
9353a5e1cb Fix grep syntax in freeze subcommand 2015-04-15 00:27:42 +02:00
Dirk Engling
3674126d9c To allow freezing jail states into flavours, allow keeping vanilla snapshot and add freeze subcommand 2015-04-15 00:11:46 +02:00
Philipp Wuensche
e496f1aec5 Fix bug in the date-string creation reported by kaltheat. 2014-08-04 14:11:39 +02:00
erdgeist
e08fc24c38 Bump version number 2014-06-10 18:29:10 +02:00
erdgeist
faf0f1fbde Handle errors when destroying file systems for zfs jail 2014-06-10 16:56:44 +02:00
Dirk Engling
52e8ea4a16 Fix typo in new trouble shoot command 2014-06-10 13:22:41 +02:00
erdgeist
c657c8d84e Do not preserve users and permissions when copying examples, then we don't need to fix ownership later. Examples only belong to root 2014-06-10 05:17:04 +02:00
erdgeist
8c232a30f4 Document the snapshot command 2014-06-10 02:34:47 +02:00
erdgeist
0601e306e7 highlight TODO 2014-06-10 00:31:05 +02:00
erdgeist
685f8e8d61 add more todo to troubleshoot subcommand 2014-06-10 00:11:54 +02:00
erdgeist
da50e7e2c8 Layout troubleshoot steps 2014-06-09 23:55:13 +02:00
erdgeist
ee32fbf4d8 Do not check for success when starting or stopping jails configured as norun 2014-06-09 23:43:29 +02:00
Dirk Engling
932086bcb7 Add the troubleshoot subcommand 2014-06-09 23:30:46 +02:00
erdgeist
b2bd4f55ca Explain retention policy a little better 2014-06-03 05:09:20 +02:00
erdgeist
33bb63dbb4 Do not substitute DESTDIR in our own substitution. Thanks to bdrewery 2014-04-30 20:14:01 +02:00
erdgeist
c93dfec6f4 Obey DESTDIR in Makefile 2014-04-30 20:05:28 +02:00
Dirk Engling
8798063e84 Lots of spelling fixes in comments and man pages submitted by Paul Ivanov 2013-12-07 03:18:16 +01:00
erdgeist
c95e27fc2f Fix grepping for jid. This did not work for jids over 99999. Thanks to Mathieu Arnold 2013-11-13 16:12:15 +00:00
erdgeist
438b0ed74b Fix a bug where ezjail-admin restore would not use the jail name from the archive when restoring from the archive and not from jail name. Thanks to Ollivier Robert for reporting 2013-10-14 16:44:50 +00:00
erdgeist
4af41642ca Fix invalid control character 2013-10-14 16:29:46 +00:00
erdgeist
4bdf4e4a13 Create /var/ports/packages as promised in our make.conf, thanks to Koslov Sergey 2013-09-25 17:34:04 +00:00
erdgeist
27216be05a Make the ezjail-admin config -r test hack official 2013-09-01 13:36:22 +00:00
erdgeist
b267b62dad Make the test for jail feature official 2013-09-01 13:09:43 +00:00
erdgeist
f502741f81 Details about how image jails are self contained were wrong. Thanks to John Ratliff for pointing that out 2013-08-29 14:19:55 +00:00
erdgeist
a617b105dd Fix man page for startcrypto and stopcrypto, thanks to kaltheat 2013-08-02 15:22:50 +00:00
erdgeist
79007d81e4 make ezjail-admin update -U now also work with patch levels. Thanks to Sebastian Jäschke 2013-07-23 00:00:54 +00:00
erdgeist
ca52d77c09 Fix a missing if. Also drop patch level suffixes when detecting host system version 2013-05-18 16:26:08 +00:00
erdgeist
e836630271 apply freebsd-update on the newjail, as well 2013-05-17 22:36:03 +00:00
erdgeist
fd1df9a99b We don't want the forces freebsd-update pagers in our scripts 2013-05-17 21:14:48 +00:00
erdgeist
cf8fbae481 Use freebsd-update to update to current patch level before splitting the basejail from newjail 2013-05-17 19:59:26 +00:00
erdgeist
721ae5e99d change retention policy so that per window the oldest and the newest snapshot is kept, unless the newer one is not new enough ;) 2013-05-10 19:12:50 +00:00
erdgeist
84db3c9c8a Fix call to pkg_add so that all packages are installed and none is being fetched. Thanks to Dan Langille 2013-05-10 14:54:49 +00:00
erdgeist
0713769a19 Fix error report by passing echo the -n parameter. Thanks to 乃村翼 2013-05-01 18:38:18 +00:00
erdgeist
68253cc7a5 Renamed to _ezjail-admin 2013-04-28 14:18:28 +00:00
erdgeist
6fbd92975f Only work on jails that have been filtered into ezjail_pass for the post-commands 2013-04-26 13:27:41 +00:00
erdgeist
0ddb055c5a Put an example retention policy in sample config 2013-04-24 03:15:58 +00:00
erdgeist
9dcfe49b30 ezsnaps are recursive 2013-04-24 03:06:00 +00:00
erdgeist
377e133248 Remove debug output 2013-04-24 03:03:04 +00:00
erdgeist
76c442babe introduce ezjail-admin snapshot. Experimental 2013-04-24 03:01:19 +00:00