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!
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!
FS#79023 - [stratisd] dracut module checks for stratisd-min in wrong location
Attached to Project:
Arch Linux
Opened by Arnav Yash Chandra (Scale3975) - Sunday, 09 July 2023, 10:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 11 July 2023, 06:14 GMT
Opened by Arnav Yash Chandra (Scale3975) - Sunday, 09 July 2023, 10:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 11 July 2023, 06:14 GMT
|
DetailsDescription:
In /usr/lib/dracut/modules.d/90stratis/module-setup.sh (provided by stratisd package), in check() and install() function, /usr/libexec/stratisd-min is used which does not exist in Archlinux (In Archlinux the equivalent is /usr/lib/stratisd-min from same package). This prevents dracut from including 'stratis' module in the dracut initramfs. Additional info: * package version(s) * stratisd * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: * Install linux-zen, stratisd and stratis-cli (I have this kernel installed, but the bug in question doesn't seem to be related to the type of kernel used) * Run 'sudo dracut --hostonly --no-hostonly-cmdline --quiet /boot/initramfs-linux-zen.img' (when forcing use of stratis and stratis-clevis dracut modules in dracut configuration) * Output would be - dracut: dracut module 'stratis-clevis' depends on 'stratis', which can't be installed dracut: dracut module 'stratis' cannot be found or installed. Temporary mitigation: Create directory /usr/libexec and symlink /usr/lib/stratisd-min to /usr/libexec/stratisd-min. After the mitigation, the above mentioned command successfully creates a initramfs. |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 11 July 2023, 06:14 GMT
Reason for closing: Upstream
Additional comments about closing: Ok, thanks. We will let upstream fix it.
Tuesday, 11 July 2023, 06:14 GMT
Reason for closing: Upstream
Additional comments about closing: Ok, thanks. We will let upstream fix it.
This is an "out of tree dracut module".. For reference similar issue has been resolved upstream for some other dracut modules for arch https://github.com/dracutdevs/dracut/commit/22d6863ef1b2eb2a22264f2bfdb2b9329ab5dfdb
But let's also give the Arch PM's an opportunity to fix this at the packaging level if they would prefer.
The Arch package defines $LIBEXECDIR=/usr/lib in PKGBUILD (https://gitlab.archlinux.org/archlinux/packaging/packages/stratisd/-/blob/3.5.7-1/PKGBUILD?ref_type=tags#L27 and https://gitlab.archlinux.org/archlinux/packaging/packages/stratisd/-/blob/3.5.7-1/PKGBUILD?ref_type=tags#L48) which is used by Makefile (https://github.com/stratis-storage/stratisd/blob/3ed2e0e486c784000327449efa68dfb3e49b5761/Makefile) of stratisd. So it seems that this is an upstream problem.