Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2025-04-03 03:15
[$] LWN.net Weekly Edition for November 7, 2024
The LWN.net Weekly Edition for November 7, 2024 is available.
[$] Building secure images with NixOS
Image-based Linux distributions have seen increasing popularity, recently. Theypromise reliability and security, but pose packaging problems forexisting distributions. Ryan Lahfa and Niklas Sturm spoke about the work thatNixOS has done to enable an image-based workflow at this year'sAll Systems Go!conference in Berlin.Unfortunately, LWN was not able to cover the conference for scheduling reasons,but thevideos of the event are available for anyone interested in watching thetalks.Lahfa and Sturm explained that it is currently possible to create aNixOS system thatcryptographically verifies the kernel, initrd, and Nix store on boot - althoughdoing so still has some rough edges. Making an image-based NixOS installation issimilarly possible.
Funding restored for man-page maintenance
Man pages maintainer Alejandro Colomar announced in September that he was suspendinghis work due to a lack of support. He has now letit be known that funding has been found for the next year at least:
Security updates for Wednesday
Security updates have been issued by AlmaLinux (libtiff), Debian (context, libheif, and thunderbird), Fedora (php-tcpdf, syncthing, and thunderbird), Gentoo (EditorConfig core C library, Flatpak, Neat VNC, and Ubiquiti UniFi), Oracle (bcc, bpftrace, grafana-pcp, haproxy, kernel, krb5, libtiff, python-gevent, python3.11-urllib3, python3.12-urllib3, and xmlrpc-c), Red Hat (python3.11-urllib3), SUSE (audacity, curl, govulncheck-vulndb, gradle, htmldoc, libgsf, python310, and qbittorrent), and Ubuntu (linux-aws-5.4, linux-oracle-5.4, mpg123, and python-werkzeug).
LXQt 2.1.0 released
Version2.1.0 of the LXQtlightweight Qt desktop environment has been released. The highlight ofthis release is support for multiple Wayland compositors:
[$] Safety in an unsafe world
Joshua Liebow-Feeser took to the stage atRustConf to describe the methodologythat his team uses to encodearbitrary constraints in the Rust type system when working on theFuchsia operating system(slides).The technique is not unknown tothe Rust community, but Liebow-Feeser did a good job of both explaining themethod and making a case for why it should be used more widely.
The BPF instruction set architecture is now RFC 9669
After a couple of years of effort, the BPF instruction set architecture hasbeen accepted as RFC9669, giving it a standard outside of the in-kernel implementation. This message from DavidVernet (who also contributed an article onthe standardization process last year) describes the process and why itis important:
Security updates for Tuesday
Security updates have been issued by AlmaLinux (firefox, openexr, and thunderbird), Fedora (llama-cpp and python-quart), Oracle (firefox, openexr, thunderbird, and xorg-x11-server and xorg-x11-server-Xwayland), SUSE (chromium, govulncheck-vulndb, openssl-1_1, python311, and python312), and Ubuntu (linux-azure, linux-bluefield, linux-azure, linux-gcp, linux-ibm, openjpeg2, and ruby3.0, ruby3.2, ruby3.3).
[$] The OpenWrt One system
OpenWrt is, despite its relatively lowprofile, one of our community's most important distributions; it runsuntold numbers of network routers and has served as the base on which a lotof network-oriented development (including the bufferbloat-reductionwork) has been done. At the beginning of 2024, a few members of theproject announceda plan to design and produce a router device specifically designed to runOpenWrt. This device, dubbed the "OpenWrt One", is now becoming available;the kind folks at the Software FreedomConservancy were kind enough to ship one to LWN, where the desire toplay with a new toy is never lacking.
Security updates for Monday
Security updates have been issued by AlmaLinux (firefox, grafana, kernel, and mod_http2), Debian (chromium, openssl, and thunderbird), Fedora (chromium, krb5, mysql8.0, polkit, python-single-version, and webkitgtk), Mageia (bind, buildah, podman, skopeo, kernel, kmod-xtables-addons. kmod-virtualbox, kernel-firmware & kernel-firmware-nonfree radeon-firmware, and kernel-linus), SUSE (apache2, chromedriver, cups-filters, docker-stable, firefox, gama, govulncheck-vulndb, java-11-openjdk, java-17-openjdk, java-23-openjdk, libnss_slurm2, openssl-1_1, openssl-3, python-waitress, python3, python310-waitress, ruby2.5, rubygem-actionmailer-5_1, rubygem-actionpack-5_1, rubygem-bundler, webkit2gtk3, and xorg-x11-server), and Ubuntu (linux-azure-6.8).
Kernel prepatch 6.12-rc6
The 6.12-rc6 kernel prepatch is out fortesting. Linus says: "Another week, another rc. Nothing odd or specialseems to be going on - this may be a bit on the bigger side for an rc6, butnot hugely so, and nothing stands out."
[$] OSI board AMA at All Things Open
Members of the Open SourceInitiative (OSI) board sat down for a 45-minute "Ask Me Anything"(AMA) session at All ThingsOpen in Raleigh, NC on October 29. Though the floor was open toany topic the audience might want to ask of the OSI board, many of thequestions were focused on the Open SourceAI Definition (OSAID), which was announced the daybefore. The new definition has been somewhat controversial,and the board spent a lot of time addressing concerns about it duringthe session, as well as questions on open washing, and a need for moreeducation about open source in general.
Four Friday stable kernel updates
Greg Kroah-Hartman has released another four stable Linux kernel updates:6.11.6,6.6.59,6.1.115, and5.15.170.
Security updates for Friday
Security updates have been issued by Debian (firefox-esr), Fedora (xorg-x11-server-Xwayland), Oracle (buildah, e2fsprogs, grafana, kernel, and mod_http2), Red Hat (buildah, container-tools:rhel8, firefox, grafana, grafana:7.3.6, podman, and thunderbird), SUSE (alloy, cargo-audit-advisory-db-20241030, chromedriver, corepack22, netty, openvpn, python310-Werkzeug, thunderbird, uwsgi, and xsd), and Ubuntu (linux, linux-azure-6.8, linux-gcp-6.8, linux-hwe-6.8 and linux, linux-gcp, linux-gcp-5.4, linux-gkeop, linux-hwe-5.4, linux-ibm, linux-ibm-5.4).
October project goals update (Rust Blog)
The Rust blog has an updateon its progress on some of its projectgoals. One of the project's flagshipgoals is to resolvethe biggest blockers to Linux building on stable Rust:
[$] The Overture open-mapping project
OpenStreetMap tends to dominatethe space for open mapping data, but it is not the only project working inthis area. At the 2024 OpenSource Summit Japan, Marc Prioleau presented the Overture Maps Foundation, which isbuilding and distributing a set of worldwide maps under open licenses.Overture may have a similar goal to OpenStreetMap, but its approach andintended uses are significantly different.
Security updates for Thursday
Security updates have been issued by Debian (firefox-esr and openssl), Fedora (firefox, libarchive, micropython, NetworkManager-libreswan, and xorg-x11-server-Xwayland), Red Hat (nano), Slackware (mozilla-firefox, mozilla-thunderbird, tigervnc, and xorg), SUSE (389-ds, Botan, go1.21-openssl, govulncheck-vulndb, java-11-openjdk, lxc, python-Werkzeug, and uwsgi), and Ubuntu (firefox, libarchive, linux-azure-fde, linux-azure-fde-5.15, python-pip, and xorg-server, xorg-server-hwe-16.04, xorg-server-hwe-18.04).
[$] LWN.net Weekly Edition for October 31, 2024
The LWN.net Weekly Edition for October 31, 2024 is available.
Ravier: What's new for Fedora Atomic Desktops in Fedora 41
Timothee Ravier has written ablog post about changes in the Fedora AtomicDesktops for FedoraLinux41. Some of the notable newfeatures for Atomic Desktops include bootloader updates enabled bydefault for UEFI systems, first steps towards using bootable containers,and more.
A new release of Raspberry Pi OS
The Raspberry Pi project has announceda new version of Raspberry Pi OS. It includes a number ofsignificant changes, the most notable of which is that the RaspberryPi Desktop now uses Wayland by default for all Pi models using thelabwc compositor:
[$] An update on Apple M1/M2 GPU drivers
The kernel graphics driver for the Apple M1 and M2 GPUs is, ratherfamously, written in Rust, but it has achieved conformance withvarious graphics standards, which is also noteworthy. At the X.Org Developers Conference(XDC)2024, Alyssa Rosenzweig gave an update on the status of thedriver, along with some news about the kinds of games it can support (YouTube video, slides).There has been lots of progress since her talk at XDC last year (YouTube video),with, of course, still more to come.
Thunderbird for Android now available
The first stable release of the Thunderbird mail client for Android is now available:
Security updates for Wednesday
Security updates have been issued by AlmaLinux (buildah), Debian (python-git, texlive-bin, and xorg-server), Mageia (chromium-browser-stable), Red Hat (kernel), SUSE (Botan, go1.22-openssl, go1.23-openssl, grafana, libgsf, pcp, pgadmin4, python310-pytest-html, python313, xorg-x11-server, and xwayland), and Ubuntu (nano, python-urllib3, and xorg-server, xwayland).
Firefox version 132.0 is now available
Mozilla hasannounced the release of a new version of Firefox. This version has the usual mix of security fixes and new features, as well as a handful of deprecations. The release removes support for HTTP/2 Push, but adds hardware acceleration for SVGs, support for wide color gamuts on more platforms, and restores support for remote debugging via USB.
Fedora 41 released
Fedora Linux 41 has beenreleased. See the "what's new" pages for FedoraWorkstation and FedoraKDE, to learn more about the latest in those editions. There isalso a new FedoraMiracle Window Manager Spin that offers the Miracle tiling window manager forWayland.
[$] A new approach to validating test suites
The first program that Martin Pool ever wrote, he said, had bugs; the ones he's writingnow most likely have bugs too. The talk Pool gave atRustConf this year was about a way to tryto write programs with fewer bugs. He has developed a tool calledcargo-mutants that highlights gaps in test coverage by identifyingfunctions that can be broken without causing any tests to fail.This can be a valuable complement to other testing techniques,he explained.
Security updates for Tuesday
Security updates have been issued by Debian (exim4) and SUSE (chromium, openssl-1_1, and openssl-3).
Flock: a Flutter fork
A project called Flock has announcedits existence. Flock is a fork of the Flutter user-interface toolkitproject, motivated by frustration with the resources that Google is puttinginto Flutter.
Coker: The CUPS vulnerability
Debian Developer Russell Coker has writtenup an analysis of the remote exploit of CUPSannounced in September:
Open Source Initiative announces Open Source AI Definition 1.0
The Open Source Initiative(OSI) has announcedthe release of version1.0 of the Open Source AI Definition:
[$] The performance of the Rust compiler
Sparrow Li presented virtually atRustConf2024 about the current state of andfuture plans for the Rust compiler's performance. The compiler is relatively slow to compilelarge programs, although it has been getting better over time. The next bigperformance improvement to come will be parallelizing the compiler's parsing,type-checking, and related operations, but even after that, the project hasseveral avenues left to explore.
[$] AutoFDO and Propeller
Rong Xu andHan Shen described the kernel-optimization techniques that Google uses in the toolchainstrack at the 2024 LinuxPlumbers Conference.They talked about automaticfeedback-directed optimization (AutoFDO), which can be used with the Propelleroptimizer to produce kernels with better performance using profileinformation gathered from real workloads. There is a fair amount ofoverlap between these tools and the BOLTpost-link optimizer, which was the subject of a talk that directly preceded this session.
Security updates for Monday
Security updates have been issued by AlmaLinux (kernel, python3.12, and python3.9), Debian (activemq, chromium, libheif, nss, and twisted), Fedora (chromium, dnsdist, dotnet8.0, edk2, glibc, libdigidocpp, mbedtls3.6, NetworkManager-libreswan, oath-toolkit, podman-tui, prometheus-podman-exporter, python-fastapi, python-openapi-core, python-platformio, python-rpyc, python-starlette, rust-pyo3, rust-pyo3-build-config, rust-pyo3-ffi, rust-pyo3-macros, rust-pyo3-macros-backend, suricata, thunderbird, and yarnpkg), Mageia (cpanminus, libgsf, mozjs78, redis, and thunderbird), Oracle (firefox, python3.12, python3.9, and python39:3.9 and python39-devel:3.9), Red Hat (edk2, grafana, httpd, httpd:2.4, and mod_jk), and SUSE (nodejs-electron, python3, python310, and python39).
Kernel prepatch 6.12-rc5
Linus has released 6.12-rc5 for testing.
[$] OSI readies controversial Open AI definition
The Open Source Initiative(OSI) has been working on defining Open Source AI-that is whatconstitutes an AI system that can be used, studied, modified, andshared for any purpose-for almost twoyears. Its board willbe voting on the Open Source AI Definition (OSAID) on Sunday,October27, with the 1.0 version slated to be published onOctober28. It is never possible to please everyone insuch an endeavor, and it would be folly to make that a goal. However,a number of prominent figures in the open-source community have voicedconcerns that OSI is setting the bar too low with the OSAID-whichwill undo decades of community work to cajole vendors into adhering toor respecting the original Open SourceDefinition (OSD).
[$] Kernel optimization with BOLT
A pair of talks in the toolchainstrack at the 2024 LinuxPlumbers Conference covered different tools that can be used tooptimize the kernel. First up was Maksim Panchenko to describe the binaryoptimization and layout tool (BOLT) that Meta uses on its productionkernels. It optimizes the kernel binary by rearranging it to improve itscode locality forbetter performance. A subsequent article will cover the second talk, whichlooked at automaticfeedback-directed optimization (AutoFDO) and other related techniquesthat are used to optimize Google's kernels.
Security updates for Friday
Security updates have been issued by Debian (distro-info-data), Fedora (libtiff), Mageia (firefox and oath-toolkit), Red Hat (krb5), and SUSE (openssl-1_1).
[$] realloc() and the oversize importance of zero-size objects
Small objects can lead to large email threads. In thiscase, the GNU C Library (glibc) community has been having an extensivedebate over the handling of zero-byte allocations. Specifically, whatshould happen when a program calls realloc()specifying a size of zero? This is, it seems, a topic about which somepeople, at least, have strong feelings.
Security updates for Thursday
Security updates have been issued by AlmaLinux (grafana, NetworkManager-libreswan, python3.11, and python39:3.9 and python39-devel:3.9), Fedora (dotnet6.0, koji, python-fastapi, python-openapi-core, python-platformio, python-starlette, rust-pyo3, rust-pyo3-build-config, rust-pyo3-ffi, rust-pyo3-macros, rust-pyo3-macros-backend, and yarnpkg), Oracle (grafana, kernel, linux-firmware, NetworkManager-libreswan, and python3.11), Slackware (php81), and SUSE (apache2, buildah, cups-filters, go1.21-openssl, podman, postgresql16, python-pyOpenSSL, and webkit2gtk3).
[$] LWN.net Weekly Edition for October 24, 2024
The LWN.net Weekly Edition for October 24, 2024 is available.
[$] Toward safe transmutation in Rust
Currently in Rust, there is no efficient and safe way to turn an array of bytesinto a structure that corresponds to the array. Changing that was the topic ofJack Wrenn's talk this year atRustConf:"Safety Goggles for Alchemists". The goal is to be able to "transmute" -Rust's name for this kind of conversion - values into arbitrary user-definedtypes in a safer way. Wrenn justified the approach that the project has taken toaccomplish this, and spoke about the future work required to stabilize it.
Tor Browser 14.0 released
Version14.0 of the privacy-focused Tor browser has been released.
KadlĨík: Copr Modularity, the End of an Era
Jakub Kadlik announcedon his blog that Fedora's Copr build system willbe dropping support for building modules(groups of RPM packages that are built, installed, and shippedtogether) soon:
[$] Free-software foundations face fundraising problems
In July, at the GNOME annual general meeting (AGM),held at GUADEC2024,the message from the GNOME Foundation board was that all was well,financially speaking. Not great, but the foundation was on abreak-even budget and expected to go into its next fiscal year with asimilar budget and headcount. On October7, however, the board announcedthat it had had to make some cuts, including reducing its staff bytwo people. This is not, however, strictly a GNOME problem: similarorganizations, such as the Python Software Foundation (PSF), KDEe.V., and the Free Software Foundation Europe (FSFE) are seeing declines infundraising while also being affected by inflation.
Security updates for Wednesday
Security updates have been issued by Debian (dmitry, libheif, and python-sql), Fedora (suricata and wireshark), SUSE (cargo-c, libeverest, protobuf, and qemu), and Ubuntu (golang-1.22, libheif, unbound, and webkit2gtk).
Several Russian developers lose kernel maintainership status
Perhaps one of the more surprising changes in the 6.12-rc4 developmentkernel was the removalof several entries from the kernel's MAINTAINERS file. The patchperforming the removal was sent (by Greg Kroah-Hartman) only to thepatches@lists.linux.dev mailing list; the change was included in a char-misc driverspull request with no particular mention.The explanation for the removal is simply "various compliancerequirements". Given that the developers involved all appear to be ofRussian origin, it is not too hard to imagine what sort of compliance isinvolved here. There has, however, been no public posting of the policythat required the removal of these entries.Update: Linus Torvalds has since publiclysupported this action and said that it will not be reverted.
[$] A report from the 2024 Image-Based Linux Summit
The Image-Based Linux Summit has by now established itself as a yearly event.Following on from last year's edition,the third edition was held in Berlin on September24, theday beforeAll Systems Go!2024 (ASG). The purpose of this event is to gatherstakeholders from various engineering groups and hold friendly but livelydiscussions around the topic of image-based Linux - that is, Linux distributionsbased around immutable images, instead of mutable root filesystems.
Introducing AlmaLinux OS Kitten (AlmaLinux Blog)
The AlmaLinux project has introduced a new edition called "Kitten",which will serve as "the direct upstream for AlmaLinux OS and isthe primary point for the AlmaLinux community to engage and influencethe future of AlmaLinux OS". Not intended for production use, thefirst release is based on CentOSStream10 source, whichwill eventually be the basis for Red Hat Enterprise Linux (RHEL)10:
Another five stable kernels
The6.11.5,6.6.58,6.1.114,5.15.169, and5.10.228stable kernels have all been released; each contains another set ofimportant fixes.
OpenSSL 3.4.0 released
Version 3.4.0 of the OpenSSL SSL/TLS library has been released. It adds anumber of new encryption algorithms, support for "directly fetchedcomposite signature algorithms such as RSA-SHA2-256", and more. See therelease notes for details.
...6789101112131415...