1Release notes for FreeBSD 15.0. 2 3This file describes new user-visible features, changes and updates relevant to 4users of binary FreeBSD releases. Each entry should describe the change in no 5more than several sentences and should reference manual pages where an 6interested user can find more information. Entries should wrap after 80 7columns. Each entry should begin with one or more commit IDs on one line, 8specified as a comma separated list and/or range, followed by a colon and a 9newline. Entries should be separated by a newline. 10 11Changes to this file should not be MFCed. 12 1344e5a0150835, 9a37f1024ceb: 14 A new utility sndctl(8) has been added to concentrate the various 15 interfaces for viewing and manipulating audio device settings (sysctls, 16 /dev/sndstat), into a single utility with a similar control-driven 17 interface to that of mixer(8). 18995b690d1398: 19 ps(1)'s '-U' option has been changed to select processes by their real 20 user IDs instead of their effective one, in accordance with POSIX and 21 the use case of wanting to list processes launched by some user, which 22 is expected to be more frequent than listing processes having the rights 23 of some user. This only affects the selection of processes whose real 24 and effective user IDs differ. After this change, ps(1)'s '-U' flag 25 behaves differently then in other BSDs but identically to that of 26 Linux's procps and illumos. 27 281aabbb25c9f9: 29 ps(1)'s default list of processes now comes from matching its effective 30 user ID instead of its real user ID with the effective user ID of all 31 processes, in accordance with POSIX. As ps(1) itself is not installed 32 setuid, this only affects processes having different real and effective 33 user IDs that launch ps(1) processes. 34 35f0600c41e754-de701f9bdbe0, bc201841d139: 36 mac_do(4) is now considered production-ready and its functionality has 37 been considerably extended at the price of breaking credentials 38 transition rules' backwards compatibility. All that could be specified 39 with old rules can also be with new rules. Migrating old rules is just 40 a matter of adding "uid=" in front of the target part, substituting 41 commas (",") with semi-colons (";") and colons (":") with greater-than 42 signs (">"). Please consult the mac_do(4) manual page for the new rules 43 grammar. 44 4502d4eeabfd73: 46 hw.snd.maxautovchans has been retired. The commit introduced a 47 hw.snd.vchans_enable sysctl, which along with 48 dev.pcm.X.{play|rec}.vchans, from now on work as tunables to only 49 enable/disable vchans, as opposed to setting their number and/or 50 (de-)allocating vchans. Since these sysctls do not trigger any 51 (de-)allocations anymore, their effect is instantaneous, whereas before 52 we could have frozen the machine (when trying to allocate new vchans) 53 when setting dev.pcm.X.{play|rec}.vchans to a very large value. 54 557e7f88001d7d: 56 The definition of pf's struct pfr_tstats and struct pfr_astats has 57 changed, breaking ABI compatibility for 32-bit powerpc (including 58 powerpcspe) and armv7. Users of these platforms should ensure kernel 59 and userspace are updated together. 60 615dc99e9bb985, 08e638c089a, 4009a98fe80: 62 The net.inet.{tcp,udp,raw}.bind_all_fibs tunables have been added. 63 They modify socket behavior such that packets not originating from the 64 same FIB as the socket are ignored. TCP and UDP sockets belonging to 65 different FIBs may also be bound to the same address. The default 66 behavior is unmodified. 67 68f87bb5967670, e51036fbf3f8: 69 Support for vinum volumes has been removed. 70 718ae6247aa966, cf0ede720391d, 205659c43d87bd, 1ccbdf561f417, 4db1b113b151: 72 The layout of NFS file handles for the tarfs, tmpfs, cd9660, and ext2fs 73 file systems has changed. An NFS server that exports any of these file 74 systems will need its clients to unmount and remount the exports. 75 761111a44301da: 77 Defer the January 19, 2038 date limit in UFS1 filesystems to 78 February 7, 2106. This affects only UFS1 format filesystems. 79 See the commit message for details. 80 8107cd69e272da: 82 Add a new -a command line option to mountd(8). 83 If this command line option is specified, when 84 a line in exports(5) has the -alldirs export option, 85 the directory must be a server file system mount point. 86 870e8a36a2ab12: 88 Add a new NFS mount option called "mountport" that may be used 89 to specify the port# for the NFS server's Mount protocol. 90 This permits a NFSv3 mount to be done without running rpcbind(8). 91 92b2f7c53430c3: 93 Kernel TLS is now enabled by default in kernels including KTLS 94 support. KTLS is included in GENERIC kernels for aarch64, 95 amd64, powerpc64, and powerpc64le. 96 97f57efe95cc25: 98 New mididump(1) utility which dumps MIDI 1.0 events in real time. 99 100ddfc6f84f242: 101 Update unicode to 16.0.0 and CLDR to 45.0.0. 102 103b22be3bbb2de: 104 Basic Cloudinit images no longer generate RSA host keys by default for 105 SSH. 106 107000000000000: 108 RSA host keys for SSH are deprecated and will no longer be generated 109 by default in FreeBSD 16. 110 1110aabcd75dbc2: 112 EC2 AMIs no longer generate RSA host keys by default for SSH. RSA 113 host key generation can be re-enabled by setting sshd_rsa_enable="YES" 114 in /etc/rc.conf if it is necessary to support very old SSH clients. 115 116a1da7dc1cdad: 117 The SO_SPLICE socket option was added. It allows TCP connections to 118 be spliced together, enabling proxy-like functionality without the 119 need to copy data in and out of user memory. 120 121fc12c191c087: 122 grep(1) no longer follows symbolic links by default for 123 recursive searches. This matches the documented behavior in 124 the manual page. 125 126e962b37bf0ff: 127 When running bhyve(8) guests with a boot ROM, i.e., bhyveload(8) is not 128 used, bhyve now assumes that the boot ROM will enable PCI BAR decoding. 129 This is incompatible with some boot ROMs, particularly outdated builds 130 of edk2-bhyve. To restore the old behavior, add 131 "pci.enable_bars='true'" to your bhyve configuration. 132 133 Note in particular that the uefi-edk2-bhyve package has been renamed 134 to edk2-bhyve. 135 13643caa2e805c2: 137 amd64 bhyve(8)'s "lpc.bootrom" and "lpc.bootvars" options are 138 deprecated. Use the top-level "bootrom" and "bootvars" options 139 instead. 140 141822ca3276345: 142 byacc was updated to 20240109. 143 14421817992b331: 145 ncurses was updated to 6.5. 146 1471687d77197c0: 148 Filesystem manual pages have been moved to section four. 149 Please check ports you are maintaining for crossreferences. 150 1518aac90f18aef: 152 new MAC/do policy and mdo(1) utility which enables a user to 153 become another user without the requirement of setuid root. 154 1557398d1ece5cf: 156 hw.snd.version is removed. 157 158a15f7c96a276,a8089ea5aee5: 159 NVMe over Fabrics controller. The nvmft(4) kernel module adds 160 a new frontend to the CAM target layer which exports ctl(4) 161 LUNs as NVMe namespaces to remote hosts. The nvmfd(8) daemon 162 is responsible for accepting incoming connection requests and 163 handing off connected queue pairs to nvmft(4). 164 165a1eda74167b5,1058c12197ab: 166 NVMe over Fabrics host. New commands added to nvmecontrol(8) 167 to establish connections to remote controllers. Once 168 connections are established they are handed off to the nvmf(4) 169 kernel module which creates nvmeX devices and exports remote 170 namespaces as nda(4) disks. 171 17225723d66369f: 173 As a side-effect of retiring the unit.* code in sound(4), the 174 hw.snd.maxunit loader(8) tunable is also retired. 175 176eeb04a736cb9: 177 date(1) now supports nanoseconds. For example: 178 `date -Ins` prints "2024-04-22T12:20:28,763742224+02:00" and 179 `date +%N` prints "415050400". 180 1816d5ce2bb6344: 182 The default value of the nfs_reserved_port_only rc.conf(5) setting has 183 changed. The FreeBSD NFS server now requires the source port of 184 requests to be in the privileged port range (i.e., <= 1023), which 185 generally requires the client to have elevated privileges on their local 186 system. The previous behavior can be restored by setting 187 nfs_reserved_port_only=NO in rc.conf. 188 189aea973501b19: 190 ktrace(2) will now record detailed information about capability mode 191 violations. The kdump(1) utility has been updated to display such 192 information. 193 194f32a6403d346: 195 One True Awk updated to 2nd Edition. See https://awk.dev for details 196 on the additions. Unicode and CSVs (Comma Separated Values) are now 197 supported. 198 199fe86d923f83f: 200 usbconfig(8) now reads the descriptions of the usb vendor and products 201 from usb.ids when available, similarly to what pciconf(8) does. 202 2034347ef60501f: 204 The powerd(8) utility is now enabled in /etc/rc.conf by default on 205 images for the arm64 Raspberry Pi's (arm64-aarch64-RPI img files). 206 This prevents the CPU clock from running slow all the time. 207 2080b49e504a32d: 209 rc.d/jail now supports the legacy variable jail_${jailname}_zfs_dataset 210 to allow unmaintained jail managers like ezjail to make use of this 211 feature (simply rename jail_${jailname}_zfs_datasets in the ezjail 212 config to jail_${jailname}_zfs_dataset. 213 214e0dfe185cbca: 215 jail(8) now support zfs.dataset to add a list of ZFS datasets to a 216 jail. 217 21861174ad88e33: 219 newsyslog(8) now supports specifying a global compression method directly 220 at the beginning of the newsyslog.conf file, which will make newsyslog(8) 221 to behave like the corresponding option was passed to the newly added 222 '-c' option. For example: 223 224 <compress> none 225 226906748d208d3: 227 newsyslog(8) now accepts a new option, '-c' which overrides all historical 228 compression flags by treating their meaning as "treat the file as compressible" 229 rather than "compress the file with that specific method." 230 231 The following choices are available: 232 * none: Do not compress, regardless of flag. 233 * legacy: Historical behavior (J=bzip2, X=xz, Y=zstd, Z=gzip). 234 * bzip2, xz, zstd, gzip: apply the specified compression method. 235 236 We plan to change the default to 'none' in FreeBSD 15.0. 237 2381a878807006c: 239 This commit added some statistics collection to the NFS-over-TLS 240 code in the NFS server so that sysadmins can moditor usage. 241 The statistics are available via the kern.rpc.tls.* sysctls. 242 2437c5146da1286: 244 Mountd has been modified to use strunvis(3) to decode directory 245 names in exports(5) file(s). This allows special characters, 246 such as blanks, to be embedded in the directory name(s). 247 "vis -M" may be used to encode such directory name(s). 248 249c5359e2af5ab: 250 bhyve(8) has a new network backend, "slirp", which makes use of the 251 libslirp package to provide a userspace network stack. This backend 252 makes it possible to access the guest network from the host without 253 requiring any extra network configuration on the host. 254 255bb830e346bd5: 256 Set the IUTF8 flag by default in tty(4). 257 258 128f63cedc14 and 9e589b093857 added proper UTF-8 backspacing handling 259 in the tty(4) driver, which is enabled by setting the new IUTF8 flag 260 through stty(1). Since the default locale is UTF-8, enable IUTF8 by 261 default. 262 263ff01d71e48d4: 264 dialog(1) has been replaced by bsddialog(1) 265 26641582f28ddf7: 267 FreeBSD 15.0 will not include support for 32-bit platforms. 268 However, 64-bit systems will still be able to run older 32-bit 269 binaries. 270 271 Support for executing 32-bit binaries on 64-bit platforms via 272 COMPAT_FREEBSD32 will remain supported for at least the 273 stable/15 and stable/16 branches. 274 275 Support for compiling individual 32-bit applications via 276 `cc -m32` will also be supported for at least the stable/15 277 branch which includes suitable headers in /usr/include and 278 libraries in /usr/lib32. 279 280 Support for 32-bit platforms in ports for 15.0 and later 281 releases is also deprecated, and these future releases may not 282 include binary packages for 32-bit platforms or support for 283 building 32-bit applications from ports. 284 285 stable/14 and earlier branches will retain existing 32-bit 286 kernel and world support. Ports will retain existing support 287 for building ports and packages for 32-bit systems on stable/14 288 and earlier branches as long as those branches are supported 289 by the ports system. However, all 32-bit platforms are Tier-2 290 or Tier-3 and support for individual ports should be expected 291 to degrade as upstreams deprecate 32-bit platforms. 292 293 With the current support schedule, stable/14 will be EOLed 5 294 years after the release of 14.0. The EOL of stable/14 would 295 mark the end of support for 32-bit platforms including source 296 releases, pre-built packages, and support for building 297 applications from ports. Given an estimated release date of 298 October 2023 for 14.0, support for 32-bit platforms would end 299 in October 2028. 300 301 The project may choose to alter this approach when 15.0 is 302 released by extending some level of 32-bit support for one or 303 more platforms in 15.0 or later. Users should use the 304 stable/14 branch to migrate off of 32-bit platforms. 305