]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
NEWS: Add note about logind's Can* return values 40400/head
authorAdrian Vovk <adrianvovk@gmail.com>
Tue, 24 Feb 2026 01:02:03 +0000 (20:02 -0500)
committerAdrian Vovk <adrianvovk@gmail.com>
Tue, 24 Feb 2026 01:03:08 +0000 (20:03 -0500)
We've changed them to return additional values, which may be a breaking
change for desktop environments. In practice, it doesn't seem to be a
major issue. However, let's make sure to document the changes in the
NEWS anyway!

NEWS

diff --git a/NEWS b/NEWS
index a47f0f37a1231bb83bedb7c9d72e930980976414..f0ddeb443214a44bb1288b03653bea71defdaaf6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -64,6 +64,14 @@ CHANGES WITH 260 in spe:
           directory or not, we make use of it unconditionally and have dropped
           support for the old way using protofiles.
 
+        * The org.systemd.login1.Manager D-Bus interface has a minor API break.
+          The `CanPowerOff()`, `CanReboot()`, `CanSuspend()`, etc. family of
+          methods have introduced new return values which may break downstream
+          consumers, such as desktop environments. The new return values more
+          precisely communicate the status of inhibitors. This allows desktops
+          to differentiate between system administrator policy and
+          temporary restrictions imposed by inhibitors.
+
         New system interfaces and components:
 
         * The os-release(3) gained a new field FANCY_NAME= that is similar