Skip to content

remove rngd package.#4170

Open
justincormack wants to merge 2 commits intolinuxkit:masterfrom
justincormack:no-random-init
Open

remove rngd package.#4170
justincormack wants to merge 2 commits intolinuxkit:masterfrom
justincormack:no-random-init

Conversation

@justincormack
Copy link
Member

The kernel now injects all the random seeds by default and this is no longer needed, and provides options to trust or not trust the different sources

CONFIG_RANDOM_TRUST_CPU=y and CONFIG_RANDOM_TRUST_BOOTLOADER=y are now defaults, and the kernel randomness has been reworked to remove the reasons to not do this before. Most hardware devices are now credited to the kernel entropy pool directly as well, on all sorts of devices.

…efault and this is no longer needed, and provides options to trust or not trust the different sources

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
@deitch
Copy link
Collaborator

deitch commented Sep 8, 2025

It also needs to be removed from the various build ymls, such as examples/, linuxkit.yml, and anywhere in tests/. Not sure if it would be anywhere else.

@deitch
Copy link
Collaborator

deitch commented Sep 8, 2025

A quick check shows it in projects, examples, linuxkit.yml and a few test/cases/

@justincormack
Copy link
Member Author

I think I removed it from all those. Its hard to see with the giant diff!

@deitch
Copy link
Collaborator

deitch commented Sep 8, 2025

Nope. See attached.
rngd

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
@justincormack
Copy link
Member Author

oops forgot to push those changes, added.

Copy link
Collaborator

@deitch deitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With an updated pkg/sysctl, you will need to build and push out he updated sysctl, and run scripts/update-component-sha.sh for that on any dependencies.

@deitch
Copy link
Collaborator

deitch commented Sep 12, 2025

CI failed on something

@justincormack
Copy link
Member Author

So I am no longer in the linuxkit docker hub org - can you add me back?

@djs55
Copy link
Contributor

djs55 commented Oct 2, 2025

@justincormack looking at the linuxkit hub org, it's currently at "6 of 3 seats filled". I'll ask about increasing it

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

Successfully merging this pull request may close these issues.

3 participants