Skip to content

'journalctl --merge' does not interleave entries from different machines #34169

Description

@AndersBlomdell

systemd version the issue has been seen with

255

Used distribution

Fedora Linux 40

Linux kernel version used

6.10.5-200.fc40.x86_64

CPU architectures issue was seen on

x86_64

Component

journalctl

Expected behaviour you didn't see

journalctl --merge returning entries sorted by date

Unexpected behaviour you saw

journalctl --merge returning entries sorted by machine (or more likely by boot-id)

The commit that broke the previous behaviour seems to be (pointed out by a git bisect)

commit 262299dccbb09f36c8c830dabd6a104469d9852b
Author: Lennart Poettering <[email protected]>
Date:   Wed Feb 8 11:10:49 2023 +0100

    journal: use boot-id/timestamp info for odering entries
    

Steps to reproduce the problem

journalctl --merge on a machine with journals from multiple remote sources

Additional program output to the terminal or log subsystem illustrating the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Programming errors, that need preferential fixingjournalregression ⚠️A bug in something that used to work correctly and broke through some recent commit

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions