Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-22 17:30
Kernel prepatch 6.4-rc7
The 6.4-rc7 kernel prepatch is out fortesting. "Nothing particular stands out in the rc this week,unless you count the mptcp selftest changes that are about making the testswork on stable kernels too."
Registration for LPC 2023 is open
The registration for this year's Linux Plumbers Conference (LPC) is now open. It will be held November 13-15 in Richmond, Virginia in the US. The attend page has all of the details. Meanwhile, some of the calls for proposals are still open, though the microconferences CFP is closed; this year's proposed microconference topics are listed here. Those who want to attend should note:"As usual we expect to sell [out] rather quickly so don't delay your registration for too long!"
[$] Merging bcachefs
The bcachefs filesystem, and theprocess for getting it upstream, were the topicsof a session led remotely by Kent Overstreet, creator of bcachefs, at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. He has also discussed bcachefs inprevious editions of the summit, firstin2018 and at last year's event;in both of those cases, the question of getting bcachefs mergedinto the mainline kernel came up, but that merge has not happened yet.This time around, though, Overstreet seemed closer than ever to being ready to actually start that process.
[$] Reports from OSPM 2023, part 2
The fifth conference on PowerManagement and Scheduling in the Linux Kernel (abbreviated "OSPM") washeld on April17 to19 in Ancona, Italy. LWN was not there,unfortunately, but the attendees of the event have gotten together to writeup summaries of the discussions that took place and LWN has the privilegeof being able to publish them. Reports from the second day of the eventappear below.
Security updates for Friday
Security updates have been issued by Debian (chromium, openjdk-17, and wireshark), Fedora (iniparser, mariadb, mingw-glib2, perl-HTML-StripScripts, php, python3.7, and syncthing), Oracle (.NET 6.0, c-ares, kernel, nodejs, and python3.9), Slackware (libX11), SUSE (amazon-ssm-agent and chromium), and Ubuntu (gsasl, libx11, and sssd).
The faster-cpython plan for 3.13
The developers working on improving the speed of the CPython interpreterhave posteda plan describing their objectives for the Python 3.13 release. Thebiggest piece appears to be the tier-2optimizer, which will optimize larger chunks of Python code:"https://github.com/faster-cpython/ideas/issues/557".
[$] Scope-based resource management for the kernel
The C language does not provide the sort of resource-management featuresfound in more recent languages. As a result, bugs involvingleaked memory or failure to release a lock are relatively common inprograms written in C — including the kernel. The kernel project has neverlimited itself to the language features found in the C standard, though;kernel developers will happilyuse extensions provided by compilers if they prove helpful. It looks likea relatively simple compiler-provided feature may lead to a significantchange in some common kernel coding patterns.
[$] XFS online filesystem check and repair
Darrick Wong has been doing work on XFS onlinerepair for a number of years and things are getting to the point where most of the filesystem-internal workhas been completed and is under review. The work remaining mostly concernsthe user-space side to set up a periodic scan and repair cycle, so he wanted to discuss whatuser space needs from this kind of feature in a filesystem session at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit that he led remotely. The session maynot have gone quite as he hoped, as it got somewhat derailed by topics thatspilled over from the earlier session onunprivileged image mounts.
Security updates for Thursday
Security updates have been issued by Debian (webkit2gtk), Fedora (python-django-filter and qt), Mageia (cups, firefox/nss, httpie, thunderbird, and webkit2), Red Hat (.NET 6.0, .NET 7.0, c-ares, firefox, jenkins and jenkins-2-plugins, nodejs, nodejs:18, python3, python3.11, python3.9, and thunderbird), Scientific Linux (firefox and thunderbird), SUSE (frr, opensc, python3, and rekor), and Ubuntu (c-ares, glib2.0, libcap2, linux-intel-iotg-5.15, pano13, and requests).
[$] LWN.net Weekly Edition for June 15, 2023
The LWN.net Weekly Edition for June 15, 2023 is available.
Haas: The PostgreSQL Documentation and the Limitations of Community
Robert Haas looksat the advantages and disadvantages of how documentation for PostgreSQLis written.
[$] Retrieving mount and filesystem information in user space
In something of a follow-on from the mount-operation monitoring session theprevious day, Christian Brauner led another discussion about providing userspace with a mechanism to get current mount information on day two of the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. The session also continued on fromone at last year's summit—and likely others before that.There are two separate proposals for ways to retrieve this kind ofinformation, one from Miklos Szeredi and another from David Howells, bothof whom were present this year; Brauner's intent was to try to reach somekind of agreement on the way forward in the session.
[$] Hardening magic links
There are some "magic links" in kernel pseudo-filesystems, like procfs,that can be—have been—(ab)used to cause security problems, such as acontainer-confinement breach in 2019.Aleksa Sarai has long been working on ways to blunt the impact of thesemagic links. He led a filesystem session at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit to discuss the status of those efforts.
Another set of stable kernels
The6.3.8,6.1.34,5.15.117,5.10.184,5.4.247,4.19.286, and4.14.318stable kernel updates have all been released; each contains another set ofimportant fixes.
Security updates for Wednesday
Security updates have been issued by Debian (ffmpeg, owslib, php7.4, and php8.2), Fedora (ntp-refclock, php, and python3.7), Red Hat (c-ares, firefox, and thunderbird), SUSE (kernel, openldap2, and tomcat), and Ubuntu (binutils, dotnet6, dotnet7, node-fetch, and python-tornado).
[$] Mounting images inside a user namespace
There has long been a desire to enable users to mount filesystem images withoutrequiring privileges, but the securityimplications of allowing it are seriously concerning. Few, if any, kernelfilesystems are hardened against maliciously crafted images, after all.Lennart Poettering led a filesystem session at the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit where he presented a possible pathforward.
[$] Reports from OSPM 2023, part 1
The fifth conference on PowerManagement and Scheduling in the Linux Kernel (abbreviated "OSPM") washeld on April 17 to 19 in Ancona, Italy. LWN was not there,unfortunately, but the attendees of the event have gotten together to writeup summaries of the discussions that took place and LWN has the privilegeof being able to publish them. Reports from the first day of the eventappear below.
McKenney: Parallel Programming: June 2023 Update
Paul McKenney has announced a newversion of his book IsParallel Programming Hard, And, If So, What Can You Do About It?.
Videos from the 2022 Tracing Summit
Videosfrom the 2022 Tracing Summit are now available on YouTube. Theyinclude talks about Visual eBPF, Perfetto, the state of Linux tracers,libpatch, hardware trace, and more.
Security updates for Tuesday
Security updates have been issued by Debian (vim), Fedora (kernel), Oracle (emacs, firefox, python3, and qemu), SUSE (firefox, java-1_8_0-ibm, and libwebp), and Ubuntu (firefox, glusterfs, and sniproxy).
Fedora election results
The Fedora project has posted the results of its elections for members oftheFedoraEngineering Steering Committee (Stephen Gallagher, Neal Gompa, MajorHayden, and Tom Stellard),FedoraCouncil (Sumantro Mukherjee), and MindshareCommittee (David Duncan).
[$] Deadline servers as a realtime throttling replacement
The CPU scheduler's one job at any given time is to run the task that hasthe strongest claim to the CPU. There are many factors that complicatethat job, not the least of which is that the "strongest claim" is sometimesa bit of a fuzzy concept. Realtime throttling, a mechanism designed tokeep a runaway realtime task from monopolizing the CPU, is one case wheredevelopers have concluded that the task with, ostensibly, the highestpriority should not actually be the one that runs. But realtime throttlinghas rarely pleased anybody; the deadline-serverinfrastructure patches posted by Daniel Bristot de Oliveira are thelatest attempt to find a better solution.
Security updates for Monday
Security updates have been issued by Debian (pypdf2 and thunderbird), Fedora (chromium, dbus, mariadb, matrix-synapse, sympa, and thunderbird), Scientific Linux (python and python3), SUSE (chromium, gdb, and openldap2), and Ubuntu (jupyter-core, requests, sssd, and vim).
Kernel prepatch 6.4-rc6
The 6.4-rc6 kernel prepatch is out fortesting.
Debian 12 "bookworm" released
"After 1 year, 9 months, and 28 days of development", Debian 12, codenamed "bookworm", has been released. The announcement has lots of details about package versions for desktop environments (6 are supported), kernel version (Linux 6.1 series), other package versions (compilers, graphics tools, office suites, languages, and more), architectures supported (8 for real hardware and 5 for cloud services), blends, and lots more.
[$] Two VFS topics
Two different topics concerning the virtual filesystem (VFS) layer were thesubject of a session led by VFS co-maintainer Christian Brauner at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. As might be guessed, it was afilesystem-track session; Brauner had three separate items he planned onbringing up, but the discussion on the first two consumed the wholehalf-hour—and then some. A mechanism to avoid media-change races whenmounting loop (or loopback) and other devices was disposed of fairlyquickly, but the discussion around the mount-beneath feature went on at length.
[$] Addressing priority inversion with proxy execution
Priority inversion comes about when a low-priority task holds a resourcethat is needed by a higher-priority task, with the result that the wrongtask is the only one that can run. This problem is arguably most acute inrealtime settings, but it can happen in just about any system that hasmultiple tasks running. The variety ofscheduling classes provided by the Linux kernel make handling priorityinversion a difficult problem; the latest version of the proxyexecution patch series points toward a possible solution.
Seven stable kernels
Greg Kroah-Hartman has released the 6.3.7,6.1.33, 5.15.116, 5.10.183, 5.4.246, 4.19.285, and 4.14.317 stable kernels. As usual, theycontain many important fixes throughout the tree; users of those seriesshould upgrade.
Security updates for Friday
Security updates have been issued by Debian (jupyter-core, openssl, and ruby2.5), Fedora (firefox), Mageia (libreoffice, openssl, and python-flask), Red Hat (python and python3), Slackware (mozilla, php8, and python3), SUSE (java-1_8_0-ibm, libcares2, mariadb, and python36), and Ubuntu (linux, linux-aws, linux-kvm, linux-lts-xenial, linux-gke, linux-intel-iotg, linux-raspi, linux-xilinx-zynqmp, and mozjs102).
[$] Yet another memory allocator for executable code
The kernel is an increasingly dynamic body of code, where new executabletext can show up at any time. Currently, the task of allocating memory fornew kernel code falls on the subsystem that first brought the ability toload code into a running kernel: the module loader. This patchset from Mike Rapoport looks to move the responsibility for theseallocations to a new "JIT allocator", addressing a number of rough edges inthe process.
Security updates for Thursday
Security updates have been issued by Debian (chromium, firefox-esr, and ruby2.5), Fedora (curl, dbus, pypy, pypy3.8, pypy3.9, python3.10, and python3.8), Red Hat (python and python-flask), Scientific Linux (emacs), SUSE (firefox, google-cloud-sap-agent, libwebp, opensc, openssl, openssl-3, openssl1, python-sqlparse, python310, and supportutils), and Ubuntu (libxml2, netatalk, and sysstat).
[$] LWN.net Weekly Edition for June 8, 2023
The LWN.net Weekly Edition for June 8, 2023 is available.
[$] An introduction to EROFS
Gao Xiang gave an overview of the Extended Read-Only FileSystem (EROFS) in a filesystem session at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. EROFS was addedto Linux 5.4 in 2019 and has been increasingly used inplaces beyond its roots as a filesystem for Android and embedded devices.Container images based on EROFS are being used in many places these days, for example.
[$] A decision on composefs
At the end of our February article aboutthe debate around the composefs read-only,integrity-protected filesystem, it was predicted that the topic would come up at the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit. That happened on the second day ofthe summit whenAlexander Larsson led a session on composefs. While the mailing-listdiscussion was somewhat contentious, the session was less so, since overlayfs canbe made to fit the needs of the composefs use cases. It turnsout that an entirely newfilesystem is not really needed.
openSUSE Leap 15.5 released
Version15.5 of the openSUSE Leap distribution has been released. This is notintended as a feature release, but brings updated versions of manypackages. The project has also announcedthat there will be one more 15.x release before that series ends and usershave to migrate to whatever its successor will be.
Security updates for Wednesday
Security updates have been issued by Debian (c-ares), Fedora (curl and firefox), Oracle (cups-filters, kernel, and webkit2gtk3), Red Hat (emacs and kpatch-patch), Slackware (mozilla), SUSE (kernel and openssl-1_0_0), and Ubuntu (firefox and libreoffice).
[$] Ethics in a machine-learning world
Margaret Mitchell, a researcher focused on the intersection of machinelearning and ethics, was the morning keynote speaker on the third day of PyCon 2023. She spoke about herjourney into machine learning and how the Python language has beeninstrumental in it. It was a timely and thought-provoking talk that lookedbeyond the machine-learning hype to consider the bigger picture.
Security updates for Tuesday
Security updates have been issued by Debian (linux-5.10), Red Hat (cups-filters, curl, kernel, kernel-rt, kpatch-patch, and webkit2gtk3), SUSE (apache-commons-fileupload, openstack-heat, openstack-swift, python-Werkzeug, and openstack-heat, python-Werkzeug), and Ubuntu (frr, go, libraw, libssh, nghttp2, python2.7, python3.10, python3.11, python3.5, python3.6, python3.8, and xfce4-settings).
[$] Supporting large block sizes
At the2023 Linux Storage, Filesystem,Memory-Management and BPF Summit, Luis Chamberlain led a plenarysession on kernel support for block sizes larger than 4KB. There areassumptions in the current kernel that the block size used by a block-layerdevice is less than or equal to the system's page size—both are usually 4KBtoday. But there have been efforts over the years to remove thatrestriction; that work may be heading toward fruition, in part because ofthe folio efforts of late, though there arestill lots of areas that need attention.
Five new stable kernels
The 6.3.6, 6.1.32, 5.15.115, 5.10.182, and 5.4.245 stable kernels have been released.They contain a relatively small number of important fixes throughout thekernel tree.
[$] Special file descriptors in BPF
Developers learning the Unix (or POSIX in general) system-call set willquickly encounter file descriptors, which are used to represent open filesand more. Developers also tend to learn early on that the first three filedescriptors are special, with file descriptor zero being the standard inputstream, one being standard output, and two being standard error. Thekernel, though, does not normally attach any specific meaning to a givendescriptor number, so it was somewhat surprising when a recent BPF patchseries attempted to attach a special meaning to zero when used as a filedescriptor.
Security updates for Monday
Security updates have been issued by Debian (chromium, cpio, mariadb-10.3, nbconvert, sofia-sip, and wireshark), Fedora (ImageMagick, mingw-python-requests, openssl, python3.6, texlive-base, and webkitgtk), Red Hat (apr-util, git, gnutls, kernel, kernel-rt, and kpatch-patch), Slackware (cups and ntp), and Ubuntu (linux-azure-fde, linux-azure-fde-5.15 and perl).
Kernel prepatch 6.4-rc5
Linus has released 6.4-rc5 for testing.
Red Hat dropping support for LibreOffice
Red Hat's Matthias Clasen has letit be known that LibreOffice will be dropped from a future Red HatEnterprise Linux release, and the future of its support in Fedora isunclear as well.
[$] Memory-management documentation and development process
As the 2023 Linux Storage, Filesystem,Memory-Management and BPF Summit neared its conclusion, two sessionswere held in the memory-management track on process-oriented topics. MikeRapoport ran a session on memory-management documentation (or the lackthereof), while Andrew Morton talked about the state of the subsystem'sdevelopment process in general. Both sessions were relatively brief and didnot foreshadow substantial changes to come.
Security updates for Friday
Security updates have been issued by Debian (cups and netatalk), SUSE (cups, ImageMagick, installation-images, libvirt, openvswitch, and qemu), and Ubuntu (avahi, cups, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle, linux-snapdragon, linux, linux-aws, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke, linux-gkeop, linux-hwe-5.4, linux-ibm, linux-ibm-5.4, linux-kvm, linux-oracle, linux-oracle-5.4, linux-aws-5.4, linux-bluefield, linux-intel-iotg, and linux-intel-iotg-5.15).
Rust 1.70.0 released
Version1.70.0 of the Rust language is out. Changes include enabling the"sparse" protocol for Cargo, a couple of new types for the initializationof shared data, and more. "You should see substantially improvedperformance when fetching information from the crates.io index."
[$] Seeking the endgame for Debian's /usr merge
Like most other distributions, the Debian project decided to end theseparation between the root and /usr filesystems years ago.Unlike most others, though, Debian is still working on the implementationof this decision. The upcoming Debian 12 ("bookworm") release willfeature a merged /usr in most respects, but there are a couple ofnagging issues that threaten to stretch this transition out for some timeyet.
NixOS 23.05 released
A new version of NixOS, which is a Linuxdistribution based on the Nix packagemanager, has been released: NixOS 23.05is now available. The releasenotes list numerous updates, including Nix 2.13, Linux 6.1,glibc 2.37, Cinnamon 5.6, GNOME 44, and KDE Plasma 5.27.
Security updates for Thursday
Security updates have been issued by Debian (libwebp, openssl, sssd, and texlive-bin), Fedora (bitcoin-core, editorconfig, edk2, mod_auth_openidc, pypy, pypy3.9, python3.10, and python3.8), Red Hat (kernel, openssl, pcs, pki-core:10.6, and qatzip), SUSE (chromium, ImageMagick, openssl-1_1, and tiff), and Ubuntu (cups, libvirt, and linux, linux-aws, linux-aws-5.15, linux-azure, linux-azure-5.15, linux-gcp, linux-gcp-5.15, linux-gke, linux-gke-5.15, linux-gkeop, linux-hwe-5.15, linux-hwe-5.19, linux-ibm, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-oracle, linux-oracle-5.15, linux-raspi).
...28293031323334353637...