Skip to content

entropy error for users running this on Synology NAS with pre-3.17 kernels #3276

Description

@drguiom

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions