From 513597c37da806d4ce7129520d4b5bbe875d1865 Mon Sep 17 00:00:00 2001 From: caixiangrong Date: Mon, 10 Aug 2026 11:50:01 +0800 Subject: [PATCH] fix: update Accounts D-Bus interface names to org.deepin.dde.Accounts1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Replace com.deepin.daemon.Accounts with org.deepin.dde.Accounts1 in accountInterface() for both service name and interface names 2. Ensures D-Bus calls match the renamed account service on V25, preventing lookup failures during rollback/boot procedures PMS: BUG-373169 Log: update Accounts D-Bus interface names to org.deepin.dde.Accounts1 Influence: 1. 升级系统后执行回退流程,验证能否正常进入桌面 2. 控制中心-系统-启动菜单-启动设置中选择回退并重启,验证系统正常启动 fix: 更新 Accounts D-Bus 接口名为 org.deepin.dde.Accounts1 1. 将 accountInterface() 中的 com.deepin.daemon.Accounts 替换为 org.deepin.dde.Accounts1,同步更新服务名和接口名 2. 确保 D-Bus 调用与 V25 上重命名后的账户服务一致, 避免回退/启动过程中查找失败 PMS: BUG-373169 Log: 更新 Accounts D-Bus 接口名为 org.deepin.dde.Accounts1 Influence: 1. 升级系统后执行回退流程,验证能否正常进入桌面 2. 控制中心-系统-启动菜单-启动设置中选择回退并重启,验证系统正常启动 --- network-service-plugin/src/system/networkinitialization.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network-service-plugin/src/system/networkinitialization.cpp b/network-service-plugin/src/system/networkinitialization.cpp index 7e802730c..06de55913 100755 --- a/network-service-plugin/src/system/networkinitialization.cpp +++ b/network-service-plugin/src/system/networkinitialization.cpp @@ -303,11 +303,11 @@ QVariant NetworkInitialization::accountInterface(const QString &path, const QStr { QString interfaceName; if (isUser) { - interfaceName = "com.deepin.daemon.Accounts.User"; + interfaceName = "org.deepin.dde.Accounts1.User"; } else { - interfaceName = "com.deepin.daemon.Accounts"; + interfaceName = "org.deepin.dde.Accounts1"; } - QDBusInterface dbus("com.deepin.daemon.Accounts", path, interfaceName, QDBusConnection::systemBus()); + QDBusInterface dbus("org.deepin.dde.Accounts1", path, interfaceName, QDBusConnection::systemBus()); return dbus.property(key.toLocal8Bit().constData()); }