Comment 7 for bug 1945774

Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

This is easy to reproduce in a jammy lxd container.

$ lxc launch ubuntu:jammy j
$ lxc shell j
# sed -i 's#"$OUTFILE.key" 2>/dev/null#"$OUTFILE.key"#g' /usr/sbin/mellon_create_metadata
# # mellon_create_metadata https://sp.10.5.100.3/mellon https://sp.10.5.100.3/v3/OS-FEDERATION/identity_providers/idp.10.5.100.2/protocols/saml2/auth/mellon
< cut text here >
Cannot write random bytes:
4097CC2E67760000:error:1200007A:random number generator:RAND_write_file:Not a regular file:../crypto/rand/randfile.c:190:Filename=/dev/urandom