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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
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

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/stratisd/issues/1

Loading...