xref: /freebsd/RELNOTES (revision 768489c721fbf02eef221cd336f3f8b468182561)
1a53ce3fcSGlen BarberRelease notes for FreeBSD 14.0.
28dbc2b6eSMark Johnston
38dbc2b6eSMark JohnstonThis file describes new user-visible features, changes and updates relevant to
48dbc2b6eSMark Johnstonusers of binary FreeBSD releases.  Each entry should describe the change in no
58dbc2b6eSMark Johnstonmore than several sentences and should reference manual pages where an
68dbc2b6eSMark Johnstoninterested user can find more information.  Entries should wrap after 80
78dbc2b6eSMark Johnstoncolumns.  Each entry should begin with one or more commit IDs on one line,
8cda1f88dSWarner Loshspecified as a comma separated list and/or range, followed by a colon and a
9cda1f88dSWarner Loshnewline.  Entries should be separated by a newline.
108dbc2b6eSMark Johnston
118dbc2b6eSMark JohnstonChanges to this file should not be MFCed.
128dbc2b6eSMark Johnston
13da51a121SJohn Baldwin41582f28ddf7:
14da51a121SJohn Baldwin	FreeBSD 15.0 will not include support for 32-bit platforms.
15da51a121SJohn Baldwin	However, 64-bit systems will still be able to run older 32-bit
16da51a121SJohn Baldwin	binaries.
17da51a121SJohn Baldwin
18da51a121SJohn Baldwin	Support for executing 32-bit binaries on 64-bit platforms via
19da51a121SJohn Baldwin	COMPAT_FREEBSD32 will remain supported for at least the
20da51a121SJohn Baldwin	stable/15 and stable/16 branches.
21da51a121SJohn Baldwin
22da51a121SJohn Baldwin	Support for compiling individual 32-bit applications via
23da51a121SJohn Baldwin	`cc -m32` will also be supported for at least the stable/15
24da51a121SJohn Baldwin	branch which includes suitable headers in /usr/include and
25da51a121SJohn Baldwin	libraries in /usr/lib32.
26da51a121SJohn Baldwin
27da51a121SJohn Baldwin	Support for 32-bit platforms in ports for 15.0 and later
28da51a121SJohn Baldwin	releases is also deprecated, and these future releases may not
29da51a121SJohn Baldwin	include binary packages for 32-bit platforms or support for
30da51a121SJohn Baldwin	building 32-bit applications from ports.
31da51a121SJohn Baldwin
32da51a121SJohn Baldwin	stable/14 and earlier branches will retain existing 32-bit
33da51a121SJohn Baldwin	kernel and world support.  Ports will retain existing support
34*768489c7SJohn Baldwin	for building ports and packages for 32-bit systems on stable/14
35da51a121SJohn Baldwin	and earlier branches as long as those branches are supported
36da51a121SJohn Baldwin	by the ports system.  However, all 32-bit platforms are Tier-2
37da51a121SJohn Baldwin	or Tier-3 and support for individual ports should be expected
38da51a121SJohn Baldwin	to degrade as upstreams deprecate 32-bit platforms.
39da51a121SJohn Baldwin
40da51a121SJohn Baldwin	With the current support schedule, stable/14 will be EOLed 5
41da51a121SJohn Baldwin	years after the release of 14.0.  The EOL of stable/14 would
42da51a121SJohn Baldwin	mark the end of support for 32-bit platforms including source
43da51a121SJohn Baldwin	releases, pre-built packages, and support for building
44da51a121SJohn Baldwin	applications from ports.  Given an estimated release date of
45da51a121SJohn Baldwin	October 2023 for 14.0, support for 32-bit platforms would end
46da51a121SJohn Baldwin	in October 2028.
47da51a121SJohn Baldwin
48da51a121SJohn Baldwin	The project may choose to alter this approach when 15.0 is
49da51a121SJohn Baldwin	released by extending some level of 32-bit support for one or
50da51a121SJohn Baldwin	more platforms in 15.0 or later.  Users should use the
51da51a121SJohn Baldwin	stable/14 branch to migrate off of 32-bit platforms.
52da51a121SJohn Baldwin
53b9b8a476SKyle Evans3cb2f5f369ec:
54b9b8a476SKyle Evans	The lua-flavored loader(8) will now interpret .lua files that appear in
55b9b8a476SKyle Evans	loader_conf_files as lua, and execute them in a sandbox.  Existing
56b9b8a476SKyle Evans	loader environment variables are available as globals in the sandbox,
57b9b8a476SKyle Evans	and any global variable set, if not a table value, will be reflected in
58b9b8a476SKyle Evans	the loader environment upon successful execution of the configuration
59b9b8a476SKyle Evans	file.  Environment variables with names that aren't valid lua names may
60b9b8a476SKyle Evans	be accessed as indices of _ENV; e.g., _ENV['net.fibs'].
61b9b8a476SKyle Evans
626a8d4071SWarner Loshbdc81eeda05d:
636a8d4071SWarner Losh	nda is now the default nvme device on all platforms. While nda creates
646a8d4071SWarner Losh	nvd links by default so fstab, etc continues to work, configuration
656a8d4071SWarner Losh	should be updated to the new nda devices.
666a8d4071SWarner Losh
676a8d4071SWarner Losh	To restore the old behavior, add hw.nvme.use_nvd=1 to loader.conf or
686a8d4071SWarner Losh	`options NVME_USE_NVD=1` to the kernel config.  To disable the nvd
696a8d4071SWarner Losh	compatibility aliases, add kern.cam.nda.nvd_compat=0 to loader.conf.
706a8d4071SWarner Losh
711186ef86SMike Karelsbbb2d2ce4220:
721186ef86SMike Karels	Change pw (hence bsdinstall) not to move /home to /usr/home.
731186ef86SMike Karels	Previously, when creating the path to home directories, pw
741186ef86SMike Karels	would move any path in the root directory under /usr, creating
751186ef86SMike Karels	a symlink in root.  In particular, the default /home would become
761186ef86SMike Karels	/usr/home.  Now /home is at the top level by default.  /usr/home
771186ef86SMike Karels	can be used explicitly.
781186ef86SMike Karels
79af8e0a60SElliott Mitchell3416e102c4e9:
801d735524SEmmanuel Vadot	Remove TI code from armv7 GENERIC kernel.
811d735524SEmmanuel Vadot	This code doesn't cope with newer DTS and hasn't in a long time so
821d735524SEmmanuel Vadot	support for TI armv7 platform (like BeagleBone and Pandaboard) is now
831d735524SEmmanuel Vadot	removed from GENERIC.
841d735524SEmmanuel Vadot
85af8e0a60SElliott Mitchelld198b8774d2c:
86f15b2e1aSEmmanuel Vadot	Add a new "fwget" utility.
87f15b2e1aSEmmanuel Vadot	The goal of this utility is to inspect the system for peripherals
88f15b2e1aSEmmanuel Vadot	that needs firmware and install the appropriate packages for them.
89f15b2e1aSEmmanuel Vadot	For now only pci subsystem is supported and only firmwares for Intel
90f15b2e1aSEmmanuel Vadot	and AMD GPUs are known.
91f15b2e1aSEmmanuel Vadot
92af8e0a60SElliott Mitchell896516e54a8c:
9389d197ccSRick Macklem	Add a new "syskrb5" mount option for Kerberized NFSv4.1/4.2 mounts.
9489d197ccSRick Macklem	Without this patch, a Kerberized NFSv4.1/4.2 mount must provide
9589d197ccSRick Macklem	a Kerberos credential for the client at mount time.
9689d197ccSRick Macklem	This patch uses a feature of NFSv4.1/4.2 called SP4_NONE, which
9789d197ccSRick Macklem	allows the state maintenance operations to be performed by any
9889d197ccSRick Macklem	authentication mechanism, so that these operations may be done via
9989d197ccSRick Macklem	AUTH_SYS instead of RPCSEC_GSS (KerberosV).  As such, no Kerberos
10089d197ccSRick Macklem	credential is required at mount time.
10189d197ccSRick Macklem	See mount_nfs(8).
10289d197ccSRick Macklem
103af8e0a60SElliott Mitchell330aa8acdec7,ff2f1f691cdb:
10489d197ccSRick Macklem	Adds support for the SP4_MACH_CRED case for the
10589d197ccSRick Macklem	NFSv4.1/4.2 ExchangeID operation since the Linux
10689d197ccSRick Macklem	NFSv4.1/4.2 client is now using this for Kerberized mounts.
10789d197ccSRick Macklem	This change should only affect Kerberized NFSv4.1/4.2 mounts.
10889d197ccSRick Macklem	The Linux Kerberized NFSv4.1/4.2 mounts currently work without
10989d197ccSRick Macklem	support for this because Linux will fall back to SP4_NONE,
11089d197ccSRick Macklem	but there is no guarantee this fallback will work forever.
11189d197ccSRick Macklem
11284eac070SRick Macklem7344856e3a6d and many others:
11384eac070SRick Macklem	Add support so that nfsd(8), nfsuserd(8), mountd(8), gssd(8)
11484eac070SRick Macklem	and rpc.tlsservd(8) can be run in an appropriately configured
11584eac070SRick Macklem	vnet prison.  The vnet prison must be on its own file system,
11684eac070SRick Macklem	have the "allow.nfsd" jail parameter set on it and enforce_statfs
11784eac070SRick Macklem	cannot be set to "0".  Use of UDP and pNFS server configurations
11884eac070SRick Macklem	are not permitted.  (ie. The nfsd command line options "-u", "-p"
11984eac070SRick Macklem	and "-m" are not supported.)
12084eac070SRick Macklem	See jail(8), nfsd(8) and mountd(8).
12184eac070SRick Macklem
12217c82135SGregory Neil Shapiro2fb4f839f3fc,d89513ed2050,3413ee88c39d,f97a19ecb985,021562c5020d,431d2a81d421:
12317c82135SGregory Neil Shapiro	sendmail has been updated to the latest upstream version (8.17.1).
12417c82135SGregory Neil Shapiro
1258d0ed566SMike Karels4a30d7bb373c,d670a8f7c596,af01b4722577,4e240e55d818:
1268d0ed566SMike Karels	The growfs(7) script can now add a swap partition at the end of
1278d0ed566SMike Karels	the expansion area, and does so by default if there is no existing
1288d0ed566SMike Karels	swap.  See growfs(7).
1298d0ed566SMike Karels
130f1628146SEd Maste86edb11e7491:
131f1628146SEd Maste	llvm-objump is now always installed as objdump.
132f1628146SEd Maste
133882fc6daSBaptiste Daroussin616f32ea6da7:
134882fc6daSBaptiste Daroussin	mta_start_script along with othermta rc.d script has been retired.
135882fc6daSBaptiste Daroussin
1364d184bd4SBaptiste Daroussina67b925ff3e5:
1374d184bd4SBaptiste Daroussin	The default mail transport agent is now dma(8) replacing sendmail.
1384d184bd4SBaptiste Daroussin
1393c62f0f6SKristof Provost22893e584032:
1403c62f0f6SKristof Provost	L3 filtering on if_bridge will do surprising things which aren't
1413c62f0f6SKristof Provost	fail-safe, so net.link.bridge.pfil_member and
1423c62f0f6SKristof Provost	net.link.bridge.pfil_bridge now default to zero.
1433c62f0f6SKristof Provost
1442e5699fbSMark Johnstonf0bc4ed144fc:
1452e5699fbSMark Johnston	A new DTrace provider, kinst, is introduced and documented in
1462e5699fbSMark Johnston	dtrace_kinst(4).  The provider allows kernel instructions to be traced,
1472e5699fbSMark Johnston	similar to the FBT (function boundary tracing) provider except that all
1482e5699fbSMark Johnston	instructions may be probed instead of logical entry and return
1492e5699fbSMark Johnston	instructions.  The provider is currently amd64-only.
1502e5699fbSMark Johnston
1519bbed3f6SBrooks Davis0eea46fb1f83:
1529bbed3f6SBrooks Davis	Removed telnetd.
1539bbed3f6SBrooks Davis
154e7d9290fSRick Macklem981ef32230b2,33721eb991d8:
155e7d9290fSRick Macklem	These commits make the use of NFSv4.1/4.2 mounts with the "intr"
156e7d9290fSRick Macklem	mount option fairly usable, although not 100% correct, so long as
157e7d9290fSRick Macklem	the "nolockd" mount option is used as well.  See the mount_nfs(8)
158e7d9290fSRick Macklem	manual page for more information.
159e7d9290fSRick Macklem
16085c11f80SRick Macklemb875d4f5ddcb,0685c73cfe88:
16185c11f80SRick Macklem	The NFSv4.1/4.2 client and server will now generate console messages
16285c11f80SRick Macklem	if sessions are broken, suggesting that users check to ensure
16385c11f80SRick Macklem	that the /etc/hostid strings are unique for all NFSv4.1/4.2 clients.
16485c11f80SRick Macklem
165c39eecd8SMark Johnston240afd8c1fcc:
166c39eecd8SMark Johnston	makefs(8) has ZFS support; it can create a ZFS pool, backed by a
167c39eecd8SMark Johnston	single disk vdev, containing one or more datasets populated from
168c39eecd8SMark Johnston	the staging directory.
169c39eecd8SMark Johnston
1704cb0d41cSMark Johnston78ee8d1c4cda,f4f56ff43dbd:
1714cb0d41cSMark Johnston	The in-tree qat(4) driver has been replaced with Intel's QAT driver.
1724cb0d41cSMark Johnston	The new version provides additional interfaces to the chipset's
1734cb0d41cSMark Johnston	cryptographic and compression offload functionality.
1744cb0d41cSMark Johnston
1754cb0d41cSMark Johnston	This will have no visible change for most users; however, the new
1764cb0d41cSMark Johnston	driver does not support Atom C2000 chipsets.  To preserve support for
1774cb0d41cSMark Johnston	those chipsets, the old driver has been renamed to qat_c2xxx and kept
1784cb0d41cSMark Johnston	in the tree.  Users of qat(4) on C2000 hardware will thus need to
1794cb0d41cSMark Johnston	ensure that qat_c2xxx(4) is loaded instead of qat(4).
1804cb0d41cSMark Johnston
181c71a534eSMateusz Piotrowskida5b7e90e740,5a8fceb3bd9f,7b0a665d72c0,13ec1e3155c7,318d0db5fe8a,1ae2c59bcf21:
182c71a534eSMateusz Piotrowski	Boottrace is a new kernel-userspace interface for capturing trace
183c71a534eSMateusz Piotrowski	events during system boot and shutdown. Event annotations are
184c71a534eSMateusz Piotrowski	present in:
185c71a534eSMateusz Piotrowski
186c71a534eSMateusz Piotrowski	- The boot and shutdown paths in the kernel
187c71a534eSMateusz Piotrowski	- Some key system utilities (init(8), shutdown(8), reboot(8))
188c71a534eSMateusz Piotrowski	- rc(8) scripts (via boottrace(8))
189c71a534eSMateusz Piotrowski
190c71a534eSMateusz Piotrowski	In contrast to other existing boot-time tracing facilities like TSLOG,
191c71a534eSMateusz Piotrowski	Boottrace focuses on the ease of use and is aimed primarily at system
192c71a534eSMateusz Piotrowski	administrators.
193c71a534eSMateusz Piotrowski
194c71a534eSMateusz Piotrowski	It is available in the default GENERIC kernel and can be enabled by
195c71a534eSMateusz Piotrowski	toggling a single sysctl(8) variable.
196c71a534eSMateusz Piotrowski
197c71a534eSMateusz Piotrowski	See boottrace(4) for more details.
198c71a534eSMateusz Piotrowski
199253ecb38SJohn Baldwin05a1d0f5d7ac:
200253ecb38SJohn Baldwin	Kernel TLS offload now supports receive-side offload of TLS 1.3.
201253ecb38SJohn Baldwin
20276fe9df7SKristof Provost19dc64451179:
20376fe9df7SKristof Provost	if_stf now supports 6rd (RFC5969).
20476fe9df7SKristof Provost
205e383c423SCy Schubertc1d255d3ffdb, 3968b47cd974, bd452dcbede6:
206e383c423SCy Schubert	Add WiFi 6 support to wpa.
207e383c423SCy Schubert
20822b1cbecSCy Schubertba48d52ca6c8,4ac3d08a9693,2533eca1c2b9:
20922b1cbecSCy Schubert	The default bell tone is now 800Hz. It may be set with kbdcontrol
21022b1cbecSCy Schubert	again. There's devd integration for people wishing to use their sound
21122b1cbecSCy Schubert	cards for the beep.
212aa80581cSWarner Losh
213b788a226SGleb Smirnoff92b3e07229ba:
214b788a226SGleb Smirnoff	net.inet.tcp.nolocaltimewait enabled by default.  It prevents
215b788a226SGleb Smirnoff	creation of timewait entries for TCP connections that were
216b788a226SGleb Smirnoff	terminated locally.
217b788a226SGleb Smirnoff
218cfd8fda1SElliott Mitchelld410b585b6f0:
2191fca3dcaSBaptiste Daroussin	sh(1) is now the default shell for the root user.
2201fca3dcaSBaptiste Daroussin
221cfd8fda1SElliott Mitchell396851c20aeb:
2225aeb2600SBaptiste Daroussin	libncursesw has been split into libtinfow and libncursesw, linker
2235aeb2600SBaptiste Daroussin	scripts should make it transparent for consumers. pkg-config files
2245aeb2600SBaptiste Daroussin	are also now installed to ease ports detecting the ncurses setup from
2255aeb2600SBaptiste Daroussin	base.
2265aeb2600SBaptiste Daroussin
227cfd8fda1SElliott Mitchella422084abbda:
22805eba8e0SMark Johnston	LLVM's MemorySanitizer can now be used in amd64 kernels.  See the
22905eba8e0SMark Johnston	kmsan(9) manual page for more information.
23005eba8e0SMark Johnston
23105eba8e0SMark Johnston38da497a4dfc:
23205eba8e0SMark Johnston	LLVM's AddressSanitizer can now be used in amd64 kernels.  See the
23305eba8e0SMark Johnston	kasan(9) manual page for more information.
23405eba8e0SMark Johnston
235818edf67SWarner Loshf39dd6a97844,23f24377b1a9,628bd30ab5a4:
23659b83c47SWarner Losh	One True Awk has been updated to the latest from upstream
237818edf67SWarner Losh	(20210727). All the FreeBSD patches, but one, have now been
23859b83c47SWarner Losh	either up streamed or discarded.  Notable changes include:
23959b83c47SWarner Losh		o Locale is no longer used for ranges
24059b83c47SWarner Losh		o Various bugs fixed
24159b83c47SWarner Losh		o Better compatibility with gawk and mawk
24259b83c47SWarner Losh
24359b83c47SWarner Losh	The one FreeBSD change, likely to be removed in FreeBSD 14, is that
24459b83c47SWarner Losh	we still allow hex numbers, prefixed with 0x, to be parsed and
24559b83c47SWarner Losh	interpreted as hex numbers while all other awks (including one
24659b83c47SWarner Losh	true awk now) interpret them as 0 in line with awk's historic
24759b83c47SWarner Losh	behavior.
24859b83c47SWarner Losh
249818edf67SWarner Losh	A second change, less likely to be noticed, is the historic wart
250818edf67SWarner Losh	if -Ft meaning to use hard tab characters as the field separator
251818edf67SWarner Losh	is deprecated and will likely be removed in FreeBSD 14.
252818edf67SWarner Losh
253cda1f88dSWarner Loshee29e6f31111:
254be7c6470SRick Macklem	Commit ee29e6f31111 added a new sysctl called vfs.nfsd.srvmaxio
255be7c6470SRick Macklem	that can be used to increase the maximum I/O size for the NFS
256be7c6470SRick Macklem	server to any power of 2 up to 1Mbyte while the nfsd(8) is not running.
257be7c6470SRick Macklem	The FreeBSD NFS client can now be set to use a 1Mbyte I/O size
258be7c6470SRick Macklem	via the vfs.maxbcachebuf tunable and the Linux NFS client
259be7c6470SRick Macklem	can also do 1Mbyte I/O.
260be7c6470SRick Macklem	kern.ipc.maxsockbuf will need to be increased.  A console
261be7c6470SRick Macklem	message will suggest a setting for it.
262be7c6470SRick Macklem
263cda1f88dSWarner Loshd575e81fbcfa:
264df4e9787SWarner Losh	gconcat(8) has added support for appending devices to the device
265df4e9787SWarner Losh	not present at creation time.
266dd3fd6b8SWarner Losh
267cda1f88dSWarner Losh76681661be28:
2681f64f32aSJohn Baldwin	Remove support for asymmetric cryptographic operations from
26906cdfe2dSJohn Baldwin	the kernel open cryptographic framework (OCF).
270b49ba74dSRick Macklem
271cda1f88dSWarner Losha145cf3f73c7:
272b49ba74dSRick Macklem	The NFSv4 client now uses the highest minor version of NFSv4
273b49ba74dSRick Macklem	supported by the NFSv4 server by default instead of minor version 0,
274b49ba74dSRick Macklem	for NFSv4 mounts.
275b49ba74dSRick Macklem	The "minorversion" mount option may be used to override this default.
276