dusk-network / dusk-network/node-installer
download_state may fail if /tmp is too small or foreign
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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