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
11 lines
700 B
YAML
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=``.
|