Bug 2181543 - [RHEL8] dracut should update rngd initramfs service file
Summary: [RHEL8] dracut should update rngd initramfs service file
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dracut
Version: 8.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Pavel Valena
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-24 13:26 UTC by Vladis Dronov
Modified: 2023-07-29 03:00 UTC (History)
3 users (show)

Fixed In Version: dracut-049-227.git20230725.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-157461 0 None None None 2023-05-17 08:14:03 UTC

Description Vladis Dronov 2023-03-24 13:26:46 UTC
dracut should update rngd initramfs service file with the latest rng-tools updates including a FIPS one:

/usr/lib/dracut/modules.d/06rngd/rngd.service

$ rpm -qf /usr/lib/dracut/modules.d/06rngd/rngd.service 
dracut-057-3.fc36.x86_64

please see details in: bz2154804#c8

the new file content should be:

[Unit]
Description=Hardware RNG Entropy Gatherer Daemon
DefaultDependencies=no
Before=systemd-udevd.service
ConditionVirtualization=!container
ConditionKernelCommandLine=!fips=1

[Service]
Type=simple
ExecStart=/usr/sbin/rngd -f --fill-watermark=0 -x pkcs11 -x nist -x qrypt

Comment 4 Pavel Valena 2023-07-24 10:34:23 UTC
Testd & created PR: https://github.com/redhat-plumbers/dracut-rhel8/pull/28


Note You need to log in before you can comment on or make changes to this bug.