Support for immutable Linux OS (Bluefin Dakota here) with a fix.

未关闭 适合新手
#91 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
90/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
shell

调研方向

payload 指明了要更改的确切行:“Other Distributions”安装脚本中的 POLKIT 变量,目前指向 /usr/share/polkit-1/actions/net.pangolin.client.policy。先阅读该脚本,检查策略文件写入哪里以及是否会创建父目录,因为在全新系统上 /etc/polkit-1/actions 可能不存在。完成意味着脚本将策略安装到 /etc 下,且不写入只读的 /usr 分区,同时 Pangolin 客户端服务仍能启动。

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

描述

Describe the Bug

I am running Bluefin Dakota (an immutable GNOME OS-based Linux distro) but the install script for "Other Distributions" failed because of read-only system partition for polkit. Using a local policy (if I understood correctly) would make the install script work on such immutable OS.
Here is what I changed in the install script :
from
POLKIT=/usr/share/polkit-1/actions/net.pangolin.client.policy
to
POLKIT=/etc/polkit-1/actions/net.pangolin.client.policy.
Pangolin client service is working, as well as the client.

Environment
  • OS Type & Version: Bluefin Dakota (Immutable, based on GNOME OS)
  • Pangolin Version: 1.26 (should not matter)
To Reproduce

Launch the install script on an immutable OS

AI Disclosure

No AI was used.

Expected Behavior

The install script should support immutable OS that are not Fedora based.

主要语言
Go
星标
26
派生
10
平均合并
5 小时 49 分钟
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fosrl/windows-linux 的其他 Issue

查看 fosrl/windows-linux 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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