helloSystem / helloSystem/LinuxRuntime

Make the Chrome sandbox work

未关闭
#1 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
6
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

On Debian it needs `sysctl -w kernel.unprivileged_userns_clone=1` but on FreeBSD we get `/proc/sys/kernel/unprivileged_userns_clone: No such file or directory`.

Workaround:
Launch Chromium/Electron based applications with `--no-sandbox --no-zygote --test-type --v=0 "$@"`. Which is not ideal because a) it disables the sandbox b) it shows a warning message in some application GUIs, confusing users c) many existing AppImages don't come like that

cc @trasz

Reference:
https://wiki.freebsd.org/LinuxApps

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by comparing the Debian sysctl requirement with the FreeBSD failure described in the issue, and read the linked FreeBSD LinuxApps reference. Reproduce the Chromium/Electron launch behavior using the documented workaround; done means the sandbox works on FreeBSD without disabling it or producing the reported GUI warning.

由索引模型根据 Issue 内容生成。

评估

技术栈
electron, linux, shell
领域
operating-systems, security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。