Skip to content

hack: read host journal in gather-logs.sh - #286

Merged
Johan-Liebert1 merged 1 commit into
bootc-dev:mainfrom
alicefr:improve-logging
Nov 3, 2026
Merged

Johan-Liebert1 merged 1 commit into
bootc-dev:mainfrom
alicefr:improve-logging

Conversation

@alicefr

@alicefr alicefr commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

The daemon image does not ship journalctl, so the per-node journal artifact only contained "executable file journalctl not found". Enter the host mount namespace via nsenter, as getBootCount already does, so the full host journal across all boots is collected. Also save journalctl --list-boots to map boot ids to timestamps.

The daemon image does not ship journalctl, so the per-node journal
artifact only contained "executable file `journalctl` not found".
Enter the host mount namespace via nsenter, as getBootCount already
does, so the full host journal across all boots is collected. Also
save `journalctl --list-boots` to map boot ids to timestamps.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@Johan-Liebert1
Johan-Liebert1 merged commit fb632db into bootc-dev:main Nov 3, 2026
17 of 18 checks passed
@alicefr

alicefr commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport release-0.2

@mergify

mergify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

backport release-0.2

✅ Backports have been created

Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants