Skip to content

remove rngd package. - #4170

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

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

Conversation

@justincormack

Copy link
Copy Markdown
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

deitch commented Sep 8, 2025

Copy link
Copy Markdown
Collaborator

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

deitch commented Sep 8, 2025

Copy link
Copy Markdown
Collaborator

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

@justincormack

Copy link
Copy Markdown
Member Author

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

@deitch

deitch commented Sep 8, 2025

Copy link
Copy Markdown
Collaborator

Nope. See attached.
rngd

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
@justincormack

Copy link
Copy Markdown
Member Author

oops forgot to push those changes, added.

@deitch deitch left a comment

Copy link
Copy Markdown
Collaborator

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

deitch commented Sep 12, 2025

Copy link
Copy Markdown
Collaborator

CI failed on something

@justincormack

Copy link
Copy Markdown
Member Author

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

@djs55

djs55 commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

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

@justincormack

Copy link
Copy Markdown
Member Author

@djs55 any luck with that?

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