mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 13:27:45 +00:00
journalctl --root=... --list-namespaces scans the target root's journal tree, but used the host machine ID when matching namespace directories. Reproducer: root="$(mktemp -d)" mid=11111111111111111111111111111111 mkdir -p "$root/etc" "$root/var/log/journal/$mid.testns" printf '%s\n' "$mid" >"$root/etc/machine-id" journalctl --root="$root" --list-namespaces --quiet Before: no output Follow-up for:68f66a1713. (cherry picked from commit3121e14658)