From 6bb6605ca8c17339e0e6bea0f4b58b01a6393bb3 Mon Sep 17 00:00:00 2001 From: fuleyi Date: Thu, 18 Sep 2025 11:02:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=96=B0=E8=A3=85?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E5=88=9B=E5=BB=BA=E7=94=A8=E6=88=B7=E5=90=8E?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=BC=80=E6=9C=BA=E9=9F=B3=E6=95=88=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 创建用户时,lightdm已经启动了,这时候还没有用户,开机音效服务获取不到用户信息,导致运行报错。改成脚本执行,忽略报错。 Log: 开机音效服务中的二进制改成脚本执行,忽略运行报错 PMS: BUG-332437 Influence: login-sound.service --- misc/scripts/deepin-boot-sound.sh | 2 +- misc/systemd/system/deepin-login-sound.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/scripts/deepin-boot-sound.sh b/misc/scripts/deepin-boot-sound.sh index 302ebb4..d98bf65 100755 --- a/misc/scripts/deepin-boot-sound.sh +++ b/misc/scripts/deepin-boot-sound.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/bin/dbus-send --system --print-reply --dest=com.deepin.api.SoundThemePlayer /com/deepin/api/SoundThemePlayer com.deepin.api.SoundThemePlayer.PlaySoundDesktopLogin& +/usr/bin/dbus-send --system --print-reply --dest=org.deepin.dde.SoundThemePlayer1 /org/deepin/dde/SoundThemePlayer1 org.deepin.dde.SoundThemePlayer1.PlaySoundDesktopLogin& diff --git a/misc/systemd/system/deepin-login-sound.service b/misc/systemd/system/deepin-login-sound.service index cfbf775..060351b 100644 --- a/misc/systemd/system/deepin-login-sound.service +++ b/misc/systemd/system/deepin-login-sound.service @@ -8,7 +8,7 @@ Type=oneshot User=deepin-daemon SupplementaryGroups=audio Environment=HOME=/var/lib/deepin-sound-player -ExecStart=/usr/bin/dbus-send --system --print-reply --dest=org.deepin.dde.SoundThemePlayer1 /org/deepin/dde/SoundThemePlayer1 org.deepin.dde.SoundThemePlayer1.PlaySoundDesktopLogin +ExecStart=/usr/lib/deepin-api/deepin-boot-sound.sh RemainAfterExit=yes DevicePolicy=closed