Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Eli Schwartz (eschwartz) - Friday, 21 December 2018, 01:24 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Comment by loqs (loqs) - Friday, 21 December 2018, 00:41 GMT Comment by Eli Schwartz (eschwartz) - Friday, 21 December 2018, 01:24 GMT
  • Field changed: Task Type (Bug Report → Feature Request)
  • Field changed: Summary ([stratisd] unable to boot from stratis filesystem → [stratisd] additional tools for booting with stratis are not packaged)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Architecture (x86_64 → All)
  • Field changed: Severity (Critical → Low)
  • Task assigned to Jiachen Yang (farseerfc)
Wow, such amazingly critical behavior... something that was not implemented does not work due to not being implemented.

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.
Comment by Jiachen Yang (farseerfc) - Friday, 21 December 2018, 07:40 GMT
From my understanding stratisd have merged the necessary support for avoiding dbus in early userspace before 1.0 milestone https://github.com/stratis-storage/stratisd/pull/1067
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.

Loading...