Commit Graph

  • a5dd360cf8 instead of creating temporary folder with files, grep in installlog directly. Skip usr/ports by default, which speeds this up a lot. freebsd_upgrade_stuff Philipp Wuensche 2019-08-27 21:09:32 +02:00
  • 0b2fd52c9a check for the ezjail install logfile and bail out if it isn't present Philipp Wuensche 2019-08-27 15:30:04 +02:00
  • 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. Philipp Wuensche 2019-08-15 16:07:03 +02:00
  • bc503ac023 create and remove ezjail install logs inside the base jail, so it can be compared later against what is really there Philipp Wuensche 2019-08-15 09:57:23 +02:00
  • 8669dbddb5 add to description of -K Philipp Wuensche 2019-08-14 14:32:39 +02:00
  • a78d3142aa pass FreeBSD version to freebsd-update so we can run the upgrade via -K without rebooting into new userland. Philipp Wuensche 2019-08-14 14:30:08 +02:00
  • 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". Philipp Wuensche 2019-08-14 14:27:45 +02:00
  • b418a79584 Fix superfluous asteriks in multiplication master Dirk Engling 2016-06-21 22:44:24 +02:00
  • f4868e803d Fix man page typos Dirk Engling 2016-05-02 00:48:16 +02:00
  • 75a0fe2cab Typo fixes Dirk Engling 2016-05-02 00:43:12 +02:00
  • 593ce8e223 Incorporate Makefile patch from port Dirk Engling 2015-11-23 04:04:47 +01:00
  • c520f88754 Do not fail on file:/// linked packages, if only the auto added lib32 package is missing RELEASE_3_4_2 Dirk Engling 2015-04-15 01:24:31 +02:00
  • 777cc292bf Remove mount point prefix from path Dirk Engling 2015-04-15 01:10:04 +02:00
  • 9353a5e1cb Fix grep syntax in freeze subcommand Dirk Engling 2015-04-15 00:27:42 +02:00
  • 3674126d9c To allow freezing jail states into flavours, allow keeping vanilla snapshot and add freeze subcommand Dirk Engling 2015-04-15 00:11:46 +02:00
  • e496f1aec5 Fix bug in the date-string creation reported by kaltheat. Philipp Wuensche 2014-08-04 14:11:39 +02:00
  • e08fc24c38 Bump version number erdgeist 2014-06-10 18:29:10 +02:00
  • faf0f1fbde Handle errors when destroying file systems for zfs jail erdgeist 2014-06-10 16:56:44 +02:00
  • 52e8ea4a16 Fix typo in new trouble shoot command Dirk Engling 2014-06-10 13:22:41 +02:00
  • c657c8d84e Do not preserve users and permissions when copying examples, then we don't need to fix ownership later. Examples only belong to root erdgeist 2014-06-10 05:17:04 +02:00
  • 8c232a30f4 Document the snapshot command erdgeist 2014-06-10 02:34:47 +02:00
  • 0601e306e7 highlight TODO erdgeist 2014-06-10 00:31:05 +02:00
  • 685f8e8d61 add more todo to troubleshoot subcommand erdgeist 2014-06-10 00:11:54 +02:00
  • da50e7e2c8 Layout troubleshoot steps erdgeist 2014-06-09 23:55:13 +02:00
  • ee32fbf4d8 Do not check for success when starting or stopping jails configured as norun erdgeist 2014-06-09 23:43:29 +02:00
  • 932086bcb7 Add the troubleshoot subcommand Dirk Engling 2014-06-09 23:30:46 +02:00
  • b2bd4f55ca Explain retention policy a little better erdgeist 2014-06-03 05:09:20 +02:00
  • 33bb63dbb4 Do not substitute DESTDIR in our own substitution. Thanks to bdrewery erdgeist 2014-04-30 20:11:05 +02:00
  • c93dfec6f4 Obey DESTDIR in Makefile erdgeist 2014-04-30 20:05:28 +02:00
  • 8798063e84 Lots of spelling fixes in comments and man pages submitted by Paul Ivanov Dirk Engling 2013-12-07 03:18:16 +01:00
  • c95e27fc2f Fix grepping for jid. This did not work for jids over 99999. Thanks to Mathieu Arnold erdgeist 2013-11-13 16:12:15 +00:00
  • 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 erdgeist 2013-10-14 16:44:50 +00:00
  • 4af41642ca Fix invalid control character erdgeist 2013-10-14 16:29:46 +00:00
  • 4bdf4e4a13 Create /var/ports/packages as promised in our make.conf, thanks to Koslov Sergey erdgeist 2013-09-25 17:34:04 +00:00
  • 27216be05a Make the ezjail-admin config -r test hack official erdgeist 2013-09-01 13:36:22 +00:00
  • b267b62dad Make the test for jail feature official erdgeist 2013-09-01 13:09:43 +00:00
  • f502741f81 Details about how image jails are self contained were wrong. Thanks to John Ratliff for pointing that out erdgeist 2013-08-29 14:19:55 +00:00
  • a617b105dd Fix man page for startcrypto and stopcrypto, thanks to kaltheat erdgeist 2013-08-02 15:22:50 +00:00
  • 79007d81e4 make ezjail-admin update -U now also work with patch levels. Thanks to Sebastian Jäschke erdgeist 2013-07-23 00:00:54 +00:00
  • ca52d77c09 Fix a missing if. Also drop patch level suffixes when detecting host system version erdgeist 2013-05-18 16:26:08 +00:00
  • e836630271 apply freebsd-update on the newjail, as well erdgeist 2013-05-17 22:36:03 +00:00
  • fd1df9a99b We don't want the forces freebsd-update pagers in our scripts erdgeist 2013-05-17 21:14:48 +00:00
  • cf8fbae481 Use freebsd-update to update to current patch level before splitting the basejail from newjail erdgeist 2013-05-17 19:59:26 +00:00
  • 721ae5e99d change retention policy so that per window the oldest and the newest snapshot is kept, unless the newer one is not new enough ;) erdgeist 2013-05-10 19:12:50 +00:00
  • 84db3c9c8a Fix call to pkg_add so that all packages are installed and none is being fetched. Thanks to Dan Langille erdgeist 2013-05-10 14:54:49 +00:00
  • 0713769a19 Fix error report by passing echo the -n parameter. Thanks to 乃村翼 erdgeist 2013-05-01 18:38:18 +00:00
  • 68253cc7a5 Renamed to _ezjail-admin erdgeist 2013-04-28 14:18:28 +00:00
  • 6fbd92975f Only work on jails that have been filtered into ezjail_pass for the post-commands erdgeist 2013-04-26 13:27:41 +00:00
  • 0ddb055c5a Put an example retention policy in sample config erdgeist 2013-04-24 03:15:58 +00:00
  • 9dcfe49b30 ezsnaps are recursive erdgeist 2013-04-24 03:06:00 +00:00
  • 377e133248 Remove debug output erdgeist 2013-04-24 03:03:04 +00:00
  • 76c442babe introduce ezjail-admin snapshot. Experimental erdgeist 2013-04-24 03:01:19 +00:00
  • f236990415 Use default, even if variable is null, not unset erdgeist 2013-04-24 02:59:55 +00:00
  • c628bd5ca1 Rename ezjail_parentfs to ezjail_parentzfs. Also save the ezjail_parentzfs for new jails so that they can later be removed from the correct pool RELEASE_3_3 erdgeist 2013-04-20 01:16:17 +00:00
  • 40aa45474a Properly close quotes erdgeist 2013-04-20 00:49:58 +00:00
  • e38c8e43ef Check for parent filesystem when using an alternative one erdgeist 2013-04-20 00:34:58 +00:00
  • 11f04b1db0 Actually allow for the parentzfs parameter in getopt erdgeist 2013-04-20 00:19:16 +00:00
  • ac059f1154 Adding a license information file, due to recent circumstances :( erdgeist 2013-04-19 23:54:16 +00:00
  • 8f36c7002b Test for the IP address on local interfaces only, if it is not prefixed by an interface name erdgeist 2013-04-14 18:40:36 +00:00
  • c7a82d99e1 document the new jail(8) behaviour regarding the interface prefix on the ip address erdgeist 2013-04-14 18:32:38 +00:00
  • 0832cfa91d If jail IPs are specified with an interface prefix, drop it for display and test functions erdgeist 2013-04-14 17:49:55 +00:00
  • 187a3af934 Keep post_start_script jail parameters when rewriting config erdgeist 2013-04-14 17:38:54 +00:00
  • 712a4cdb54 Farewell CVS for ports. ezjail_portscvsroot is gone. erdgeist 2013-04-11 16:37:20 +00:00
  • c8694ac703 Do not attempt to chflags the root directory after it is gone, when wiping is requested on ezjail-admin delete. Thanks to Tom. erdgeist 2013-04-10 23:29:13 +00:00
  • 92db4874ab Document the new ezjail-admin create -z feature. Also properly attribute the man page authors. erdgeist 2013-04-10 23:11:58 +00:00
  • 31feb69b9c Allow user to specify another parent zfs or zpool for a new jail. This also implies -c zfs. Thanks to Cryx. erdgeist 2013-04-10 21:42:56 +00:00
  • 8313cd36ec We now read and dump the jail_JAIL_parameters variable. So user settings dont get lost. Thanks to Vitaliy. erdgeist 2013-04-01 15:15:06 +00:00
  • cfb55eaf01 Introduce _post_start_script. saite 2013-03-28 18:51:14 +00:00
  • 0bbd3a7549 Retry freebsd-update until install fails erdgeist 2013-03-27 18:42:39 +00:00
  • 2d4d1c759a Handle relative paths in packages better erdgeist 2013-03-27 18:36:11 +00:00
  • e7a889bb09 man1 is unused now erdgeist 2013-03-11 18:20:40 +00:00
  • 01c79bd59d Fixed a bug where ezjail-admin install would indicate a failure after successfully installing the base erdgeist 2012-11-17 21:58:55 +00:00
  • 2368ae43a7 Cleaned up the code that differentiates between pre 9.0 and post 9.0 distribution layout. Now using fetch to remotely fetch the distribution packages for post 9.0 dists. Using fetch allows to specify protocols other than file:// and ftp://, with ftp:// being the default. http servers are not yet queried for the distributions provided. erdgeist 2012-11-17 21:20:23 +00:00
  • e99c436bab Got the indent wrong in the last commit. So I missed a 'fi' erdgeist 2012-11-08 23:15:35 +00:00
  • a9becec5ff Fix a bug where the host system's release version was not queried in case of file:/// uris erdgeist 2012-11-08 23:14:17 +00:00
  • 3768472b3a Fixed a problem where reuse of the ezjail_sourcetree variable led to ezjail-admin update not finding source tree. Thanks to Paul Macdonald. RELEASE_3_2_3 erdgeist 2012-09-20 11:26:45 +00:00
  • d90ce7e051 Fix a bug, so that we are force starting a single jail only, when console -f is requested. erdgeist 2012-09-18 16:23:28 +00:00
  • acf7435c20 Document the new ezjail_use_zfs_for_jails variable RELEASE_3_2_2 erdgeist 2012-09-09 20:42:41 +00:00
  • 6dde5f4f88 Document the new ezjail_use_zfs_for_jails variable erdgeist 2012-09-09 20:15:29 +00:00
  • 6a629c1634 Add a switch to make all jails use its own zfs by default, also provide a parameter to specify default zfs options erdgeist 2012-09-08 17:53:18 +00:00
  • 5f9fafd80f make ezjail-admin list not print an error when there are no jails erdgeist 2012-09-08 15:17:02 +00:00
  • 4037d12aaa Cleanup zfs code. Make sure, ezjail_zfs_properties are properly passed. Move checks for ezjails zfs to a central location. Fix typos erdgeist 2012-09-08 15:09:47 +00:00
  • 7646f7e777 FreeBSD versions before 8.0 did not know about jls -n. Use the old check for now. Thanks to Fahad. erdgeist 2012-05-06 00:58:06 +00:00
  • 542f046fab Unset variable to ensure the warning message being displayed erdgeist 2012-04-25 14:56:34 +00:00
  • e816b71f2d Small typo in unpacker erdgeist 2012-04-24 11:47:30 +00:00
  • d8d44a7159 Include the .* in the quoted expression to prevent unwanted expansion erdgeist 2012-04-06 12:13:39 +00:00
  • 10172f9475 Remove deprecated use of rcvar, thanks to Glen Barber erdgeist 2012-03-08 22:33:40 +00:00
  • 5d40480d58 Make the clone script more end user friendly. Still more to go. Maybe the script will be merged to ezjail-admin one day. RELEASE_3_2_1 erdgeist 2012-02-02 20:22:54 +00:00
  • da4aef5754 Remove schg flags from old basejail before installing a new one over it erdgeist 2012-01-28 16:38:48 +00:00
  • 9a22c28856 Have the test for local addresses be done by ping while trying to send from the IP to the IP. The intermediate approach using nc did not work in 9.0 erdgeist 2012-01-15 18:49:57 +00:00
  • 3095bd5900 Test for locally configured IP addresses by trying to bind nc to it. Thanks to Thomas Steen Rasmussen and #bsdports erdgeist 2012-01-14 20:55:27 +00:00
  • cea94f977d Fix regex to grep for pids in a running Jail. Thanks to Thomas Steen Rasmussen. erdgeist 2012-01-14 20:00:55 +00:00
  • 6b516a3905 ezjail-admin delete -f now not any longer stops all jails but only the one to be deleted. Thanks to Thomas Steen Rasmussen erdgeist 2012-01-14 17:02:10 +00:00
  • 94364d3fe8 Re-add ports to the exclusion list erdgeist 2012-01-14 07:20:12 +00:00
  • 38d54fde17 Tiny script to help import Servers into ezjail erdgeist 2012-01-14 07:17:24 +00:00
  • 7e51a9b14e Counting ezjail-flavours did not work correctly erdgeist 2012-01-09 23:40:45 +00:00
  • 680eb0975c Copy content of directory, not directory itself RELEASE_3_2 erdgeist 2012-01-07 14:47:01 +00:00
  • f7b8001a06 Correct version information erdgeist 2012-01-07 14:39:51 +00:00
  • ddc88c9975 Make flavourize script a new style rc command erdgeist 2012-01-07 05:16:48 +00:00
  • 1e39cfd7ba Make flavour script a real new style rc script erdgeist 2012-01-07 04:48:23 +00:00