sameersbn / sameersbn/docker-gitlab
entropy error for users running this on Synology NAS with pre-3.17 kernels
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
this might be a long shot but I can no longer use the package on Synology:
git push fails during unpack-objects with Fatal glibc error: cannot get entropy for arc4random
I am on Synology DSM 7.1.1-42962 Update 9, kernel 3.10.108, which predates the getrandom() syscall (added in Linux 3.17).
It would seem that glibc now calls getrandom() unconditionally and aborts on failure rather than falling back to /dev/urandom the way older glibc did.
Is there a potential fix that would be backward compatible?
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 by reproducing git push during unpack-objects on Synology DSM 7.1.1-42962 Update 9 with kernel 3.10.108, then inspect how the Dockerized GitLab environment and glibc handle the missing getrandom() syscall. Done means git push works on pre-3.17 kernels without breaking supported environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, git, linux
- Domain
- infrastructure, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100