install.sh fails on Amazon Linux without /etc/os-release
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 13
- Forks
- 55
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 8
Description
The current install.sh tries to source /etc/os-release, which doesn't exist on older Amazon Linux releases. We should gate that logic and just assume when they don't have it that they're EL 6 like. If you want to repro try Amazon Linux 2013
[root@ip-172-31-39-93 ec2-user]# ./install.sh
./install.sh: line 453: /etc/os-release: No such file or directory
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
Start in install.sh around line 453 and reproduce the failure on Amazon Linux 2013 if possible. Verify that systems without /etc/os-release no longer abort and that the EL 6-like fallback is used without changing behavior on systems that provide the file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100