Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on VMs with no /dev/hwrandom #8

Open
chriscroome opened this issue Jan 29, 2019 · 3 comments
Open

Fails on VMs with no /dev/hwrandom #8

chriscroome opened this issue Jan 29, 2019 · 3 comments
Labels

Comments

@chriscroome
Copy link

I tried using this Ansible role on a Debian Stretch virtual server running on Xen and it failed at aptly : start rngd for entropy creation due to the lack of /dev/hwrandom:

"stderr": "can't open /dev/hwrandom: No such file or directory"

Perhaps the existence of /dev/hwrandom could be checked and if it doesn't exist then /dev/random could be used?

@aioue aioue added the bug label Jan 29, 2019
chriscroome added a commit to webarch-coop/ansible-role-aptly that referenced this issue Jan 29, 2019
@chriscroome
Copy link
Author

This workaround appears to work.

@aioue
Copy link
Owner

aioue commented Jan 29, 2019

Thank you. I'd accept that as a PR if you wish.

@chriscroome
Copy link
Author

Thanks, I'll see if I can get something working that isn't too much of a mess...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants