dusk-network / dusk-network/node-installer

download_state may fail if /tmp is too small or foreign

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

Nobody has claimed this yet.

fix:bug
Dominant language
Shell
Stars
38
Forks
17
PR merge metrics
No merged PRs in 30d

Description

On machines with small tmp partitions (VPS being prime examples), download_state.sh will fail without the user being able to do anything other than modify the script to download somewhere other than the hardcoded /tmp path of mktemp.

Using the standard TMPDIR variable would allow users to change the download location if they need to, without it changing anything else to the script's behavior.

Contributor guide

Open the contributing guide

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.

Research direction

Inspect download_state.sh and locate the mktemp invocation that hardcodes /tmp. Verify that the download location can be controlled through TMPDIR without changing other script behavior, then confirm the script still handles its temporary file workflow correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.