Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add haveged to headless images #177

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrchapp
Copy link
Contributor

@mrchapp mrchapp commented Jul 2, 2018

A couple of bugs are related to lack of entropy, which can
be very easily solved by having haveged running.

Signed-off-by: Daniel Díaz [email protected]

@rafaeldtinoco
Copy link

HAVEGE algorithm explained: http://www.irisa.fr/caps/projects/hipsor/misc.php#exectime regarding how randomness is obtained and about its unpredictability. While Rng-tools is the "preferred" method, enough entropy might be very difficult in a headless development board and haveged will definitely be a great addition to our images.

@ndechesne
Copy link
Contributor

does it make sense to include it into all our headless images (such as -developer) as well?

@fboudra fboudra requested review from fboudra, ndechesne and koenkooi July 3, 2018 05:33
@fboudra
Copy link
Member

fboudra commented Jul 3, 2018

@ndechesne I agree, it should be common to our headless images, not LKFT specific. The comment from @rafaeldtinoco has its place in the commit message, which also give insight in the rationale it has been preferred over rng-tools.

@mrchapp
Copy link
Contributor Author

mrchapp commented Jul 3, 2018

Feedback appreciated into how to properly add haveged into the headless images but not the graphical ones. Problem with adding it into rpb-console-image is that all other inherit from it; it can't be conditionally included in a packagegroup because it'd have to be on two conditions: not x11 and not wayland.

@ndechesne, where is that -developer image?

mrchapp added 2 commits July 5, 2018 09:53
A couple of bugs are related to lack of entropy, which can
be very easily solved by having haveged running.

HAVEGE algorithm explained here:
http://www.irisa.fr/caps/projects/hipsor/misc.php#exectime
regarding how randomness is obtained and about its
unpredictability. While rng-tools is the "preferred" method,
enough entropy might be very difficult in a headless
development board, where haveged would definitely be a great
addition.

Signed-off-by: Daniel Díaz <[email protected]>
This moves haveged from the LKFT packagegroup to all headless
images, as it's a useful thing to have where no desktop
environment is available.

Signed-off-by: Daniel Díaz <[email protected]>
@mrchapp mrchapp changed the title packagegroup-rpb-lkft: add haveged Add haveged to headless images Jul 5, 2018
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.

4 participants