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#73824 - [stratisd] 2.4.2-2 fails to start without the binary xfs_growfs, which is not a package dependency

Attached to Project: Community Packages
Opened by Jonathon Waterhouse (jwtrhs) - Wednesday, 16 February 2022, 23:05 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 17 February 2022, 09:48 GMT
Task Type Bug Report
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 1
Private No

Details

Description:
The stratisd service requires xfs_growfs (and probably other xfs utils) to start, which is in the xfsprogs package. However this package is not a dependency of stratisd, so does not get installed automatically along with it.

Additional info:
* stratisd 2.4.2-2
* systemd logs:
Feb 16 01:37:39 home-server systemd[1]: Starting Stratis daemon...
Feb 16 01:37:39 home-server stratisd[10701]: [2022-02-16T01:37:39Z DEBUG libstratis::stratis::run] 0: thread started
Feb 16 01:37:39 home-server stratisd[10701]: [2022-02-16T01:37:39Z INFO libstratis::stratis::run] stratis daemon version 2.4.2 started
Feb 16 01:37:39 home-server stratisd[10701]: [2022-02-16T01:37:39Z INFO libstratis::stratis::run] Using StratEngine
Feb 16 01:37:39 home-server stratisd[10701]: [2022-02-16T01:37:39Z ERROR libstratis::stratis::run] Failed to start up stratisd engine: Error: Unable to find executable "xfs_growfs" in any of "/usr/sbin", "/sbin", "/usr/bin", "/bin"; exiting
Feb 16 01:37:39 home-server stratisd[10701]: [2022-02-16T01:37:39Z DEBUG libstratis::stratis::run] 0: thread finished
Feb 16 01:37:39 home-server stratisd[10701]: Error: Unable to find executable "xfs_growfs" in any of "/usr/sbin", "/sbin", "/usr/bin", "/bin"
Feb 16 01:37:39 home-server systemd[1]: stratisd.service: Main process exited, code=exited, status=1/FAILURE
Feb 16 01:37:39 home-server systemd[1]: stratisd.service: Failed with result 'exit-code'.
Feb 16 01:37:39 home-server systemd[1]: Failed to start Stratis daemon.

Steps to reproduce:
1. Install the stratisd community package without having xfsprogs already installed.
2. Attempt to start stratisd.service
3. The service will fail to start with a log indicating the required binary xfs_growfs is not found.
This task depends upon

Loading...