![]() |
|
[BUG] Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call (/thread-4527.html) |
Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - tamo_bln - 02.11.2026 Description Hybrid's automatic shutdown function does not reliably work under Linux (Mint 22.3 and Ubuntu 26.04 LTS were tested) . After an encoding job finishes, Hybrid's shutdown countdown remains stuck at 00:01 hThe issue has occurred on two different Linux systems. Steps to reproduce
Actual behavior: The countdown remains at 00:01 hExpected behavior: Hybrid should initiate a system shutdown when the countdown expires. Technical findings On October 29, 2026, at 11:27:39, the system journal recorded the following D-Bus rejection originating from Hybrid: dbus-daemon: Rejected send message
comm="/tmp/.mount_HybridnKeHFj/usr/bin/Hybrid"
interface="org.freedesktop.UPower.Shutdown"
member="Shutdown"
destination="org.freedesktop.UPower"The Hybrid executable links against libQt6DBus.so.6and contains references to: org.freedesktop.Hal.Device.SystemPowerManagement
org.freedesktop.UPower.Shutdown
org.freedesktop.DeviceKit.Power
org.freedesktop.UPower.HibernateOn the affected system, UPower 1.90.3 does not expose a ShutdownHowever, systemd-logind provides the following methods: org.freedesktop.login1.Manager.CanPowerOff
org.freedesktop.login1.Manager.PowerOff
org.freedesktop.login1.Manager.PowerOffWithFlagsA string search of the Hybrid executable did not reveal references to org.freedesktop.login1systemctl, or loginctlSuspected cause Hybrid may be attempting to use a legacy Linux power-management interface that is no longer supported by current UPower versions. The rejected D-Bus call is confirmed by the system journal. Whether this rejection directly causes the countdown to freeze at 00:01 hstill needs investigation. Suggested investigation Please check Hybrid's Linux shutdown implementation, particularly the handling of failed UPower D-Bus calls and whether systemd-logindcan be used for shutdown on current Linux systems. No changes to system permissions or Polkit configuration have been made. Regards tamo_bln RE: # Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - Selur - 02.11.2026 Ah, totally forgot about that function. Yes, it's probably an issue related to the the old shutdown calls Hybrid used. I'll look into it and plan to: a. check that if the shutdown fails Hybrid gets re-enabled b. the shutdown hopefully works Cu Selur RE: Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - tamo_bln - 02.11.2026 Hi Selur, this sounds like a plan. ![]() It's just a minor issue. Take all the time you need to have a look into it. Thank you! tamo_bln RE: Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - Selur - 02.11.2026 Probably, easy to fix, packaging and testing takes most of the time. Cu Selur RE: Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - tamo_bln - 02.11.2026 Yes, I can well believe that’s where most of the time goes. It’s often the case with many things that the actual task itself takes very little time, but all the bits and pieces around it end up being all the more time-consuming. Thank you for planning to sort this out. tamo_bln RE: Linux: Automatic shutdown fails after job completion – obsolete UPower D-Bus call - Selur - 02.11.2026 Uploaded a new dev (Hybrid-2026.11.02.2-x86_64_oldGlibc) which hopefully fixes the problem. (seems to work here) Cu Selur |