]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
news: new record about strings vs enums in varlink 40972/head
authorIvan Kruglov <mail@ikruglov.com>
Fri, 10 Apr 2026 13:12:26 +0000 (06:12 -0700)
committerIvan Kruglov <mail@ikruglov.com>
Fri, 10 Apr 2026 15:37:04 +0000 (08:37 -0700)
NEWS

diff --git a/NEWS b/NEWS
index 0fb8ed9a1a9d3328074a6c2b61802444606fb0ad..2d32bd08b4a015c2f25e0aa72803060f7379a8e2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,16 @@ CHANGES WITH 261 in spe:
           has been repurposed as a standalone switch (without argument) to select
           the user service manager scope, matching --system.
 
+        * Several configuration fields in the io.systemd.Unit varlink interface
+          that were previously exposed as plain strings have been converted to
+          proper enum types. This adds type safety and IDL-level validation.
+          The output wire format now uses underscores instead of dashes and
+          plus signs in enum values (e.g. "tty-force" becomes "tty_force",
+          "kmsg+console" becomes "kmsg_console"). The previous use of plain
+          strings for these well-defined enumerations is considered a bug.
+          Affected enum types: ExecInputType, ExecOutputType, ProtectHome,
+          CGroupController, CollectMode, EmergencyAction, JobMode.
+
         * It was discovered that systemd-stub does not measure all the events
           it measures to the TPM to the hardware CC registers (e.g. Intel TDX
           RTMRs) using EFI_CC_MEASUREMENT_PROTOCOL. In particular, devicetree,