systemd-stable icon indicating copy to clipboard operation
systemd-stable copied to clipboard

Please backport systemd/systemd#31311 to v252 (Debian 12)

Open smcv opened this issue 1 year ago • 2 comments

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/log on btrfs
  • Have a short-lived user session (in my case root using sudo to 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

smcv avatar Apr 15 '24 09:04 smcv

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

bluca avatar Apr 25 '24 22:04 bluca

A patch on the existing Debian version would be great. It must affect every Debian system running btrfs.

Menelmacar avatar Jun 14 '24 18:06 Menelmacar