From: Adrian Vovk Date: Tue, 24 Feb 2026 01:02:03 +0000 (-0500) Subject: NEWS: Add note about logind's Can* return values X-Git-Tag: v260-rc1~34^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b965ce61aa4bd2bddcb8ffbf1f906cd59b79bdfa;p=thirdparty%2Fsystemd.git NEWS: Add note about logind's Can* return values 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! --- diff --git a/NEWS b/NEWS index a47f0f37a12..f0ddeb44321 100644 --- 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