Chuck Tuffli
abc8a6b280
Allow Linux jails to see their mount points
...
Some Linux packages (shakes fist angrily at Java) look to see if `/proc` is mounted as a part of the installation by running
`mountpoint /proc`
While the Linux jail can see the contents of its `/proc` directory, the linprocfs driver will not generate the correct contents for `/proc/mounts` or `/proc/self/mountinfo` as `kern_getfsstat()` will, by default, filter all mount points other than the jail's chroot directory.
Fix is to set `enforce_statfs` to allow mount points below the jail's chroot directory to be visible.
2022-03-04 08:16:33 -08:00
JRGTH
03b9817f5a
Initial support for clone jails
2022-01-15 11:32:28 -04:00
Rob Arnold
c98d03a8e5
Import basic vnet settings from iocage
...
There's quite a bit more we could do here, but this hits my basic usage
with vnets. Future work here would be things like ipv6 support or trying
to infer what a custom `interfaces` setting means.
2022-01-13 21:04:15 -08:00
yaazkal
17e4fa78f9
[FIX] vnet: use the right search pattern to choose the unique epair
2021-12-28 22:42:52 -05:00
yaazkal
c8545e8598
[REF] indentation: change tab to spaces
2021-12-28 21:22:30 -05:00
yaazkal
9a47a6c573
[REF] SC2003: expr is antiquated
2021-12-28 21:19:54 -05:00
Christer Edwards
2f59bdecec
add Debian 11 'bullseye' to Linux supported list
2021-12-22 18:35:49 -07:00
Christer Edwards
a115ba5b87
Merge pull request #420 from JRGTH/master
...
Extra validation for Linux jails, small changes
2021-12-21 20:15:58 -07:00
Christer Edwards
5dabc75257
hotfix for the VNET interface description patch
2021-12-21 19:20:31 -07:00
Christer Edwards
faf3b2b691
use full path when calling jls binary
2021-12-17 19:09:49 -07:00
yaazkal
68951de687
[FIX] Only use host's time zone for jails when already set in host
2021-12-12 12:38:05 -05:00
yaazkal
35d3038bea
[REF] Use host's time zone for jails by default
2021-12-12 12:10:39 -05:00
Christer Edwards
c09a5b05bf
Merge pull request #459 from robarnold/description
...
Add a description to the host vnet interface
2021-12-09 10:53:28 -07:00
Stefano Marinelli
d951a70b30
Added doc and fixes - bridge support
2021-12-02 15:22:08 +01:00
Stefano Marinelli
ec1356df08
Added and modified code for existing bridge jail attachement.
2021-12-02 15:06:47 +01:00
Rob Arnold
0a232dd140
Add a description to the host vnet interface
...
This makes it much easier to understand `ifconfig` when run on the jail host. Not sure how to test this, but manually appyling this via `bastille edit` to an existing vnet jail had the right effects when I restarted the jail.
2021-11-14 19:53:55 -08:00
JRGTH
9d3cb5f5e3
Merge remote-tracking branch 'upstream/master'
2021-08-06 17:22:22 -04:00
Yaazkal
a21be862d8
Adds: Debian 10 (Buster) as a release for linux jails
2021-07-30 07:40:01 -05:00
Florian Gattermeier
2581218f82
Added logic for setting ipv6_defaultrouter for vnet template
2021-07-26 11:13:04 +02:00
Yaazkal
f6b2e57051
Adds: Debian 9 (Stretch) as a release for linux jails
2021-07-23 12:07:21 -05:00
JRGTH
c90fea3066
Extra validation on Linux Jails, revert cp.sh to avoid issues with templates
2021-07-15 16:30:36 -04:00
cynix
387fe3cf91
Avoid mounting devfs twice
2021-07-15 23:01:13 +10:00
cynix
857414f410
Fix missing redirection
2021-07-15 21:26:35 +10:00
cynix
b294a45bb9
Fix fstab creation for Linux jails
2021-07-15 20:52:16 +10:00
Christer Edwards
6d5da561bd
release preparation for 0.9.x
2021-07-14 15:49:12 -06:00
JRGTH
e564d50b2c
Code review/cleanup routine
2021-07-14 13:57:09 -04:00
JRGTH
50c09d0359
Feature to disable output colors
2021-07-13 04:49:25 -04:00
JRGTH
b1258378ab
Revision for create cmd, fixed regressions and enhanced usage
...
This update fixes for previous regressions in the `create.sh` file and code cleanup, also enhances the usage display.
2021-07-12 14:54:00 -04:00
JRGTH
92e9579e04
Revert first as conflict with older one
2021-07-12 14:52:25 -04:00
JRGTH
a932abe0e3
Revision for create cmd, fixed regressions and enhanced usage.
...
This update fixes for previous regressions and code cleanup, also enhances the usage display.
2021-07-12 14:45:37 -04:00
JRGTH
9e3ad27ecf
Re-added new and improved create.sh file
2021-07-07 05:22:35 -04:00
JRGTH
8938d03f47
Revert to original file before re-add new
2021-07-07 05:21:28 -04:00
JRGTH
961731b063
New features and improvements revised and re-added
2021-07-07 05:05:38 -04:00
JRGTH
2f63bf3bbc
Merge remote-tracking branch 'upstream/master'
2021-07-07 04:53:57 -04:00
noracenofun
ac01384810
fixes issue #361
...
[BUG] IPv6 not respected when creating VNET jails #361
2021-05-05 12:45:47 +02:00
Christer Edwards
a311379afa
Merge pull request #357 from ddowse/master
...
Help output to show real value for options instead of just [options]
2021-05-04 19:02:14 -06:00
Jose
0c699ea68d
Merge remote-tracking branch 'upstream/master'
2021-04-29 16:33:26 -04:00
Christer Edwards
d6d9d14820
Merge pull request #355 from laffer1/master
...
Add preliminary support for MidnightBSD.
2021-03-22 13:56:58 -06:00
Jose
9984101e1b
Don't share ports across the jails, just copy them
...
A security concern into the jail could affect the shared ports for all the child, and/or multiple jails accessing/managing/updating the same source could lead into conflicts.
Due the above mentioned issues, the optional distfiles will be copied to the newly created thinjail if they exist on the base release, thus being secure and more granular management.
2021-03-20 06:12:07 -04:00
Daniel Dowse
296236f793
Tabs to spaces
2021-03-03 18:56:24 +01:00
Daniel Dowse
dd3b2e8e62
If dual stack ip6 gw will be last will be the last output line of netstat ... comand in _gateway
2021-03-03 15:20:55 +01:00
Daniel Dowse
8cb20e4457
Help output to show real value for options instead of [options]
2021-03-03 00:30:17 +01:00
Lucas Holt
1710a09f6a
Add preliminary support for MidnightBSD.
2021-02-26 16:55:56 -05:00
Bike Dude
e35024508e
allow boostrapping BETA build
2021-02-14 17:35:23 +01:00
Bike Dude
baa362c69b
allow boostrapping BETA build
2021-02-14 17:29:29 +01:00
Jose
b31c8d514b
Simplify options parsing and better handling for combined options
2021-02-03 20:39:30 -04:00
Jose
2474382756
Improve interface validation on vnet jail creation
2021-01-12 23:15:39 -04:00
Jose
87944a0fd0
Don't allow underscore in jail name beginning, remove jail from bastille_list on destroy
2021-01-10 18:55:02 -04:00
Jose
665cc19ce6
Properly link shared ports on thin jails
2021-01-08 22:37:18 -04:00
Jose
b528289815
Don't start empty jails unless templates defined, code improvements
2021-01-08 20:26:31 -04:00