Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 980d946

Browse files
author
olevole
committed
14.0.x release notes
1 parent 479ea05 commit 980d946

15 files changed

+540
-8
lines changed

en/_start.html

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
</div>
3131
<div id="referat"></div>
3232
<div class="content">
33+
<!--
34+
<div class="warning">
35+
<p>2023-02 upd: important announcement. Due to the loss of the main server (non-technical problems related to paying for hosting), the CBSD-related images (ISO, cloud images, jail images ...) will be unavailable indefinitely.</p>
36+
</div>
37+
-->
3338
<div class="block black-text info">
3439
<p>2020-10 upd: we reached the first fundraising goal and rented a server in Hetzner for development! Thank you for <a target="_blank" href="https://www.patreon.com/clonos">donating</a> !</p>
3540
</div>

en/about.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,10 @@ <h2>
484484
<strong>
485485
Q:
486486
</strong>
487-
487+
<a target="_blank" href="https://github.com/DtxdF/AppJail">
488+
AppJail
489+
</a>
490+
,
488491
<a target="_blank" href="https://bastillebsd.org">
489492
bastillebsd
490493
</a>
@@ -610,6 +613,10 @@ <h2>
610613
<a target="_blank" href="https://forums.freebsd.org/threads/introducing-tredly-containers-for-unix-freebsd.56016/">
611614
tredly
612615
</a>
616+
,
617+
<a target="_blank" href="https://github.com/ssteidl/vessel">
618+
vessel
619+
</a>
613620
,
614621
<a target="_blank" href="https://libvirt.org/drvbhyve.html">
615622
virt-manager

en/cbsd_additional.html

+22-6
Original file line numberDiff line numberDiff line change
@@ -221,20 +221,36 @@ <h2><a name="jnameasmask">Multiple operation by jname as mask</a></h2>
221221
<h2><a name="hier">A brief summary of the filesystem hierarchy <strong>CBSD</strong></a></h2>
222222
<div class="block">
223223
<table class="images">
224-
<tr><td class="bg-gray">${workdir}/.rssh/</td><td>This directory stores the private keys of remote nodes. The files are added and removed via the command <strong>cbsd node</strong></td></tr>
225-
<tr><td class="bg-gray">${workdir}/.ssh</td><td>This directory stores the private and public keys of the nodes. The directory is created during initialization with the command <strong><em>cbsd initenv</em></strong>. This is also where the public key comes from when the command <strong>cbsd node mode=add</strong> is issued to copy the pub key to a remote host. The Key file name is the md5 sum of the nodename. In addition, this key pair is used by default when working with cloud images of virtual machines, For example, in the operations 'cbsd bexec, cbsd bscp, cbsd blogin'</td></tr>
224+
<tr><td class="bg-gray"><strong>${workdir}/.rssh/</strong></td><td>This directory stores the private keys of remote nodes. The files are added and removed via the command <strong>cbsd node</strong></td></tr>
225+
<tr><td class="bg-gray"><strong>${workdir}/.ssh</strong></td><td>This directory stores the private and public keys of the nodes. The directory is created during initialization with the command <strong><em>cbsd initenv</em></strong>. This is also where the public key comes from when the command <strong>cbsd node mode=add</strong> is issued to copy the pub key to a remote host. The Key file name is the md5 sum of the nodename. In addition, this key pair is used by default when working with cloud images of virtual machines, For example, in the operations 'cbsd bexec, cbsd bscp, cbsd blogin'</td></tr>
226226
<tr><td class="bg-gray">${workdir}/basejail</td><td>This directory is used to store the bases and kernels for FreeBSD that are used when creating baserw=0 jails. These are generated via cbsd buildworld/buildkernel, cbsd installworld/installkernel, or cbsd repo action=get sources=base/kernel)</td></tr>
227227
<tr><td class="bg-gray">${workdir}/etc</td><td>Configuration files needed to run <strong>CBSD</strong></td></tr>
228228
<tr><td class="bg-gray">${workdir}/export</td><td>The default directory that will be stored in a file exported by the jail (a cbsd jexport jname=$jname, this directory will file $jname.img)</td></tr>
229229
<tr><td class="bg-gray">${workdir}/import</td><td>The default directory containing data to be imported to a jail (a cbsd jimport jname=$jname, will be deployed jail $jname)</td></tr>
230230
<tr><td class="bg-gray">${workdir}/jails</td><td>This directory contains the mount point for the root jails that use baserw=0.</td></tr>
231-
<tr><td class="bg-gray">${workdir}/jails-data</td><td>This directory stores all jail data. Backup these directories to take a backup of the jails (including fstab and rc.conf files). Note: if a jail uses baserw=1, these directories are the root of the jail when it starts.</td></tr>
232-
<tr><td class="bg-gray">${workdir}/jails-fstab</td><td>The fstab file for the jails. The syntax for regular FreeBSD with the only exception that the path to the mount point is written relative to the root <em>jail</em> (record <strong>/usr/ports /usr/ports nullfs rw 0 0 </strong> in the file fstab.$jname means that of the master node directory /usr/ports will be mounted at startup in ${workdir}/jails/$jname/usr/ports)</td></tr>
233-
<tr><td class="bg-gray">${workdir}/jails-rcconf</td><td>rc.conf files for jail creation. These parameters can be changed using $editor, or via the command <strong><em>cbsd jset $jname param=val</em></strong> (eg <em>cbsd jset jname=$jname ip="192.168.0.2/24"</em>). To change these settings, the jail should be turned <strong>off</strong>. </td></tr>
234-
<tr><td class="bg-gray">${workdir}/jails-system</td><td> This directory may contain some helper scripts related to the jail (eg wizards to configure, configurators, etc) as well as the preserved jail traffic when using ipfw and its description. This catalog participates in jimport/jexport operations and migration of jail </td></tr>
231+
<tr><td class="bg-gray"><font style="color:RED"><strong>${workdir}/jails-data</strong></font></td><td>This directory stores all jail/VM data. Backup these directories to take a backup of the jails (including fstab and rc.conf files). Note: if a jail uses baserw=1, these directories are the root of the jail when it starts. <font style="color:red">Pay attention!</font> when using ZVOL, in fact, the virtual disk are located in/as ZVOL and jails-data/ENV has only symbolic links - please take into consideration this when planning backup/DR!. This directory (or volume, which indicate symlinks to) is subject to backup copying if you want to restore your virtual environment in the case of failures.</td></tr>
232+
<tr><td class="bg-gray"><strong>${workdir}/jails-fstab</strong></td><td>The fstab file for the jails. The syntax for regular FreeBSD with the only exception that the path to the mount point is written relative to the root <em>jail</em> (record <strong>/usr/ports /usr/ports nullfs rw 0 0 </strong> in the file fstab.$jname means that of the master node directory /usr/ports will be mounted at startup in ${workdir}/jails/$jname/usr/ports)</td></tr>
233+
<tr><td class="bg-gray">${workdir}/jails-rcconf</td><td>rc.conf files for jail creation. These parameters can be changed using $editor, or via the command <strong><em>cbsd jset $jname param=val</em></strong> (eg <em>cbsd jset jname=$jname ip="192.168.0.2/24"</em>). To change these settings, the jail should be turned <strong>off</strong>. </td></tr>
234+
<tr><td class="bg-gray"><strong>${workdir}/jails-system</strong></td><td> This directory may contain some helper scripts related to the jail (eg wizards to configure, configurators, etc) as well as the preserved jail traffic when using ipfw and its description. This catalog participates in jimport/jexport operations and migration of jail. This catalog is subject to backup copying if you want to restore the <strong>CBSD</strong> during failures. </td></td></tr>
235235
<tr><td class="bg-gray">${workdir}/var</td><td> This directory contains system information for <strong>CBSD</strong>. For example, in ${workdir}/var/db is an inventory of local and remote nodes that were added. </td></tr>
236+
<tr><td class="bg-gray"><strong>${workdir}/var/db</strong></td><td> The main and the most important SQLite3 CBSD base, it is indicated by a sympathetic link <strong>local.sqlite</strong>. This catalog is subject to backup copying if you want to restore the <strong>CBSD</strong> during failures. </td></tr>
236237
<tr><td class="bg-gray">/usr/local/cbsd</td><td> A copy of the original files installed by the <strong>CBSD</strong> port. The working scripts for sudoexec can also be found here. </td></tr>
237238
</table>
239+
<p>For example, for manual transfer of a container/VM from the <strong>CBSD</strong> structure, you need a SQLite3 database indicated by a symbolic link ~cbsd/var/db/local.sqlite. Its contents (table jails, bhyve, xen ..) is responsible for the list of registered environment, for example:</p>
240+
<pre>
241+
sqlite3 ~cbsd/var/db/local.sqlite "SELECT * from jails";
242+
sqlite3 ~cbsd/var/db/local.sqlite ".schema jails";
243+
sqlite3 ~cbsd/var/db/local.sqlite ".tables";
244+
sqlite3 ~cbsd/var/db/local.sqlite ".dump";
245+
</pre>
246+
<p>Also, you need a rootfs container in the ~cbsd/jails-data/JAILNAME-data directory</p>
247+
<p>As for virtual machines, you need to additionally check whether the discs of virtual machines ZVOL-based ( zfs list | egrep "dsk [0-9]+.vhd"), as well as, be sure to copy ~cbsd/jails-system/ENVNAME/, where there are a virtual machine settings in the local.sqlite file:</p>
248+
<pre>
249+
sqlite3 ~cbsd/jails-system/VMNAME/local.sqlite "SELECT * from settings";
250+
sqlite3 ~cbsd/jails-system/VMNAME/local.sqlite ".tables";
251+
sqlite3 ~cbsd/jails-system/VMNAME/local.sqlite ".dump";
252+
</pre>
253+
238254
</div>
239255
<h2><a name="traffic">Counting jail traffic</a></h2>
240256
<div class="block">

en/cbsd_nvmm_quickstart.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cbsd_qemu_quickstart.html

en/cbsd_qemu_quickstart.html

+10
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ <h2><a name="knowit">CBSD and QEMU</a></h2>
2222
kldload nvmm
2323
</pre>
2424

25+
<p>Don't forget to add nvmm into auto-load via /boot/loader.conf:</p>
26+
<pre>
27+
nvmm_load="YES"
28+
</pre>
29+
2530
<p>You can check the status of NVMM through the command:</p>
2631
<pre class="brush:bash;ruler:true;">
2732
nvmmctl identify
@@ -34,6 +39,11 @@ <h2><a name="knowit">CBSD and QEMU</a></h2>
3439
<p>Also, acceleration will not be available if you are running non-native architectures.</p>
3540
</div>
3641

42+
<p>You need to install QEMU package named 'qemu' (or 'qemu-devel' in some cases):</p>
43+
<pre class="brush:bash;ruler:true;">
44+
pkg install qemu
45+
</pre>
46+
3747
<p>Detailed description of working with NVMM/QEMU on the: <a target="_blank" href="https://www.dragonflybsd.org/docs/docs/howtos/nvmm/">DragonflyBSD project page</a>, <a target="_blank" href="https://www.netbsd.org/docs/guide/en/chap-virt.html">NetBSD project guide</a></p>
3848

3949
<p>When working with emulation of non-native architectures, you may need firmware and bios to boot systems:</p>

en/news.html

+143
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,149 @@ <h2><a name="development">&nbsp;Development</a></h2>
1212
<p><em>If&nbsp;you want to&nbsp;experiment with the next version of&nbsp;<strong>CBSD</strong>, use <strong>git clone https://github.com/cbsd/cbsd.git</strong> for <strong>/usr/local/cbsd</strong></em></p>
1313
</div>
1414
<h2><a name="release">Releases</a></h2>
15+
<div class="block">
16+
<p><strong>14.0.2</strong>&nbsp;&mdash; 2023-11-21</p>
17+
<ul>
18+
<li>get-profiles: show {imgsize,vm_ram,vm_cpus}_max= values for cloud profiles</li>
19+
<li>bhyve cloud profiles: Rocky 9.3, Alma 9.3, Oracle 9.3, EuroLinux 9.3, FreeBSD 14.0, Fedora39</li>
20+
<ul>
21+
</div>
22+
<div class="block">
23+
<p><strong>14.0.1</strong>&nbsp;&mdash; 2023-10-10</p>
24+
<ul>
25+
<li>jexec: fix for Linux jails;</li>
26+
<li>bhyve cloud profiles: Debian 11.8.0, 12.2.0;</li>
27+
<ul>
28+
</div>
29+
<div class="block">
30+
<p><strong>14.0.0</strong>&nbsp;&mdash; 2023-09-23</p>
31+
<ul>
32+
<li>jail: improve linux jail: get rootfs in same way as FreeBSD;</li>
33+
<li>jail: get rid of centos_7/kfreebsd linux jails profile;</li>
34+
<li>jail: added rocky_8, rocky_9 linux jails profile;</li>
35+
<li>bhyve: new cloud image: Devuan 5</li>
36+
<ul>
37+
</div>
38+
<div class="block">
39+
<p><strong>13.2.6</strong>&nbsp;&mdash; 2023-09-02</p>
40+
<ul>
41+
<li>jails: switch CURRENT/head to 15.0-CURRENT;</li>
42+
<li>jexec: (work-around) - disable 'user=XXX' for Linux env;</li>
43+
<ul>
44+
</div>
45+
<div class="block">
46+
<p><strong>13.2.5</strong>&nbsp;&mdash; 2023-06-18</p>
47+
<ul>
48+
<li>jail: fix pkg bootstrap;</li>
49+
<ul>
50+
</div>
51+
<div class="block">
52+
<p><strong>13.2.4</strong>&nbsp;&mdash; 2023-06-14</p>
53+
<ul>
54+
<li>jail: experimental: new source for base: base-in-pkg (for FreeBSD 13.2, FreeBSD 14.0);</li>
55+
<li>basejail: no more /usr/home, they move our home!;</li>
56+
<li>Debian 12 cloud profile;</li>
57+
<li>bugfix: bhyve-dsk: increasing disk size succeeded at failing ( #734 )</li>
58+
<ul>
59+
</div>
60+
<div class="block">
61+
<p><strong>13.2.3</strong>&nbsp;&mdash; 2023-05-14</p>
62+
<ul>
63+
<li>bugfix: etcupdate: always mount jail's data;</li>
64+
<ul>
65+
</div>
66+
<div class="block">
67+
<p><strong>13.2.2</strong>&nbsp;&mdash; 2023-05-10</p>
68+
<ul>
69+
<li>cbsd-pf.conf: revert cbsd_nat_skip_natip_network settings;</li>
70+
<li>improved "bhyve-ppt mode=list" output;</li>
71+
<li>bhyve cloud profile: XigmaNAS;</li>
72+
<ul>
73+
</div>
74+
<div class="block">
75+
<p><strong>13.2.1</strong>&nbsp;&mdash; 2023-04-19</p>
76+
<ul>
77+
<li>get-profiles script: show available profiles for virtual machines ( legacy get_bhyve_profiles );;</li>
78+
<li>bhyve: new cloud profiles: OpenBSD 7.3, Fedora 38;</li>
79+
<li>bhyve: get vm_cpus_max values from 'sysctl -qn hw.vmm.maxcpu' for FreeBSD >= 13.2, pointed by: @Tectu via #670;</li>
80+
<ul>
81+
</div>
82+
<div class="block">
83+
<p><strong>13.2.0</strong>&nbsp;&mdash; 2023-04-09</p>
84+
<ul>
85+
<li>Tested with 13.2-RELEASE;</li>
86+
<li>check for jname=, reported by @jas_s2r via CBSD Telegram;</li>
87+
<li>cbsd-stats: fix pid file;</li>
88+
<li>bhyve: inherit nic_address in bhyve.conf;</li>
89+
<ul>
90+
</div>
91+
<div class="block">
92+
<p><strong>13.1.25</strong>&nbsp;&mdash; 2023-03-11</p>
93+
<ul>
94+
<li>media: fix SQLite3 DQS;</li>
95+
<ul>
96+
</div>
97+
<div class="block">
98+
<p><strong>13.1.24</strong>&nbsp;&mdash; 2023-03-04</p>
99+
<ul>
100+
<li>fixes for https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted;</li>
101+
<li>fix `cbsd expose mode=clear' regression from 13.1.23;</li>
102+
<li>fix: cbsdd: proper -F args for pkill;</li>
103+
<li>cbsd expose: validate in/out values, #727</li>
104+
<li>mountfstab: jail remount with cbsd configured settings, Issue #729</li>
105+
<ul>
106+
</div>
107+
<div class="block">
108+
<p><strong>13.1.23</strong>&nbsp;&mdash; 2023-02-06</p>
109+
<ul>
110+
<li>Debian/Ubuntu cloud images: added UEFI VARS;</li>
111+
<li>NatCFG: split RDR/NAT rules per file;</li>
112+
<li>NatCFG: added 'cbsd_nat_skip_natip_network' + 'cbsd_nat_networks' settings via cbsd-pf.conf to customization of default NAT rules, #634;</li>
113+
<li>zfs encryption for jail: add zfs_always_unload_key params to regulate zfs-unload behavior;</li>
114+
<li>cbsd initenv: fix ipfw_enable=1;</li>
115+
<li>jget/facts: support for nic_address;</li>
116+
<ul>
117+
</div>
118+
<div class="block">
119+
<p><strong>13.1.22</strong>&nbsp;&mdash; 2023-02-06</p>
120+
<ul>
121+
<li>fix: bclone: copy etc/ dir (+ expose + UEFI VARS) as well, reported by: @Phobster via Telegram;</li>
122+
<li>bhyve: use UEFI VARS in 13.2, not CURRENT/14-HEAD only;</li>
123+
<li>jail jset: permit to jset nic_address</li>
124+
<li>jail: umount_cdirs: simplify + handle path with spaces, based on <a href="https://github.com/cbsd/cbsd/pull/714" target="_blank">#714</a>;</li>
125+
<li>apply script: apply-reconfigure jail by CBSDfile;</li>
126+
<li>fix get-next-nic: try to create interface as test for next available iface;</li>
127+
<li>jail: fix errcode for jexec;</li>
128+
<li>jail: fix cbsd-statsd-jail startups script, reported by @karandinsa via Telegram;</li>
129+
<li>jail: fix cbsd-statsd-jail IPv4 listen, reported by @karandinsa via Telegram;</li>
130+
<ul>
131+
</div>
132+
<div class="block">
133+
<p><strong>13.1.21</strong>&nbsp;&mdash; 2023-01-09</p>
134+
<ul>
135+
<li>fetch: support for SOCKS5_PROXY/http(s)_proxy variables for PROXY: can be set via global.conf;</li>
136+
<li>puppet profile jail: switch to apply puppet locally;</li>
137+
<li>fix ipfw_enable condition in fwcounter function, reported by @lordnicky via Telegram;</li>
138+
<li>DragonflyBSD 6.4.0 cloud image;</li>
139+
<ul>
140+
</div>
141+
<div class="block">
142+
<p><strong>13.1.20 bugfix</strong>&nbsp;&mdash; 2022-12-20</p>
143+
<ul>
144+
<li>bhyve: Debian 11.6.0 cloud image profile;</li>
145+
<li>bhyve: GhostBSD 22.11 cloud image profile;</li>
146+
<li>pass users /usr/obj via nullfs on DFLY platform;</li>
147+
<li>jails: support for single file mount via nullfs ( <a target="_blank" href="https://reviews.freebsd.org/D37478">https://reviews.freebsd.org/D37478</a> );</li>
148+
<li>bugfix for zfs-migrator script;</li>
149+
<li>fix permission on ~cbsd/.ssh/sockets directory;</li>
150+
<ul>
151+
</div>
152+
<div class="block">
153+
<p><strong>13.1.19 bugfix</strong>&nbsp;&mdash; 2022-12-06</p>
154+
<ul>
155+
<li>fix: cannot login jails after upgrade <a href="https://github.com/cbsd/cbsd/issues/718" target="_blank">#718</a> ( reported by @Juronski );</li>
156+
<ul>
157+
</div>
15158
<div class="block">
16159
<p><strong>13.1.18</strong>&nbsp;&mdash; 2022-12-06</p>
17160
<ul>

0 commit comments

Comments
 (0)