LWN.net is a comprehensive source of news and opinions from
and about the Linux community. This is the main LWN.net feed,
listing all articles which are posted to the site front page.
Posodobljeno: 2 min 7 sec nazaj
Tor, 03/07/2023 - 17:15
Many wireless sensors broadcast their data using
Bluetooth Low
Energy (BLE). Their data is easy to receive, but decoding it can be a
challenge. Each manufacturer uses its own format, often tied to its own
mobile apps. Integrating all of these sensors into a home-automation system
requires a lot of custom decoders, which are generally developed by
reverse-engineering
the protocols. The goal of the
BTHome
project is to change this: it offers a standardized format for sensors to
broadcast their measurements using BLE. BTHome is supported by the
Home
Assistant
home-automation software and by a few open-firmware and open-hardware
projects.
Tor, 03/07/2023 - 16:28
Asahi Lina has posted
an
initial version of a Rust-based driver for Apple AGX graphics
processors; the posting includes a fair amount of Rust infrastructure for
graphics drivers in general.
While developing the driver, I tried to make use of Rust's safety
and lifetime features to provide not just CPU-side safety, but also
partial firmware-ABI safety. Thanks to this, it has turned out to
be a very stable driver even though GPU firmware crashes are fatal
(no restart capability, need to reboot!) and the FW/driver
interface is a huge mess of unsafe shared memory structures with
complex pointer chains.
Tor, 03/07/2023 - 15:32
The Flathub organization (in the form of Robert McQueen) has posted
a lengthy
update on the state of Flathub and its plans for the coming year.
So far, the GNOME Foundation has acted as an incubator and legal
host for Flathub even though it’s not purely a GNOME product or
initiative. Distributing software to end users along with
processing and forwarding payments and donations also has a
different legal profile in terms of risk exposure and nonprofit
compliance than the current activities of the GNOME
Foundation. Consequently, we plan to establish an independent legal
entity to own and operate Flathub which reduces risk for the GNOME
Foundation, better reflects the independent and cross-desktop
interests of Flathub, and provides flexibility in the future should
we need to change the structure.
Tor, 03/07/2023 - 15:15
Security updates have been issued by Debian (kopanocore), Fedora (golang-github-projectdiscovery-chaos-client, rust-sequoia-octopus-librnp, rust-sequoia-sop, rust-sequoia-sq, and usd), Oracle (libjpeg-turbo and pesign), Red Hat (kernel, kernel-rt, kpatch-patch, osp-director-downloader-container, pesign, rh-mysql80-mysql, samba, and zlib), SUSE (mariadb), and Ubuntu (fribidi, gmp, linux, linux-aws, linux-kvm, linux-lts-xenial, linux-azure, linux-azure-4.15, linux-kvm, linux-raspi2, linux-snapdragon, linux-raspi, nss, python3.6, rsync, systemd, and tiff).
Pon, 03/06/2023 - 17:35
Linus Torvalds
released
6.3-rc1 and closed the 6.3 merge window as expected on March 5.
By that time, 12,717 non-merge commits (and 848 merges) had found their
way into the mainline kernel; nearly 7,000 of those commits came in after
the first-half merge-window summary was
written. The second half of the 6.3 merge window was thus a busy time,
with quite a bit of new functionality landing in the mainline.
Pon, 03/06/2023 - 16:58
Heise
interviews
Miguel Ojeda about the Rust-for-Linux project.
The first drivers (and the abstractions supporting them) that will
start to be upstreamed are likely to be the Asahi Linux's GPU
driver, Android's Binder and the NVMe driver. These are all
non-trivial and will set the example for future Rust kernel
abstractions and drivers.
Pon, 03/06/2023 - 15:15
Security updates have been issued by Debian (apache2, libde265, libreswan, spip, syslog-ng, and xfig), Fedora (edk2, libtpms, python-django3, stb, sudo, vim, and xen), Red Hat (libjpeg-turbo and pesign), SUSE (kernel, python36, samba, and trivy), and Ubuntu (linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp,
linux-gke, linux-gkeop, linux-hwe-5.4, linux-kvm, linux-oracle,
linux-oracle-5.4, linux, linux-aws, linux-dell300x, linux-gcp-4.15, linux-oracle, linux-aws-hwe, linux-oracle, and linux-bluefield).
Pon, 03/06/2023 - 04:41
The
6.3-rc1 kernel prepatch is out, and the
merge window is closed for this development cycle.
And of course, smooth or not, now that the merge window is closed,
we need to make sure it all *works*. We had a couple of exciting
merges already, and I think the fallout from that got sorted out,
but I'm sure there's more to come. Let's hope the calming-down
period of 6.3 works as well as the merge window did... Knock wood.
Pet, 03/03/2023 - 16:45
On March 7, 2003, a struggling company called The SCO Group
filed a lawsuit against IBM, claiming that the
success of Linux was the result of a theft of SCO's technology. Two
decades later, it is easy to look back on that incident as a somewhat
humorous side-story in the development of Linux. At the time, though, it
shook our community to its foundations. It is hard to overestimate how
much the community we find ourselves in now was shaped by a ridiculous
lawsuit 20 years ago.
Pet, 03/03/2023 - 16:16
Thorsten Kukuk
demonstrates
that we are not done with year-2038 problems yet.
The general statement so far has always been that on 64bit systems
with a 64bit time_t you are safe with respect to the Y2038
problem. But glibc uses for compatibility with 32bit userland
applications 32bit time_t in some places even on 64bit systems.
One of those places is the utmp file.
The post includes a proposal for solving the problem by getting rid of
utmp entirely.
Pet, 03/03/2023 - 15:18
Greg Kroah-Hartman has announced the release of the
6.2.2,
6.1.15,
5.15.97,
5.10.171,
5.4.234, and
4.19.275 stable kernels. All contain a
relatively small number of important fixes.
Update:
5.15.98 and
5.10.172
have subsequently been released with an io_uring fix.
Pet, 03/03/2023 - 15:03
Security updates have been issued by Debian (linux-5.10 and node-css-what), SUSE (gnutls, google-guest-agent, google-osconfig-agent, nodejs10, nodejs14, nodejs16, opera, pkgconf, python-cryptography, python-cryptography-vectors, rubygem-activesupport-4_2, thunderbird, and tpm2-0-tss), and Ubuntu (git, kernel, linux, linux-aws, linux-aws-5.15, linux-azure, linux-azure-5.15,
linux-azure-fde, linux-gcp, linux-gcp-5.15, linux-gke, linux-gke-5.15,
linux-hwe-5.15, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-oracle,
linux-oracle-5.15, linux, linux-aws, linux-azure, linux-gcp, linux-hwe-5.19, linux-ibm,
linux-lowlatency, linux-oracle, linux-azure-fde, linux-oem-5.14, linux-oem-5.17, linux-oem-6.0, linux-oem-6.1, php7.0, python-pip, ruby-rack, spip, and sudo).
Čet, 03/02/2023 - 16:10
While the 6.3 kernel has gained more support for the Rust language, it
still remains true that there is little that can be done in Rust beyond the
creation of a "hello world" module. That functionality was already
available in C, of course, with a level of safety similar to what Rust can
provide. Interest is growing, though, in merging actually useful modules
written in Rust; that will require some more capable infrastructure than is
currently present. A recent discussion on the handling of time values in
Rust demonstrates the challenges — and opportunities — inherent in this
effort.
Čet, 03/02/2023 - 15:45
Security updates have been issued by CentOS (git), Debian (spip), Fedora (epiphany), Mageia (binwalk, chromium-browser-stable, crmsh, emacs, libraw, libtiff, nodejs, pkgconf, tar, and vim), Oracle (kernel and systemd), SUSE (emacs, kernel, nrpe, and rubygem-activerecord-4_2), and Ubuntu (c-ares, git, postgresql-12, postgresql-14, and sox).
Čet, 03/02/2023 - 01:40
The LWN.net Weekly Edition for March 2, 2023 is available.
Sre, 03/01/2023 - 23:28
The Python-packaging discussions continued in January and February; they
show no sign of abating in March either. This time around, we look (again)
at tools for packaging, including a brand new Rust-based entrant. There is
also a proposal to have interested parties create Python Enhancement
Proposals (PEPs) for packaging solutions that would be judged by a panel of
PEP delegates in order to try to choose something that the whole community
can rally around—without precluding the existence of other options. As
always, it is all a difficult balancing act.
Sre, 03/01/2023 - 20:05
Konstantin Ryabitsev
has a
request for anybody who is using mutt for kernel work:
At some point in the recent past, mutt changed the way it generates
Message-ID header values. Instead of the perfectly good
old way of doing it, the developers switched to using
base64-encoded random bytes. The base64 dictionary contains the
/ character, which causes unnecessary difficulties when
linking to these messages on lore.kernel.org, since the /
character needs to be escaped as %2F for everything to
work properly.
The post includes a simple workaround for the problem.
Sre, 03/01/2023 - 18:36
The waiting is done;
version
4.0 of the Godot game engine has been released.
4 years of development. 12,000 merged pull requests. 7,000 fixed
issues. 1,500 individual contributors across engine and docs.
The Godot 4.0 release is by all metrics our biggest release so far.
No stone has been left unturned, all parts of the engine have been
modernized, refactored, overhauled, rewritten, redesigned.
See the
release notes for more information.
Sre, 03/01/2023 - 15:45
Security updates have been issued by Debian (multipath-tools and syslog-ng), Fedora (gnutls and guile-gnutls), Oracle (git, httpd, lua, openssl, php, python-setuptools, python3.9, sudo, tar, and vim), Red Hat (kpatch-patch), Scientific Linux (git), SUSE (compat-openssl098, glibc, openssl, postgresql13, python-Django, webkit2gtk3, and xterm), and Ubuntu (awstats, expat, firefox, gnutls28, lighttpd, php7.2, php7.4, php8.1, python-pip, and tar).
Sre, 03/01/2023 - 00:03
Linux users often work with text files; tools like grep,
awk,
and sed are standard utilities in their toolbox. However, these
tools fall
short when trying to extract or edit data from files in a binary format, analyze
corrupt
media files, or for parsing a binary data format.
FOSDEM 2023 in Brussels had a whole
binary tools
devroom dedicated to open-source programs that deal with binary data.