Files
Kamino/changelogs/fragments/401-journal-max-use-empty.yml
T
Defame1297 985995656a
Build / build (pull_request) Successful in 48s
Lint / lint (pull_request) Successful in 2m47s
Molecule / molecule (pull_request) Successful in 6m7s
fix(system_baseline): accept every size journald reads for the journal cap
The new check on system_baseline_journal_max_use refused sizes journald
accepts (a bare byte count, 1.5G, 10 M, P and E units), which 3.1.0
wrote as given, and accepted infinity, which SystemMaxUse does not take.
The check now follows journald's parse_size(): a number with an
optional upper-case B, K, M, G, T, P or E, still with no line break.

Assisted-by: Claude Code
2026-11-27 21:24:32 +00:00

11 lines
700 B
YAML

---
minor_changes:
- >-
system_baseline - ``system_baseline_journal_max_use`` can be empty to leave journald alone: the role then writes no drop-in and does not
restart ``systemd-journald``. The default stays ``200M``.
- >-
system_baseline - ``system_baseline_journal_max_use`` is checked before any change: it must be empty or a size journald reads, a number
with an optional upper-case ``B``, ``K``, ``M``, ``G``, ``T``, ``P`` or ``E``. A value journald rejects, which the role used to write into
the drop-in as it was and journald then ignored (``infinity``, a lower-case unit, a line break), now stops the run; an empty value used to
write an empty ``SystemMaxUse=``.