tmpfiles: reject unused argument fields

Line types which do not use the argument field used to warn and ignore
a non-empty field. Treat that as invalid configuration instead, so typos
are not silently accepted.

Follow-up for: 614cc34f3a
This commit is contained in:
dongshengyuan
2026-07-29 15:29:54 +08:00
parent d47b07d05f
commit e347f63b0f
6 changed files with 24 additions and 7 deletions
+6
View File
@@ -73,6 +73,12 @@ CHANGES WITH 262:
* bootctl, systemd-oomd, systemd-repart, systemd-sysusers, and
systemd-tmpfiles now accept -n as a short option for --dry-run.
Changes in systemd-tmpfiles:
* systemd-tmpfiles now rejects non-empty argument fields for tmpfiles.d
line types that do not use the argument field. Previously, such
fields were silently ignored after a warning.
Changes in the TPM Subsystem:
* The way that NvPCRs are anchored has been improved. They are now