chore: disable restrictive systemd security options#724
Merged
zccrs merged 1 commit intolinuxdeepin:masterfrom Jan 31, 2026
Merged
chore: disable restrictive systemd security options#724zccrs merged 1 commit intolinuxdeepin:masterfrom
zccrs merged 1 commit intolinuxdeepin:masterfrom
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR relaxes several systemd hardening options in the Treeland service unit by commenting out specific directives that have been causing runtime and namespace issues on certain environments, particularly arm64 VMs and X11 setups. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Disabled several restrictive systemd security options in Treeland service to resolve stability issues: 1. Commented out MemoryDenyWriteExecute=true due to crashes observed on arm64 VMs in libgallium.so during output enabling 2. Commented out PrivateIPC=true due to mount namespace setup failures with /dev/mqueue permission errors 3. Commented out ProtectSystem=full due to X11 socket ownership issues with /tmp/.X11-unix These changes are necessary to maintain system stability while investigating the root causes of these security feature conflicts. 禁用了 Treeland 服务中的几个限制性 systemd 安全选项以解决稳定性问题: 1. 注释掉 MemoryDenyWriteExecute=true,因为在 arm64 虚拟机上观察到在输出 启用期间 libgallium.so 中发生崩溃 2. 注释掉 PrivateIPC=true,因为 /dev/mqueue 权限错误导致挂载命名空间设置 失败 3. 注释掉 ProtectSystem=full,因为 /tmp/.X11-unix 的 X11 套接字所有权 问题
zccrs
approved these changes
Jan 31, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wineee, zccrs 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.
Disabled several restrictive systemd security options in Treeland service to resolve stability issues:
These changes are necessary to maintain system stability while investigating the root causes of these security feature conflicts.
禁用了 Treeland 服务中的几个限制性 systemd 安全选项以解决稳定性问题:
Summary by Sourcery
Enhancements: