Description of problem: After installing haveged, I cannot add it to the initramfs because this package does not provide a dracut module Version-Release number of selected component (if applicable): haveged-1.9.8-2.fc32.x86_64 How reproducible: always (due to packaging) Steps to Reproduce: 1. Install haveged 2. Create a file in /etc/dracut.conf.d containing the line `add_dracutmodules+=" haveged" 3. regenerate initramfs using `dracut --force` Actual results: dracut abort and claims it did not find haveged. Expected results: Generate an initramfs with haveged (without throwing errors). Additional info: I would also be ok if haveged was included in the initramfs by default (omitting step 2). Note: Upstream has a dracut module: https://github.com/jirka-h/haveged/blob/master/contrib/SUSE/haveged-dracut.module It may need to be adapted to Fedora. Also, it should be made sure that it is being loaded before rngd to ensure that rngd sees enough entropy.
Hi Christian, I'm sorry I have missed this BZ. I will take look at it over the Christmas holidays. Jirka
FEDORA-2021-73342937f1 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-73342937f1
I have added dracut module and updated the package to the latest version: haveged-1.9.14-2.fc33 haveged-1.9.14-2.fc32 Please note that haveged service is configured in such a way that it survives the switch root within initrd - see https://github.com/jirka-h/haveged/pull/1 for details. It's not added to initramfs by default - you need to 1) Create file /etc/dracut.conf.d/haveged.conf add_dracutmodules+=" haveged " 2) Create initramfs using dracut --force Tested with these steps: 1. Installed haveged 2. Created /etc/dracut.conf.d/haveged.conf $ more /etc/dracut.conf.d/haveged.conf add_dracutmodules+=" haveged " 3. Generate initramfs using dracut --force 4. Checked initramfs lsinitrd /boot/initramfs-5.9.16-200.fc33.x86_64.img | grep haveged -rw-r--r-- 1 root root 919 Oct 23 17:30 usr/lib/systemd/system/haveged.service -rw-r--r-- 1 root root 370 Oct 23 17:30 usr/lib/systemd/system/haveged-switch-root.service lrwxrwxrwx 1 root root 30 Oct 23 17:30 usr/lib/systemd/system/initrd-switch-root.target.wants/haveged-switch-root.service -> ../haveged-switch-root.service lrwxrwxrwx 1 root root 18 Oct 23 17:30 usr/lib/systemd/system/systemd-journald.service.wants/haveged.service -> ../haveged.service -rwxr-xr-x 1 root root 33392 Oct 23 17:30 usr/sbin/haveged 5. Rebooted and verified that haveged was running at initrd step Thanks Jirka
FEDORA-2021-18b5baa33b has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-18b5baa33b
FEDORA-2021-18b5baa33b has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-18b5baa33b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-18b5baa33b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-73342937f1 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-73342937f1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-73342937f1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-73342937f1 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-18b5baa33b has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
Thank you for fixing this issue!