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 13*b9b8a476SKyle Evans3cb2f5f369ec: 14*b9b8a476SKyle Evans The lua-flavored loader(8) will now interpret .lua files that appear in 15*b9b8a476SKyle Evans loader_conf_files as lua, and execute them in a sandbox. Existing 16*b9b8a476SKyle Evans loader environment variables are available as globals in the sandbox, 17*b9b8a476SKyle Evans and any global variable set, if not a table value, will be reflected in 18*b9b8a476SKyle Evans the loader environment upon successful execution of the configuration 19*b9b8a476SKyle Evans file. Environment variables with names that aren't valid lua names may 20*b9b8a476SKyle Evans be accessed as indices of _ENV; e.g., _ENV['net.fibs']. 21*b9b8a476SKyle Evans 226a8d4071SWarner Loshbdc81eeda05d: 236a8d4071SWarner Losh 246a8d4071SWarner Losh nda is now the default nvme device on all platforms. While nda creates 256a8d4071SWarner Losh nvd links by default so fstab, etc continues to work, configuration 266a8d4071SWarner Losh should be updated to the new nda devices. 276a8d4071SWarner Losh 286a8d4071SWarner Losh To restore the old behavior, add hw.nvme.use_nvd=1 to loader.conf or 296a8d4071SWarner Losh `options NVME_USE_NVD=1` to the kernel config. To disable the nvd 306a8d4071SWarner Losh compatibility aliases, add kern.cam.nda.nvd_compat=0 to loader.conf. 316a8d4071SWarner Losh 321186ef86SMike Karelsbbb2d2ce4220: 331186ef86SMike Karels Change pw (hence bsdinstall) not to move /home to /usr/home. 341186ef86SMike Karels Previously, when creating the path to home directories, pw 351186ef86SMike Karels would move any path in the root directory under /usr, creating 361186ef86SMike Karels a symlink in root. In particular, the default /home would become 371186ef86SMike Karels /usr/home. Now /home is at the top level by default. /usr/home 381186ef86SMike Karels can be used explicitly. 391186ef86SMike Karels 40af8e0a60SElliott Mitchell3416e102c4e9: 411d735524SEmmanuel Vadot Remove TI code from armv7 GENERIC kernel. 421d735524SEmmanuel Vadot This code doesn't cope with newer DTS and hasn't in a long time so 431d735524SEmmanuel Vadot support for TI armv7 platform (like BeagleBone and Pandaboard) is now 441d735524SEmmanuel Vadot removed from GENERIC. 451d735524SEmmanuel Vadot 46af8e0a60SElliott Mitchelld198b8774d2c: 47f15b2e1aSEmmanuel Vadot Add a new "fwget" utility. 48f15b2e1aSEmmanuel Vadot The goal of this utility is to inspect the system for peripherals 49f15b2e1aSEmmanuel Vadot that needs firmware and install the appropriate packages for them. 50f15b2e1aSEmmanuel Vadot For now only pci subsystem is supported and only firmwares for Intel 51f15b2e1aSEmmanuel Vadot and AMD GPUs are known. 52f15b2e1aSEmmanuel Vadot 53af8e0a60SElliott Mitchell896516e54a8c: 5489d197ccSRick Macklem Add a new "syskrb5" mount option for Kerberized NFSv4.1/4.2 mounts. 5589d197ccSRick Macklem Without this patch, a Kerberized NFSv4.1/4.2 mount must provide 5689d197ccSRick Macklem a Kerberos credential for the client at mount time. 5789d197ccSRick Macklem This patch uses a feature of NFSv4.1/4.2 called SP4_NONE, which 5889d197ccSRick Macklem allows the state maintenance operations to be performed by any 5989d197ccSRick Macklem authentication mechanism, so that these operations may be done via 6089d197ccSRick Macklem AUTH_SYS instead of RPCSEC_GSS (KerberosV). As such, no Kerberos 6189d197ccSRick Macklem credential is required at mount time. 6289d197ccSRick Macklem See mount_nfs(8). 6389d197ccSRick Macklem 64af8e0a60SElliott Mitchell330aa8acdec7,ff2f1f691cdb: 6589d197ccSRick Macklem Adds support for the SP4_MACH_CRED case for the 6689d197ccSRick Macklem NFSv4.1/4.2 ExchangeID operation since the Linux 6789d197ccSRick Macklem NFSv4.1/4.2 client is now using this for Kerberized mounts. 6889d197ccSRick Macklem This change should only affect Kerberized NFSv4.1/4.2 mounts. 6989d197ccSRick Macklem The Linux Kerberized NFSv4.1/4.2 mounts currently work without 7089d197ccSRick Macklem support for this because Linux will fall back to SP4_NONE, 7189d197ccSRick Macklem but there is no guarantee this fallback will work forever. 7289d197ccSRick Macklem 7384eac070SRick Macklem7344856e3a6d and many others: 7484eac070SRick Macklem Add support so that nfsd(8), nfsuserd(8), mountd(8), gssd(8) 7584eac070SRick Macklem and rpc.tlsservd(8) can be run in an appropriately configured 7684eac070SRick Macklem vnet prison. The vnet prison must be on its own file system, 7784eac070SRick Macklem have the "allow.nfsd" jail parameter set on it and enforce_statfs 7884eac070SRick Macklem cannot be set to "0". Use of UDP and pNFS server configurations 7984eac070SRick Macklem are not permitted. (ie. The nfsd command line options "-u", "-p" 8084eac070SRick Macklem and "-m" are not supported.) 8184eac070SRick Macklem See jail(8), nfsd(8) and mountd(8). 8284eac070SRick Macklem 8317c82135SGregory Neil Shapiro2fb4f839f3fc,d89513ed2050,3413ee88c39d,f97a19ecb985,021562c5020d,431d2a81d421: 8417c82135SGregory Neil Shapiro sendmail has been updated to the latest upstream version (8.17.1). 8517c82135SGregory Neil Shapiro 868d0ed566SMike Karels4a30d7bb373c,d670a8f7c596,af01b4722577,4e240e55d818: 878d0ed566SMike Karels The growfs(7) script can now add a swap partition at the end of 888d0ed566SMike Karels the expansion area, and does so by default if there is no existing 898d0ed566SMike Karels swap. See growfs(7). 908d0ed566SMike Karels 91f1628146SEd Maste86edb11e7491: 92f1628146SEd Maste llvm-objump is now always installed as objdump. 93f1628146SEd Maste 94882fc6daSBaptiste Daroussin616f32ea6da7: 95882fc6daSBaptiste Daroussin mta_start_script along with othermta rc.d script has been retired. 96882fc6daSBaptiste Daroussin 974d184bd4SBaptiste Daroussina67b925ff3e5: 984d184bd4SBaptiste Daroussin The default mail transport agent is now dma(8) replacing sendmail. 994d184bd4SBaptiste Daroussin 1003c62f0f6SKristof Provost22893e584032: 1013c62f0f6SKristof Provost L3 filtering on if_bridge will do surprising things which aren't 1023c62f0f6SKristof Provost fail-safe, so net.link.bridge.pfil_member and 1033c62f0f6SKristof Provost net.link.bridge.pfil_bridge now default to zero. 1043c62f0f6SKristof Provost 1052e5699fbSMark Johnstonf0bc4ed144fc: 1062e5699fbSMark Johnston A new DTrace provider, kinst, is introduced and documented in 1072e5699fbSMark Johnston dtrace_kinst(4). The provider allows kernel instructions to be traced, 1082e5699fbSMark Johnston similar to the FBT (function boundary tracing) provider except that all 1092e5699fbSMark Johnston instructions may be probed instead of logical entry and return 1102e5699fbSMark Johnston instructions. The provider is currently amd64-only. 1112e5699fbSMark Johnston 1129bbed3f6SBrooks Davis0eea46fb1f83: 1139bbed3f6SBrooks Davis Removed telnetd. 1149bbed3f6SBrooks Davis 115e7d9290fSRick Macklem981ef32230b2,33721eb991d8: 116e7d9290fSRick Macklem These commits make the use of NFSv4.1/4.2 mounts with the "intr" 117e7d9290fSRick Macklem mount option fairly usable, although not 100% correct, so long as 118e7d9290fSRick Macklem the "nolockd" mount option is used as well. See the mount_nfs(8) 119e7d9290fSRick Macklem manual page for more information. 120e7d9290fSRick Macklem 12185c11f80SRick Macklemb875d4f5ddcb,0685c73cfe88: 12285c11f80SRick Macklem The NFSv4.1/4.2 client and server will now generate console messages 12385c11f80SRick Macklem if sessions are broken, suggesting that users check to ensure 12485c11f80SRick Macklem that the /etc/hostid strings are unique for all NFSv4.1/4.2 clients. 12585c11f80SRick Macklem 126c39eecd8SMark Johnston240afd8c1fcc: 127c39eecd8SMark Johnston makefs(8) has ZFS support; it can create a ZFS pool, backed by a 128c39eecd8SMark Johnston single disk vdev, containing one or more datasets populated from 129c39eecd8SMark Johnston the staging directory. 130c39eecd8SMark Johnston 1314cb0d41cSMark Johnston78ee8d1c4cda,f4f56ff43dbd: 1324cb0d41cSMark Johnston The in-tree qat(4) driver has been replaced with Intel's QAT driver. 1334cb0d41cSMark Johnston The new version provides additional interfaces to the chipset's 1344cb0d41cSMark Johnston cryptographic and compression offload functionality. 1354cb0d41cSMark Johnston 1364cb0d41cSMark Johnston This will have no visible change for most users; however, the new 1374cb0d41cSMark Johnston driver does not support Atom C2000 chipsets. To preserve support for 1384cb0d41cSMark Johnston those chipsets, the old driver has been renamed to qat_c2xxx and kept 1394cb0d41cSMark Johnston in the tree. Users of qat(4) on C2000 hardware will thus need to 1404cb0d41cSMark Johnston ensure that qat_c2xxx(4) is loaded instead of qat(4). 1414cb0d41cSMark Johnston 142c71a534eSMateusz Piotrowskida5b7e90e740,5a8fceb3bd9f,7b0a665d72c0,13ec1e3155c7,318d0db5fe8a,1ae2c59bcf21: 143c71a534eSMateusz Piotrowski Boottrace is a new kernel-userspace interface for capturing trace 144c71a534eSMateusz Piotrowski events during system boot and shutdown. Event annotations are 145c71a534eSMateusz Piotrowski present in: 146c71a534eSMateusz Piotrowski 147c71a534eSMateusz Piotrowski - The boot and shutdown paths in the kernel 148c71a534eSMateusz Piotrowski - Some key system utilities (init(8), shutdown(8), reboot(8)) 149c71a534eSMateusz Piotrowski - rc(8) scripts (via boottrace(8)) 150c71a534eSMateusz Piotrowski 151c71a534eSMateusz Piotrowski In contrast to other existing boot-time tracing facilities like TSLOG, 152c71a534eSMateusz Piotrowski Boottrace focuses on the ease of use and is aimed primarily at system 153c71a534eSMateusz Piotrowski administrators. 154c71a534eSMateusz Piotrowski 155c71a534eSMateusz Piotrowski It is available in the default GENERIC kernel and can be enabled by 156c71a534eSMateusz Piotrowski toggling a single sysctl(8) variable. 157c71a534eSMateusz Piotrowski 158c71a534eSMateusz Piotrowski See boottrace(4) for more details. 159c71a534eSMateusz Piotrowski 160253ecb38SJohn Baldwin05a1d0f5d7ac: 161253ecb38SJohn Baldwin Kernel TLS offload now supports receive-side offload of TLS 1.3. 162253ecb38SJohn Baldwin 16376fe9df7SKristof Provost19dc64451179: 16476fe9df7SKristof Provost if_stf now supports 6rd (RFC5969). 16576fe9df7SKristof Provost 166e383c423SCy Schubertc1d255d3ffdb, 3968b47cd974, bd452dcbede6: 167e383c423SCy Schubert Add WiFi 6 support to wpa. 168e383c423SCy Schubert 16922b1cbecSCy Schubertba48d52ca6c8,4ac3d08a9693,2533eca1c2b9: 17022b1cbecSCy Schubert The default bell tone is now 800Hz. It may be set with kbdcontrol 17122b1cbecSCy Schubert again. There's devd integration for people wishing to use their sound 17222b1cbecSCy Schubert cards for the beep. 173aa80581cSWarner Losh 174b788a226SGleb Smirnoff92b3e07229ba: 175b788a226SGleb Smirnoff net.inet.tcp.nolocaltimewait enabled by default. It prevents 176b788a226SGleb Smirnoff creation of timewait entries for TCP connections that were 177b788a226SGleb Smirnoff terminated locally. 178b788a226SGleb Smirnoff 179cfd8fda1SElliott Mitchelld410b585b6f0: 1801fca3dcaSBaptiste Daroussin sh(1) is now the default shell for the root user. 1811fca3dcaSBaptiste Daroussin 182cfd8fda1SElliott Mitchell396851c20aeb: 1835aeb2600SBaptiste Daroussin libncursesw has been split into libtinfow and libncursesw, linker 1845aeb2600SBaptiste Daroussin scripts should make it transparent for consumers. pkg-config files 1855aeb2600SBaptiste Daroussin are also now installed to ease ports detecting the ncurses setup from 1865aeb2600SBaptiste Daroussin base. 1875aeb2600SBaptiste Daroussin 188cfd8fda1SElliott Mitchella422084abbda: 18905eba8e0SMark Johnston LLVM's MemorySanitizer can now be used in amd64 kernels. See the 19005eba8e0SMark Johnston kmsan(9) manual page for more information. 19105eba8e0SMark Johnston 19205eba8e0SMark Johnston38da497a4dfc: 19305eba8e0SMark Johnston LLVM's AddressSanitizer can now be used in amd64 kernels. See the 19405eba8e0SMark Johnston kasan(9) manual page for more information. 19505eba8e0SMark Johnston 196818edf67SWarner Loshf39dd6a97844,23f24377b1a9,628bd30ab5a4: 19759b83c47SWarner Losh One True Awk has been updated to the latest from upstream 198818edf67SWarner Losh (20210727). All the FreeBSD patches, but one, have now been 19959b83c47SWarner Losh either up streamed or discarded. Notable changes include: 20059b83c47SWarner Losh o Locale is no longer used for ranges 20159b83c47SWarner Losh o Various bugs fixed 20259b83c47SWarner Losh o Better compatibility with gawk and mawk 20359b83c47SWarner Losh 20459b83c47SWarner Losh The one FreeBSD change, likely to be removed in FreeBSD 14, is that 20559b83c47SWarner Losh we still allow hex numbers, prefixed with 0x, to be parsed and 20659b83c47SWarner Losh interpreted as hex numbers while all other awks (including one 20759b83c47SWarner Losh true awk now) interpret them as 0 in line with awk's historic 20859b83c47SWarner Losh behavior. 20959b83c47SWarner Losh 210818edf67SWarner Losh A second change, less likely to be noticed, is the historic wart 211818edf67SWarner Losh if -Ft meaning to use hard tab characters as the field separator 212818edf67SWarner Losh is deprecated and will likely be removed in FreeBSD 14. 213818edf67SWarner Losh 214cda1f88dSWarner Loshee29e6f31111: 215be7c6470SRick Macklem Commit ee29e6f31111 added a new sysctl called vfs.nfsd.srvmaxio 216be7c6470SRick Macklem that can be used to increase the maximum I/O size for the NFS 217be7c6470SRick Macklem server to any power of 2 up to 1Mbyte while the nfsd(8) is not running. 218be7c6470SRick Macklem The FreeBSD NFS client can now be set to use a 1Mbyte I/O size 219be7c6470SRick Macklem via the vfs.maxbcachebuf tunable and the Linux NFS client 220be7c6470SRick Macklem can also do 1Mbyte I/O. 221be7c6470SRick Macklem kern.ipc.maxsockbuf will need to be increased. A console 222be7c6470SRick Macklem message will suggest a setting for it. 223be7c6470SRick Macklem 224cda1f88dSWarner Loshd575e81fbcfa: 225df4e9787SWarner Losh gconcat(8) has added support for appending devices to the device 226df4e9787SWarner Losh not present at creation time. 227dd3fd6b8SWarner Losh 228cda1f88dSWarner Losh76681661be28: 2291f64f32aSJohn Baldwin Remove support for asymmetric cryptographic operations from 23006cdfe2dSJohn Baldwin the kernel open cryptographic framework (OCF). 231b49ba74dSRick Macklem 232cda1f88dSWarner Losha145cf3f73c7: 233b49ba74dSRick Macklem The NFSv4 client now uses the highest minor version of NFSv4 234b49ba74dSRick Macklem supported by the NFSv4 server by default instead of minor version 0, 235b49ba74dSRick Macklem for NFSv4 mounts. 236b49ba74dSRick Macklem The "minorversion" mount option may be used to override this default. 237