fix: change dde-lock service type from simple to forking#213
Open
xionglinlin wants to merge 1 commit into
Open
fix: change dde-lock service type from simple to forking#213xionglinlin wants to merge 1 commit into
xionglinlin wants to merge 1 commit into
Conversation
Change the systemd service type for dde-lock from "simple" to "forking" to ensure proper startup when using the deepin-security-loader mechanism. The simple type caused startup failures, while forking allows the daemon process to properly signal readiness to systemd. Added GuessMainPID=yes to help systemd identify the main process when the daemon forks. Log: Fixed dde-lock startup issue by changing service type to forking Influence: 1. Verify dde-lock starts successfully on system boot 2. Test dde-lock functionality after system resume from sleep 3. Verify dde-lock works correctly on both X11 and Wayland sessions 4. Test lock screen activation and deactivation 5. Verify no service timeout or startup failures in systemd journal 6. Test with other lock screen related operations (switch user, etc.) fix: 将 dde-lock 服务类型从 simple 改为 forking 将 dde-lock 的 systemd 服务类型从 "simple" 改为 "forking",以确保在使用 deepin-security-loader 机制时能够正常启动。原先的 simple 类型会导致启动 失败, 而 forking 类型允许守护进程正确地向 systemd 发送就绪信号。添加了 GuessMainPID=yes 以帮助 systemd 在守护进程 fork 时识别主进程。 Log: 修复 dde-lock 启动问题,将服务类型改为 forking Influence: 1. 验证 dde-lock 在系统启动时能正常启动 2. 测试系统从休眠恢复后 dde-lock 的功能 3. 验证 dde-lock 在 X11 和 Wayland 会话下都能正常工作 4. 测试锁屏的激活和解锁操作 5. 验证 systemd 日志中没有服务超时或启动失败记录 6. 测试与其他锁屏相关操作的兼容性(切换用户等) PMS: TASK-390841 Change-Id: I8f8ad77a4b39d5d7eaa02fe1271d72d6aab4597d
There was a problem hiding this comment.
Sorry @xionglinlin, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xionglinlin The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change the systemd service type for dde-lock from "simple" to "forking" to ensure
proper startup when using the deepin-security-loader mechanism. The simple type
caused startup failures, while forking allows the daemon process to properly
signal readiness to systemd. Added GuessMainPID=yes to help systemd identify
the main process when the daemon forks.
Log: Fixed dde-lock startup issue by changing service type to forking
Influence:
fix: 将 dde-lock 服务类型从 simple 改为 forking
将 dde-lock 的 systemd 服务类型从 "simple" 改为 "forking",以确保在使用 deepin-security-loader 机制时能够正常启动。原先的 simple 类型会导致启动 失败,
而 forking 类型允许守护进程正确地向 systemd 发送就绪信号。添加了
GuessMainPID=yes 以帮助 systemd 在守护进程 fork 时识别主进程。
Log: 修复 dde-lock 启动问题,将服务类型改为 forking
Influence:
PMS: TASK-390841
Change-Id: I8f8ad77a4b39d5d7eaa02fe1271d72d6aab4597d