EL8 uses rng-tools for entropy, not haveged#6775
Conversation
Codecov Report
@@ Coverage Diff @@
## main #6775 +/- ##
============================================
+ Coverage 10.53% 10.61% +0.07%
- Complexity 6786 6862 +76
============================================
Files 2464 2466 +2
Lines 243988 244539 +551
Branches 38185 38272 +87
============================================
+ Hits 25699 25949 +250
- Misses 215054 215308 +254
- Partials 3235 3282 +47
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
| Requires: %{name}-common = %{_ver} | ||
| Requires: iptables-services | ||
| Requires: qemu-img | ||
| Requires: haveged |
There was a problem hiding this comment.
@mlsorensen can you make similar change for consistency across all packaging distros (el7, suse and debian), see
3ee62e3
a240c3b
There was a problem hiding this comment.
is that sane for all distros?
There was a problem hiding this comment.
Yes rng-tools is available on all distros
DaanHoogland
left a comment
There was a problem hiding this comment.
looks good but @rohityadavcloud question seems valid for newer distros (debian and suse) I would not change el7 in this perspect.
| Requires: %{name}-common = %{_ver} | ||
| Requires: iptables-services | ||
| Requires: qemu-img | ||
| Requires: haveged |
There was a problem hiding this comment.
is that sane for all distros?
That's a good observation @DaanHoogland. I'm not in a position to actually test Suse or others, I only made the change on EL8 because it was something I ran into and was able to validate a fix for. We see from the |
|
@mlsorensen can you check the other spec files in el7 and suse directories under packaging, and apply the same pattern of changes? If you git grep on haveged in the debian directory you can apply the same pattern of changes there as well. For testing we can use blueorangutan to kick packaging and run smoketest on all those distros. |
Verified on Ubuntu, installing rng-tools automatically enables and starts the rng-tools (rngd) service. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
yadvr
left a comment
There was a problem hiding this comment.
LGTM, after use the same rngd across distros for management server. This needs smoketests across all supported management server distros now.
|
@blueorangutan package |
|
@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@blueorangutan help |
|
@rohityadavcloud I understand these words: "help", "hello", "thanks", "package", "test" Blessed contributors for kicking Trillian test jobs: ['rohityadavcloud', 'nvazquez', 'borisstoyanov', 'DaanHoogland', 'shwstppr', 'andrijapanicsb', 'rahulbcn27', 'davidjumani', 'harikrishna-patnala', 'vladimirpetrov', 'weizhouapache', 'NuxRo', 'mlsorensen'] |
|
Kudos, SonarCloud Quality Gate passed! |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4432 |
|
@blueorangutan test |
|
@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan test rocky8 kvm-rocky8 |
|
@rohityadavcloud a Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
|
@blueorangutan test ubuntu20 kvm-ubuntu20 |
|
@rohityadavcloud a Trillian-Jenkins test job (ubuntu20 mgmt + kvm-ubuntu20) has been kicked to run smoke tests |
|
@blueorangutan test suse15 vmware-70u3 |
|
@rohityadavcloud a Trillian-Jenkins test job (suse15 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
Trillian test result (tid-5108)
|
|
Trillian test result (tid-5111)
|
|
Trillian test result (tid-5109)
|
|
Trillian test result (tid-5113)
|
|
I see mgmt server pkg change is working, we've tested Ubuntu 20, Suse15, CentOS7 and Rocky Linux8 as mgmt server in smoketests. Merging based on this. |








Description
This PR changes the EL8 packaging to depend on
rng-toolsinstead of the deprecatedhavegedthat was inadvertently added previously. There is nohavegedprovided in EL8.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
cloudstack-management EL8 RPM previously would not install as no dependency was found in standard repos. Now it does. Also confirmed
rngdrunning after install.