Cherry pick 50ee7529ec45 from mainline. This addresses a lack of early entropy in certain environments. Closes: #948519