public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Fixing problems installing IPFire on systems without randomness
@ 2020-04-29 19:33 Michael Tremer
  2020-04-29 19:33 ` [PATCH 1/2] random: Launch rngd earlier in the boot process Michael Tremer
  2020-04-29 19:33 ` [PATCH 2/2] random: Initialise the kernel's PRNG earlier Michael Tremer
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Tremer @ 2020-04-29 19:33 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

This is a small patchset trying to fix problems with setting up
IPFire on systems like PC Engines APU boards.

When running through setup, the admin password cannot be set because
htpasswd(8) now calls the get_random() syscall which locks for forever
when the kernel's CPRNG has not been initialised, yet.

These patches start rngd before that and pause the boot process
until enough randomness is available.

This is not a great solution, but a good hotfix right now.

We will have to revisit this soon and hopefully get rid of
the loopy script which has its own flaws.

I am happy to listen to any creative ideas :)

Best,
-Michael


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-29 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 19:33 Fixing problems installing IPFire on systems without randomness Michael Tremer
2020-04-29 19:33 ` [PATCH 1/2] random: Launch rngd earlier in the boot process Michael Tremer
2020-04-29 19:33 ` [PATCH 2/2] random: Initialise the kernel's PRNG earlier Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox