Hello,

I have made a dockerfile and an entrypoint script that reproduce the
issue:

> $ docker build -t reprod_2088163 --build-arg UBUNTU_RELEASE=noble .
[...]
> $ docker run -it --privileged reprod_2088163
> [setup] creating 4G btrfs image at /journal.img
> [setup] mounting /journal.img at /var/log/journal
> [setup] setting NOCOW (chattr +C) on /var/log/journal
> [setup] Starting standalone journald
> [setup] Flush to /var/log/journal
> [setup] Sending logs
> [setup] Rotating
> Vacuuming done, freed 0B of archived journals from /run/log/journal.
> Deleted archived journal 
> /run/log/journal/ea4f9cdc1b1d46b8a516e22ea3359d0f/system@4965c0a3d6184be6b70d2e071241ffcc-0000000000000001-00065b889dcc5a9a.journal
>  (4.2M).
> Vacuuming done, freed 4.2M of archived journals from 
> /run/log/journal/ea4f9cdc1b1d46b8a516e22ea3359d0f.
> Vacuuming done, freed 0B of archived journals from /var/log/journal.
> Deleted archived journal 
> /var/log/journal/ea4f9cdc1b1d46b8a516e22ea3359d0f/system@4965c0a3d6184be6b70d2e071241ffcc-0000000000000564-00065b889dcc5a9a.journal
>  (2.0M).
> Vacuuming done, freed 2.0M of archived journals from 
> /var/log/journal/ea4f9cdc1b1d46b8a516e22ea3359d0f.
> [setup] Check journald for corruption
> Journal file 
> /var/log/journal/ea4f9cdc1b1d46b8a516e22ea3359d0f/system@4965c0a3d6184be6b70d2e071241ffcc-0000000000000564-00065b889dcc5a9a.journal
>  corrupted, ignoring file.

By changing UBUNTU_RELEASE in the --build-arg flag to plucky, you can
also see that plucky is not impacted.

Hope that helps!

** Attachment added: "Dockerfile+entrypoint"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2088163/+attachment/6000438/+files/2088163.tgz

** Changed in: systemd (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2088163

Title:
  Journald file corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2088163/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to