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

Open Beginner friendly
#91 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
shell

Research direction

The payload names the exact line to change: the POLKIT variable in the "Other Distributions" install script, currently pointing at /usr/share/polkit-1/actions/net.pangolin.client.policy. Read that script first and check where the policy file is written and whether the parent directory is created, since /etc/polkit-1/actions may not exist on a fresh system. Done means the script installs the policy under /etc without writing to the read-only /usr partition and the Pangolin client service still starts.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Go
Stars
26
Forks
10
Avg merge
5h 49m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fosrl/windows-linux

All issues in fosrl/windows-linux

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.