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

rngd failing on certain occasions #34

Open
cornelinux opened this issue Jul 30, 2020 · 1 comment
Open

rngd failing on certain occasions #34

cornelinux opened this issue Jul 30, 2020 · 1 comment
Assignees

Comments

@cornelinux
Copy link
Member

In certain install scenarios the rngd fails. (No need to discuss if such install variants are sensible or not).

We could modify the postinst (also nginx!?) script like

create_gpg() {
	mkdir -p /etc/privacyidea/gpg
	rngd -r /dev/urandom || logger "Could not start the rng daemon."
	/opt/privacyidea/bin/pi-manage create_pgp_keys || true
	chown -R $USERNAME /etc/privacyidea/gpg
	killall -9 rngd || true
}
@cornelinux
Copy link
Member Author

Please check if we can use std ubuntu install log mechanisms.

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

No branches or pull requests

2 participants