FS#61145 - [stratisd] additional tools for booting with stratis are not packaged
Attached to Project:
Community Packages
Opened by James R (Supplantr) - Thursday, 20 December 2018, 21:20 GMT
Last edited by Toolybird (Toolybird) - Friday, 19 May 2023, 22:44 GMT
Opened by James R (Supplantr) - Thursday, 20 December 2018, 21:20 GMT
Last edited by Toolybird (Toolybird) - Friday, 19 May 2023, 22:44 GMT
|
Details
Description:
In order to boot from stratis filesystems, it is required to build a stratisd binary without dbus support for use in the initramfs[1]. See https://github.com/stratis-storage/stratisd/issues/886 about stratis support for Arch Linux. Evidently, the AUR package that preceded this [community] package built this binary and included a mkinitcpio hook to use it. Additional info: * affects version 1.0.1-1 [1]: https://github.com/stratis-storage/stratisd/issues/635#issuecomment-381456950 Steps to reproduce: Create a stratis filesystem and attempt to boot. |
This task depends upon
Edit:
https://aur.archlinux.org/cgit/aur.git/tree/?h=stratisd&id=82300e325d0f4471ae860cd72088266d27eedc3d contains the mkinitcpio hook.
Our not building this twice (???) in order to provide, essentially, an *additional* set of software for using stratisd in additional use cases, is hardly a bug. It is a thing we have not implemented. Maybe due to lack of interest, maybe due to an oversight, I don't know, we'll see what the maintainer thinks. If the maintainer decides against it, there is nothing preventing such additional tools from being packaged separately in the AUR, though.
Aside: a filesystem that depends on dbus, ouch.
Although to be fair I haven't test this configuration (using stratis as root and adding it into early userspace) so I cannot say for sure we have it supported currently. I may need more test in a VM for this configuration.
And indeed we don't ship initcpio install script currently. I will consider adding it back in 1.0.2 release, or later.
Eli Schewartz: Thanks for explaining the situation! Technically stratis is not a filesystem, but still, yes it may depend on "modern" linux features to mount.
[1] https://stratis-storage.github.io/stratis-rootfs/