systemd-stable
systemd-stable copied to clipboard
Please backport systemd/systemd#31311 to v252 (Debian 12)
systemd version the issue has been seen with
252.22-1~deb12u1
Used distribution
Debian 12
Linux kernel version used
6.1.0-20-amd64 (6.1.85-1)
CPU architectures issue was seen on
x86_64
Component
No response
Expected behaviour you didn't see
User journals rotated on btrfs without validation errors
Unexpected behaviour you saw
See https://github.com/systemd/systemd/issues/24150, https://github.com/systemd/systemd/issues/31222
Steps to reproduce the problem
- Have
/var/logon btrfs - Have a short-lived user session (in my case
rootusingsudoto drop privileges to a backup user for a nightly backup job) - Wait for log rotation
- The user's log gets corrupted as described on the mainline bug reports (in my case it is the backup user's journal, and root's journal remains valid)
Additional program output to the terminal or log subsystem illustrating the issue
No response
There are too many conflicts and it's too much work to backport that series to v253 and v252, so unless someone invests time to do that and thoroughly test it, it's unlikely to happen
A patch on the existing Debian version would be great. It must affect every Debian system running btrfs.