Bug 1960462 - dracut module is in the wrong place
Summary: dracut module is in the wrong place
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: stratisd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: mulhern
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-13 23:50 UTC by Matthias Berndt
Modified: 2021-05-17 11:52 UTC (History)
4 users (show)

Fixed In Version: stratisd-2.4.0-3.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-15 01:35:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthias Berndt 2021-05-13 23:50:38 UTC
Hi,

The stratisd package contains the stratis module for dracut, but the files are in the wrong place. It should be under /usr/lib/dracut, but instead the files are installed in the root directory.

$ rpm -ql stratisd
/dracut.conf.d/90-stratis.conf
/modules.d/90stratis-clevis/module-setup.sh
/modules.d/90stratis-clevis/stratis-clevis-rootfs-setup
/modules.d/90stratis/61-stratisd.rules
/modules.d/90stratis/module-setup.sh
/modules.d/90stratis/stratis-rootfs-setup
/modules.d/90stratis/stratisd-min.service
/usr/bin/stratis-min
/usr/bin/stratis-predict-usage
…

Comment 1 mulhern 2021-05-14 00:33:13 UTC
Thanks, we are already working on it and should have a fix in tomorrow.

Comment 2 Matthias Berndt 2021-05-14 00:35:34 UTC
After moving the files to the correct place manually, I'm now getting an error message from dracut:

dracut: dracut module 'stratis' will not be installed, because command '/usr/lib/systemd/system-generators/stratis-setup-generator' could not be found!

I've been using a root file system on a stratis volume since Fedora 33, and the initramfs integration was working fine back then. Unfortunately it broke when I upgraded to Fedora 34. For now, I've downgraded to the Stratis 2.1 packages from Fedora 33 and also stole the 90stratis module from the dracut version in Fedora 33. That works for the time being, but nevertheless these bugs make the Stratis 2.4 package in Fedora 34 completely unusable for me, which is why I set the severity to “high”

Comment 3 Matthias Berndt 2021-05-14 00:36:09 UTC
Cool, thank you for your efforts.

Comment 4 Fedora Update System 2021-05-14 03:29:53 UTC
FEDORA-2021-d4db34ada7 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d4db34ada7

Comment 5 mulhern 2021-05-14 03:40:34 UTC
We believe that the build at https://bodhi.fedoraproject.org/updates/FEDORA-2021-d4db34ada7 will resolve the current packaging problems you are experiencing. If you can test it, we would appreciate it. Also, please note our blog post about root filesystem support in Stratis 2.4.0 here: https://stratis-storage.github.io/stratis-rootfs.

Comment 6 Matthias Berndt 2021-05-14 09:51:34 UTC
Hey mulhern,

I've installed the new stratisd version, generated an initramfs with dracut and installed it with kernel-install. It worked and my system now boots flawlessly with the new initramfs.

Thank you for this update.

Comment 7 Fedora Update System 2021-05-14 19:06:09 UTC
FEDORA-2021-d4db34ada7 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d4db34ada7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d4db34ada7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-05-15 01:35:47 UTC
FEDORA-2021-d4db34ada7 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 mulhern 2021-05-17 11:52:48 UTC
(In reply to Matthias Berndt from comment #6)
> Hey mulhern,
> 
> I've installed the new stratisd version, generated an initramfs with dracut
> and installed it with kernel-install. It worked and my system now boots
> flawlessly with the new initramfs.
> 
> Thank you for this update.

Thanks for you assistance!


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