docs: update the grub commands for distros with systemd >= v256 #27
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.
对于一些较新的发行版而言(systemd 版本在 v256 及以后),仅仅设置
systemd.unified_cgroup_hierarchy=0会导致 systemd 拒绝运行,从而机器无法启动(参考链接1、参考链接2)。这对于参考 simple-sandbox 旧版说明的用户而言可能是致命的。因此,我认为应该修改文档,新增必要的内核启动参数。
当然,更长远来看,最好是项目本身能适配 cgroup v2(画大饼,别听)