https://bugs.kde.org/show_bug.cgi?id=483066
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k...@davidedmundson.co.uk --- Comment #2 from David Edmundson <k...@davidedmundson.co.uk> --- Found it: ``` auto msg = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.systemd1"), QStringLiteral("/org/freedesktop/systemd1"), QStringLiteral("org.freedesktop.systemd1.Manager"), QStringLiteral("StopUnit")); msg << QStringLiteral("graphical-session.target") << QStringLiteral("fail"); QDBusReply<QDBusObjectPath> reply = QDBusConnection::sessionBus().call(msg); if (!reply.isValid()) { do the legacy path ``` If systemd is available, but we're not using the systemd boot, that DBus call is perfectly legit so it doesn't fail. It just does nothing. So we never enter the legacy path. We'll need to find a way to distinguish those two -- You are receiving this mail because: You are watching all bug changes.