Skip to content

rngd failing on certain occasions #34

@cornelinux

Description

@cornelinux

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
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions