Skip to content

add rng-tools for more entropy in /dev/random? #659

Description

@ltalirz

libsodium requires some "randomness" at startup - if not enough entropy is available from /dev/random it hangs.

In containers there can be little sources for entropy. As described in the docs of libsodium, one workaround is to install the rng-tools (here some docs on what those do).

Would that be considered as an addition to the herokuish Dockerfiles?
If yes, happy to make a PR if you let me know where this should go.

P.S. libsodium is used e.g. in libzmq => pyzmq => jupyter, i.e. this affects anyone wanting to run jupyter notebooks via voila apps which would randomly hang in herokuish containers.

Related issues
jedisct1/libsodium#933
zeromq/libzmq#3183
zeromq/pyzmq#1224 (comment)
jupyter/help#480 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions