FreeBSD 14.1 update features enhanced sound stack and expanded cloud-init capabilities

After six months of development formed FreeBSD 14.1 release. Installation images prepared for amd64, i386, powerpc, powerpc64, powerpc64le, powerpcspe, armv7, aarch64 and riscv64 architectures. Additionally, assemblies have been prepared for virtualization systems (QCOW2, VHD, VMDK, raw) and cloud environments Amazon EC2, Google Compute Engine and Vagrant.

Basic changes:

  • Work has been done to improve the sound stack. The ability to disconnect sound devices in asynchronous mode has been implemented, which is necessary, for example, for hot-disconnecting sound cards with a USB interface. The snd_clone framework and associated sysctl parameters have been removed, which simplifies the sound subsystem. Instead of having separate device files for each audio channel (/dev/dspX.Y), only the main device file (/dev/dspX) is now created.
  • Functions for working with strings and memory in libc optimized using SIMD instructions on systems with AMD64 architecture. 17 functions optimized using SIMD are proposed, as well as 9 functions translated to calling functions optimized using SIMD. During testing, the performance of the new functions when processing 64-character strings increased by 5.54 times.
  • Added built-in support for customization using cloud-init, tools for configuring the system at the boot stage. Among other things, it supports creating users/groups, adding ssh keys, setting network connection parameters, defining the nuageinit start script, and setting up disk partitions (config-drive). The implementation is compatible with OpenStack and many hosting providers.
  • For new UFS2 file systems created by the newfs utility, the default included logging (soft updates).
  • Provided the ability to build the kernel only with support for IPv6 (INET6), without IPv4 (INET).
  • In the adduser utility used in bsdinstall, secured creating a separate ZFS dataset (partition, snapshot or clone) for the user's home directory, if a ZFS dataset is already used for the parent directory. The ability to use ZFS encryption for home directories has also been added. To control the activation of these features, the “Zcreate” and “Zencrypt” parameters have been added to adduser.conf.
  • In libutil to the setusercontext function added support for prioritizing processes based on settings from the “.login.conf” file located in the home directory. When setting priority or umask added support for the “inherit” value, in which the priority and umask are set to the same as those of the parent process.
  • Added support for nanosecond precision to the date utility, for example, “date -Ins” will output “2024-06-04T10:20:28.763742224+05:00”, and “date +%N” will output “415050400”.
  • The dtrace utility provides the ability to generate output in formats convenient for automatic parsing and viewing, such as JSON, XML and HTML.
  • The usbconfig utility has a built-in ability to display additional information about USB devices and manufacturers, corresponding to the descriptions from the /usr/share/misc/usb_vendors file.
  • The ice driver has added support for Intel E800 Ethernet controllers with a bandwidth of 100 Gb/s.
  • In Ethernet driver msc added support for setting a MAC address based on the smsc95xx.macaddr parameter transmitted by some Raspberry Pi board models.
  • Work has been done to improve the stability of the iwlwifi driver for Intel wireless chips.
  • Added the ability to use multiple PCI MCFG areas on amd64 and i386 systems to segment the address space for PCI devices.
  • Expanded hardware support.
  • In the NFS handler mountd, the strunvis library is used to decode directory names in the exports file, which makes it possible to use special characters, such as spaces, in directory names. Added new sysctl variables kern.rpc.unenc and kern.rpc.tls to configure NFS-over-TLS.
  • In the bootloader secured reading the configuration files listed in the local_loader_conf_files variable after the configuration files defined in the /boot/loader.conf.local file. Also added the ability to extract settings from SMBIOS in relation to manufacturer and product identifiers. Improved Console detection on EFI systems. The implementation of the framebuffer in the bootloader is now can use console video drivers.
  • Implemented the ability to use the LinuxBoot loader (loader.kboot) to boot FreeBSD from Linux-based environments on aarch64 and amd64 systems.
  • In rc.conf added support for the kdc_restart parameter, enabling automatic restart kdc (Kerberos 5 server) if it crashes. Additionally, the kdc_restart_delay parameter is available, through which you can set the delay before restarting.
  • By default, in order to reduce the size of reports sent by email, information about changes when performing periodically launched jobs and scripts that check security is reduced to a minimum. To configure the output level, you can use the daily_diff_flags and security_status_diff_flags parameters in periodic.conf.
  • Updated versions of third-party components: Clang/LLVM 18.1.5, OpenZFS 2.2.4, OpenSSH 9.7p1, awk 2024-01-22 (with support for UTF-8 and “-csv” mode), libarchive 3.7.4, sendmail 8.18.1 , unbound 1.20.0.

    Thanks for reading: